SOに関するこの質問への回答では、約125の1文字から2文字の名前のセットが返されました。https : //stackoverflow.com/questions/6979630/what-1-2-letter-object-names-conflict-with-existing -r-objects
[1] "Ad" "am" "ar" "as" "bc" "bd" "bp" "br" "BR" "bs" "by" "c" "C"
[14] "cc" "cd" "ch" "ci" "CJ" "ck" "Cl" "cm" "cn" "cq" "cs" "Cs" "cv"
[27] "d" "D" "dc" "dd" "de" "df" "dg" "dn" "do" "ds" "dt" "e" "E"
[40] "el" "ES" "F" "FF" "fn" "gc" "gl" "go" "H" "Hi" "hm" "I" "ic"
[53] "id" "ID" "if" "IJ" "Im" "In" "ip" "is" "J" "lh" "ll" "lm" "lo"
[66] "Lo" "ls" "lu" "m" "MH" "mn" "ms" "N" "nc" "nd" "nn" "ns" "on"
[79] "Op" "P" "pa" "pf" "pi" "Pi" "pm" "pp" "ps" "pt" "q" "qf" "qq"
[92] "qr" "qt" "r" "Re" "rf" "rk" "rl" "rm" "rt" "s" "sc" "sd" "SJ"
[105] "sn" "sp" "ss" "t" "T" "te" "tr" "ts" "tt" "tz" "ug" "UG" "UN"
[118] "V" "VA" "Vd" "vi" "Vo" "w" "W" "y"
そしてRインポートコード:
nms <- c("Ad","am","ar","as","bc","bd","bp","br","BR","bs","by","c","C","cc","cd","ch","ci","CJ","ck","Cl","cm","cn","cq","cs","Cs","cv","d","D","dc","dd","de","df","dg","dn","do","ds","dt","e","E","el","ES","F","FF","fn","gc","gl","go","H","Hi","hm","I","ic","id","ID","if","IJ","Im","In","ip","is","J","lh","ll","lm","lo","Lo","ls","lu","m","MH","mn","ms","N","nc","nd","nn","ns","on","Op","P","pa","pf","pi","Pi","pm","pp","ps","pt","q","qf","qq","qr","qt","r","Re","rf","rk","rl","rm","rt","s","sc","sd","SJ","sn","sp","ss","t","T","te","tr","ts","tt","tz","ug","UG","UN","V","VA","Vd","vi","Vo","w","W","y")
問題のポイントは避けるべきオブジェクト名の覚えやすいリストを作成することであり、ほとんどの人間はテキストの固いブロックを理解するのがあまり得意ではないので、これを視覚化したいと思います。
残念ながら、私はこれを行うための最良の方法を正確に確信していません。私は、各リーフが左揃えされるのではなく、適切な列に配置された繰り返し値がないために、茎葉プロットのようなものを考えていました。または、文字がその有病率に応じてサイズ調整されるワードクラウドスタイルの適応。
これを最も明確かつ効率的に視覚化するにはどうすればよいですか?
次のいずれかを行うビジュアライゼーションは、この質問の精神に適合します。
主な目的:データのパターンを明らかにすることにより、名前のセットの記憶可能性を高める
代替目標:名前のセットの興味深い特徴を強調します(たとえば、分布、最も一般的な文字などを視覚化するのに役立ちます)
Rでの回答が推奨されますが、興味深いアイデアはすべて歓迎されます。
1文字の名前は、個別のリストとして指定する方が簡単なので、無視できます。