search for: pomnod

Displaying 1 result from an estimated 1 matches for "pomnod".

Did you mean: pomnode
2007 Feb 18
3
User defined split function in rpart
...with addressing the data frame used in calling rpart in my split functions. For example, in the evaluation function that is called once per node, I want to fit a proportional odds model to the data in the node and use its deviance as node deviance: evalf <- function(y,x,parms) { pomnode<-polr(dataframe$y~dataframe$x,dataframe,weights=dataframe$Freq) more code } The dataframe used in the polr call should be the data of the current node. How can I address the data of the current node and assign it to the dataframe? Thank you for your help, Tobias Guennel [[al...