search for: matrizr

Displaying 2 results from an estimated 2 matches for "matrizr".

Did you mean: matriz
2012 Jan 16
0
FDA predict problem
...same predictors in order to predict to which group the trip will belong. A consistent error is occuring: Error in mindist[l] <- ndist[l] : NAs are not allowed in subscripted assignments script: matriz <- read.table("matriz2010.txt", header=T, sep="\t") names(matriz) matrizR <- matriz[,-c(1:9, 11:15, 32, 35, 36, 47, 50, 51, 56)] names(matrizR) matrizRR <- matrizR[,-c(2:7)] names(matrizRR) SKA <- read.table("SKA.txt", header=T, sep="\t") names(SKA) matrizRRSKA <- cbind(matrizRR, SKA) names(matrizRRSKA) summary(matrizRRSKA) #discrimina...
2012 Nov 16
1
discrete discriminant analysis
Hello, I am using the mda package and in particular the fda routine to classify in term of gear a set of 20 trips. I preformed a flexible discriminant analysis (FDA) using a set of 151 trips. FDAT1 <- fda(as.factor(gear) ~ . , data =matrizR) A total of 22 predictors were considered. 20 of the predictors are "numeric" and 2 are "factors/discrete". The resulting FDA rule was applied to the 20 trips and for the same predictors in order to predict the type of gear used. however a consistent error is occuring:...