2005-05-18から1日間の記事一覧

RでSAS風の表集計

R

CrossTable{gmodels}を使う。行や列で見たときのパーセンテージが出せる。 パッと人に見せる時には良いと思う。 > CrossTable(infert$education, infert$induced, digits=1, expected=F, prop.r=T, prop.c=F, prop.t=F, prop.chisq=F, format="SPSS") Cell C…