group_summary | R Documentation |
범주별 관측객체수, 평균벡터, 분산-공분산행렬 등 통계치를 계산한다. group_summary
returns a list of statistics for each group.
group_summary(.data, .group_var, .xvar)
.data |
관측 데이터 프레임. A raw data frame. |
.group_var |
범주변수. A variable to group by. |
.xvar |
관심 변수. One or more variables separated by commas within |
이 함수는 데이터 프레임 .data
내의 범주변수 .group_var
의 범주별로 .xvar
에 주어진
변수들에 대한 통계치를 계산하여 리스트로 제공한다.
리스트 형태로, 각 리스트의 원소는 각 범주에 대한 리스트를 지닌다.
data(binaryclass2, package = "dmtr") group_summary(binaryclass2, class, c(x1, x2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.