ModelTest: ModelTest

Description Usage Arguments

View source: R/ModelTest.R

Description

This function takes the (1) type of model ("TREE" for Tree,"GLM" for Logreg), (2) the pre-fitted model for use in prediction, and (3) the test set to run predictions on

Usage

1
ModelTest(type, model, test)

Arguments

type

The type of statistical method being used. "TREE" for CART or "GLM" for Logistic Regression.

model

The actual fit model to calculate predict() on

test

The test set for predictions to be made on


dennist2/MerlinV2 documentation built on Dec. 23, 2019, 6:36 p.m.