Dear Max
Thank you for your attention. The train function in the caret package realy
does what I need.
Best regards,
-
Bc.Sc.Agri. Alessandro Samuel-Rosa
Postgraduate Program in Soil Science
Federal University of Santa Maria
Av. Roraima, nÂș 1000, Bairro Camobi, CEP 97105-970
Santa Maria, Rio
Dear Max and Greg
Thank you for your help. Unfortunately I was not able in getting what I need
using the functions you suggested. I believe it can be a result of my
inexperience with the packages caret and rms. Therefore, I provide more
information about my problem and wish you can again provide m
The train function in the caret package will do this. The trainControl function
would use method ="repeatedcv" and repeats = 100.
On Feb 18, 2012, at 2:15 PM, Greg Snow <538...@gmail.com> wrote:
> The validate function in the rms package can do cross validation of
> ols objects (ols is similar
The validate function in the rms package can do cross validation of
ols objects (ols is similar to lm, but with additional information),
the default is to do bootstrap validation, but you can specify
crossvalidation instead.
On Thu, Feb 16, 2012 at 10:44 AM, samuel-rosa
wrote:
> Dear R users
>
>
Dear R users
I'd like to hear from someone if there is a function to do a repeated k-fold
cross-validation for a lm object and get the predicted values for every
observation. The situation is as follows:
I had a data set composed by 174 observations from which I sampled randomly
a subset composed
5 matches
Mail list logo