sid_p_tree: Calculate the p-value for a tree.

Description Usage Arguments Value

Description

Calculate the p-value for a tree (grouping).

Usage

1
2
sid_p_tree(data_train, data_test, tree, g0 = NULL, classifier = svm,
  R = 100, histogram = FALSE, parallel = TRUE, return_raw = FALSE)

Arguments

data_train

Training data.

data_test

Testing data.

tree

The tree

g0

The Baseline goodness, if known. Can be NULL (default).

classifier

A classifier function, default is svm (from the e1071 package).

R

Number of replications. Default is 100.

histogram

Plot histogram (Boolean, default is FALSE.

parallel

Calculate in parallel (Boolean, default is TRUE).

return_raw

Return raw data used in the p-value calculation (Boolean, default is FALSE.

Value

The p-value for the tree


bwrc/astrid-r documentation built on May 13, 2019, 9:08 a.m.