group_variance | R Documentation |
각 범주에 속하는 객체들에 대한 표분 분산-공분산행렬을 구한다. group_variance
returns a list of
covariance matrices each of which represents covariance matrix within each
group.
group_variance(.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
에 주어진
변수들에 대한 관측 데이터의 표본 분산-공분산 행렬을 범주별 분산-공분산행렬로 추정한다. This function aggregated
.data
into .group_var
level to have a column .group_var
as group variable and columns .xvar
that represent group mean value of
.xvar
in the original data .data
.
리스트 형태로, 각 리스트의 원소는 각 범주의 표본 분산-공분산 행렬을 나타낸다. A list of covariance matrix
data(binaryclass2, package = "dmtr") group_variance(binaryclass2, class, c(x1, x2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.