[Experimental] Generates a vector consisting of the elements of kana. Options exist for the inclusion of several elements.

kana(type, ...)

hiragana(
  core = TRUE,
  dakuon = FALSE,
  handakuon = FALSE,
  kogaki = FALSE,
  historical = FALSE
)

katakana(
  core = TRUE,
  dakuon = FALSE,
  handakuon = FALSE,
  kogaki = FALSE,
  historical = FALSE
)

Arguments

type

"hiragana" ("hira") or "katakana" ("kata")

...

Arguments passed on to hiragana

core

is include core kana characters.

dakuon

e.g. ga, gi, gu, ge, go

handakuon

e.g. pa, pi, pu, pe, po

kogaki

small character

historical

old style

Examples

kana(type = "hira", core = TRUE)
#>  [1] "あ" "い" "う" "え" "お" "か" "き" "く" "け" "こ" "さ" "し" "す" "せ" "そ"
#> [16] "た" "ち" "つ" "て" "と" "な" "に" "ぬ" "ね" "の" "は" "ひ" "ふ" "へ" "ほ"
#> [31] "ま" "み" "む" "め" "も" "や" "ゆ" "よ" "ら" "り" "る" "れ" "ろ" "わ" "を"
#> [46] "ん"
kana(type = "hira", core = TRUE, handakuon = TRUE)
#>  [1] "あ" "い" "う" "え" "お" "か" "き" "く" "け" "こ" "さ" "し" "す" "せ" "そ"
#> [16] "た" "ち" "つ" "て" "と" "な" "に" "ぬ" "ね" "の" "は" "ぱ" "ひ" "ぴ" "ふ"
#> [31] "ぷ" "へ" "ぺ" "ほ" "ぽ" "ま" "み" "む" "め" "も" "や" "ゆ" "よ" "ら" "り"
#> [46] "る" "れ" "ろ" "わ" "を" "ん"