powered by
This function is developed to see the influence of independent variables on the range of dependent variable.
PPregVarViz(PPTreeregOBJ,var.id,indiv=FALSE, DEPTH=NULL,smoothMethod="auto", var.factor=FALSE)
An object of the class ggplot
ggplot
PPTreereg class object - a model to be explained
independent variable name
TRUE: individual group plot, FALSE: combined one plot
depth for exploration
method in geom_smooth function
TRUE when indepedent variable is a categorical variable (as factor)
data(dataXY) Model <- PPTreereg(Y~., data = dataXY, DEPTH = 2) PPregVarViz(Model,"X1") PPregVarViz(Model,"X1",indiv = TRUE)
Run the code above in your browser using DataLab