2018-04-19から1日間の記事一覧
Rでも最頻値は求めることが出来る modelr::typical()を使う。 For numeric vectors, it returns the median. For factors, characters, and logical vectors, it returns the most frequent value. とあるように、数値と文字列・因子・論理型で挙動が異なる…
Rでも最頻値は求めることが出来る modelr::typical()を使う。 For numeric vectors, it returns the median. For factors, characters, and logical vectors, it returns the most frequent value. とあるように、数値と文字列・因子・論理型で挙動が異なる…