plot.utree | R Documentation |
plot method for class utree
.
## S3 method for class 'utree' plot(x, ...)
x |
An object of class |
... |
Arguments passed to |
Leo Guelman leo.guelman@gmail.com
set.seed(1) df <- sim_uplift(n = 1000, p = 50, response = "binary") form <- create_uplift_formula(x = names(df)[-c(1:3)], y = "y", trt = "T") fit <- utree(form, data = df, maxdepth = 3) plot(fit, main = "uplift tree", gp = gpar(cex = 0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.