fcsm_test_model: Test A Statistical Model

Description Usage Arguments Value

View source: R/fc_stat_model.R

Description

A wrapper for testing statistical models.

Usage

1
fcsm_test_model(model, test, test_group)

Arguments

model

The model you generated, be it from lm, glm, etc.

test

The test data frame you'll be using. Should not include any group membership information.

test_group

The actual group membership for your test data.

Value

The accuracy of your model when predicting on the test data.


kmorrisongr/fcan documentation built on Sept. 9, 2020, 10:12 a.m.