Learn R Programming

mau (version 0.4.0)

read_tree: Evaluate utilities

Description

Read a csv file where the decision tree is defined.

Usage

read_tree(file, skip, nrows)

Value

data.table with utilities.

Arguments

file

input csv file containing the tree.

skip

starting row for read.

nrows

number of rows to read.

Author

Pedro Guarderas, Andrés Lopez

See Also

read_utilities, make_decision_tree

Examples

Run this code
library( data.table )
library( igraph )
file <- system.file("extdata", "tree.csv", package = "mau" )
sheetIndex <- 1
tree.data <- read_tree( file, skip = 0, nrows = 8 )

Run the code above in your browser using DataLab