Displaying 1 result from an estimated 1 matches for "matriz2010tot".
2012 Jan 16
0
FDA predict problem
...)
summary(matrizRRSKA)
#discriminant analysis
FDAaSKA <- fda(as.factor(ARTE_resumida) ~ . , data =matrizRRSKA)
FDAaSKA
plot(FDAaSKA)
*Misclassification Error: 0.02027
confusion(FDAaSKA)
write.table(confusion(FDAaSKA), "confusion_FDAgeral3.txt")
FDAaSKA
matrizT <- read.table("matriz2010tot.txt", header=T, sep="\t")
names(matrizT)
summary(matrizT)
dim(matrizT)
matrizTR <- matrizT[,-c(1:6, 17, 20, 21, 32, 35, 36)]
names(matrizTR)
predict(FDAaSKA, matrizTR)$class
Error in mindist[l] <- ndist[l] :
NAs are not allowed in subscripted assignments
if someone can he...