我有一個describe.by {psych}應用於數據框的結果。結果是一個列表。 List of 1000
$ 1 :Classes ‘psych’, ‘describe’ and 'data.frame': 20 obs. of 13 variables:
..$ var : int [1:20] 1 2 3 4 5 6 7 8 9 10 ...
..$ n : nu
生成五個號碼摘要我想知道如何從describeBy()函數調用由summary()提供的五個號碼統計。在調用library(psych)之後,當前函數報告最小值,最大值和中位數,但不報告第25和第75個四分位數的統計數據。 attach(mtcars)
describeBy(mpg, gear)
var n mean sd median trimmed mad min max range s