r2stat: r2

Description Usage Arguments Value

View source: R/extend_21_03_03.R

Description

Returns the estimated R^2 statistic for determining the fit of the given model to the data

Usage

1
r2stat(t1, data, adjusted = TRUE)

Arguments

t1

Object inheriting from rpms rpms_forest rpms_boost or rpms_zinf

data

data frame with variables used to estimate model

adjusted

TRUE/FALSE whether to compute adjusted R^2

Value

R^2 statistic computed using the model and provided data


rpms documentation built on June 26, 2021, 1:07 a.m.