Thanks to Erich and Sarah for the clarifications. For those wondering
whether ctree() from "party" or from "partykit" should be used: the latter
is the newer and improved implementation.
On Thu, 10 Mar 2016, Erich Neuwirth wrote:
If you do
??ctree
and the package partykit is installed, you
If you do
??ctree
and the package partykit is installed, you will see that this function is
defined in this package.
So, you should run
library(partykit)
before running your function call
If partykit is not installed, you need to install it.
> On Mar 10, 2016, at 15:58, CHIRIBOGA Xavier
Probably load the package that ctree() comes from, possibly party.
library(party)
The code you're looking at should tell you.
On Thu, Mar 10, 2016 at 9:58 AM, CHIRIBOGA Xavier
wrote:
> Dear all,
>
>
> I am using Rstudio. What to do when you get this message?
>
>
Dear all,
I am using Rstudio. What to do when you get this message?
Error in plot(ctree(Surv(hours, state) ~ soil + volatile, data = data)) :
could not find function "ctree"
Thank you,
Xavier
__
R-help@r-project.org mailing list -- To
Hi Maxl18,
error in mo...@fit(data,...) : object var3 not found
What should I do?
Make sure that var3 exists/is available
##
str(datalist$var3) ## is it here?
ls(pattern=var3) ## is it here?
Regards, Mark.
Maxl18 wrote:
Hi,
I have a problem with the function ctree in the
Hi,
I have a problem with the function ctree in the package party.
When I launch ctree with weights=NULL it works.
ctree(function~var1+var2, data=datalist, weights=NULL,
controls=ctree_control(mincriterion=0.95, maxdepth=4,
teststat=quad,testtype=Bonferroni))
But when I try
6 matches
Mail list logo