[R] Help: predict.qda

2005-08-30 Thread Shengzhe Wu
Hello, I use the function qda (package MASS) to obtain a qda object like below. x.qda = qda(x, group) the group is a factor of two levels and use this object to do the prediction below. y.pred = predict(x.qda, y) after that, I set different prediction priors like below, but the results of pre

[R] Help: predict.qda

2005-08-29 Thread Shengzhe Wu
Hello, I use the function qda (package MASS) to obtain a qda object like below. x.qda = qda(x, group) the group is a factor of two levels and use this object to do the prediction below. y.pred = predict(x.qda, y) after that, I set different prediction priors like below, but the results of pre