- Original Message -
From: Gerrit Eichner
To: Paulito Palmes
Cc: "r-help@r-project.org"
Sent: Thursday, 12 September 2013, 8:53
Subject: Re: [R] Formula in a model
Hello, Paulito,
my comments are inline below:
> Thanks for the explanation. Let me give a specific example. Assum
modelRP2,newdata=mytable[,-6])
modelRP2=rpart(mytable[,-6],mytable[,6],method='anova')
have errors.
_
From: Gerrit Eichner
To: Paulito Palmes
Cc: "r-help@r-project.org"
Sent: Wednesday, 11 September 2013, 10:48
Subject: Re: [R] Formula in a model
Hi,
I have a data.frame with dimension 336x336 called *training*, and another one
called *observation* which is 336x1. I combined them as one table using
table=data.frame(training, observation). table now has 336x337 dimension with
the last column as the observation to learn using the training
Hi,
I have a data.frame with dimension 336x336 called *training*, and
*observation* which is 336x1. I combined them as one table using
table=data.frame(training, observation). table now has 336x337 dimension with
the last column as the observation to learn using the training data of the rest
4 matches
Mail list logo