tree: Decision Tree

View source: R/tree.h.R

treeR Documentation

Decision Tree

Description

Decision Tree

Usage

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
)

Arguments

data

.

dep

.

covs

.

facs

.

per

.

over1

.

tab1

.

over2

.

tab2

.

cla

.

plot

.

plot1

.

width

.

height

.

width1

.

height1

.

Value

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)


hyunsooseol/snowCluster documentation built on April 5, 2025, 2:06 a.m.