tree | R Documentation |
Decision Tree
tree(
data,
dep,
covs,
facs,
per = 0.7,
over1 = TRUE,
tab1 = FALSE,
over2 = FALSE,
tab2 = FALSE,
cla = FALSE,
plot = FALSE,
plot1 = FALSE,
width = 500,
height = 500,
width1 = 500,
height1 = 500
)
data |
. |
dep |
. |
covs |
. |
facs |
. |
per |
. |
over1 |
. |
tab1 |
. |
over2 |
. |
tab2 |
. |
cla |
. |
plot |
. |
plot1 |
. |
width |
. |
height |
. |
width1 |
. |
height1 |
. |
A results object containing:
results$instructions | a html | ||||
results$text | a preformatted | ||||
results$over1 | a table | ||||
results$tab1 | a table | ||||
results$over2 | a table | ||||
results$tab2 | a table | ||||
results$cla | a table | ||||
results$plot | an image | ||||
results$plot1 | an image | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$over1$asDF
as.data.frame(results$over1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.