tree: Decision Tree

View source: R/tree.h.R

treeR Documentation

Decision Tree

Description

Function for making Decision Trees.

Usage

tree(
  data,
  vars,
  facs,
  target,
  targetLevel,
  train,
  trainLevel,
  showPlot = FALSE
)

Arguments

data

The data as a data frame.

vars

continuous explanatory variables

facs

categorical explanatory variables

target

target variable

targetLevel

.

train

Variable containing Test/Train information

trainLevel

.

showPlot

.

Value

A results object containing:

results$todo a html
results$text1 a preformatted
results$text2 a preformatted
results$text2a a preformatted
results$text2b a preformatted
results$text3 a preformatted
results$text4 a html

Examples


# example will be added


sbalci/ClinicoPathJamoviModule documentation built on Feb. 25, 2025, 6:34 a.m.