train function in caret package

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

train function in caret package

R help mailing list-2
Hi all,

I'm running train function from caret package on my data set patientdata:

    model=train(type~., data=patientdata, method="lvq", preProcess="scale", trControl=control)
and I get this error:

    Error in comp(expr, env = envir, options = list(suppressUndefined = TRUE)) :

     could not find function "mayCallBrowser"
Does anyone know how should I solve it?!

Thanks for any help!
Elahe

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: train function in caret package

R help mailing list-2
Any answer?!

    On Friday, May 19, 2017 6:33 AM, Elahe chalabi via R-help <[hidden email]> wrote:
 

 Hi all,

I'm running train function from caret package on my data set patientdata:

    model=train(type~., data=patientdata, method="lvq", preProcess="scale", trControl=control)
and I get this error:

    Error in comp(expr, env = envir, options = list(suppressUndefined = TRUE)) :

    could not find function "mayCallBrowser"
Does anyone know how should I solve it?!

Thanks for any help!
Elahe

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


   
        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: train function in caret package

Hasan Diwan-2
A dput of your data may be helpful, Elahe? -- H[

On 19 May 2017 at 16:56, Elahe chalabi via R-help <[hidden email]>
wrote:

> Any answer?!
>
>     On Friday, May 19, 2017 6:33 AM, Elahe chalabi via R-help <
> [hidden email]> wrote:
>
>
>  Hi all,
>
> I'm running train function from caret package on my data set patientdata:
>
>     model=train(type~., data=patientdata, method="lvq",
> preProcess="scale", trControl=control)
> and I get this error:
>
>     Error in comp(expr, env = envir, options = list(suppressUndefined =
> TRUE)) :
>
>     could not find function "mayCallBrowser"
> Does anyone know how should I solve it?!
>
> Thanks for any help!
> Elahe
>
> ______________________________________________
> [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



--
OpenPGP:
https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1
If you wish to request my time, please do so using
http://bit.ly/hd1ScheduleRequest.
Si vous voudrais faire connnaisance, allez a
http://bit.ly/hd1ScheduleRequest.

<https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1>Sent
from my mobile device
Envoye de mon portable

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.