Displaying 5 results from an estimated 5 matches similar to: "Problem with rpart"
2007 May 02
2
NAs introduced by coercion in dist()
I work with Windows and use R version 2.4.1. I am JUST starting to learn this
program...
I get this warning message 'NAs introduced by coercion' while trying to
build a distance matrix (to be analyzed with NMDS later) from a 336 x 100
data matrix. The original matrix has lots of zeros and no missing values,
but I don't think this should matter.
I searched this forum and people have
2007 Oct 16
1
error in sample ()
I am trying to get a random matrix based on an original matrix called
disperser.mx, with dimensions 30x73
When I write the following code:
>scramble = sample (disperser.mx)
>newmat = matrix(scramble, nrow=30)
I get the following warning message and a very weird matrix with 30 rows but
only 3 columns shown below:
Warning message:
data length [73] is not a sub-multiple or multiple of the
2007 Oct 03
1
help with stepclass (klaR)
I use Windows, R version 2.5.1
When I try to run stepclass (klaR) I get an error message/warning saying:
1: error(s) in modeling/prediction step in: cv.rate(vars = c(model, tryvar),
data = data, grouping = grouping, ...
Actually, I look 16 warnings of this type. Can anyone tell me what this
means?
Also, it returns only 2 out of the 79 variables as important, however these
variables
2007 Sep 20
0
error in manova
I work with Windows, R 2.4.1. I'm a beginner with R!
After doing a Discriminant Function Analysis, I am trying to run manova to
get a measure of significance of my lda results. I want to predict groups 1
through 4 using 78 variables (bad group/var ratio, I know, but I'm just
exploring the possibilities right now). I've tried with a test matrix and I
get my results fine, so I think
2007 Jun 18
0
discriminant analysis with lda(MASS)
I use Widows, R version 2.4.1
I have 4 questions on lda (MASS) (code is pasted below):
1st. How can I obtain the statistics and p-value associated with
discriminant analysis? Am I supposed to calculate that manually by squaring
the svd value and looking the p value up in a table? I am writing the
following code:
training.mx<-read.table('C:\\Documents and Settings\\silvia\\My