View source: R/discriminant-functions.R
qd_fun | R Documentation |
범주별 판별함수를 범주별 평균벡터와 범주별 분산-공분산행렬을 이용하여 정의한다.
qd_fun(.data, .group_var, .xvar, .prior = NULL)
.data |
관측 데이터 프레임. |
.group_var |
범주변수. |
.xvar |
범주 분류에 사용될 변수. |
.prior |
범주 사전 확률. NULL일 때는 데이터 프레임 |
범주별 판별 함수.
data(binaryclass2, package = "dmtr") f <- qd_fun(binaryclass2, class, c(x1, x2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.