You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a one issue about predicted values in candisc.
data(iris) iris.mod = lm(cbind(Sepal.Length,Sepal.Width,Petal.Length,Petal.Width)~Species,data=iris) iris.can = candisc(iris.mod, data=iris) pred = predict(iris.can)
Error in UseMethod("predict") :
no applicable method for 'predict' applied to an object of class "candisc"
I try same thing with MASS lda iris.lda = lda(iris[,1:4],iris$Species,data=iris) pred = predict(iris.lda) iris.table = table(iris$Species,pred$class) iris.table
Hi Michael,
We're currently on the road on our way to Florida, arriving Friday night. Let me know if you need me to do something about this.
Best,
John
Activity
friendly commentedon Jan 10, 2018
Thanks; I'll look into this.
john-d-fox commentedon Jan 11, 2018