get_r2 {brokenstick}R Documentation

Obtain proportion of explained variance from a broken stick model

Description

Obtain proportion of explained variance from a broken stick model

Usage

get_r2(object, newdata = NULL)

Arguments

object

An object of class brokenstick

newdata

Data on which r.squared must be calculated

Value

Proportion of explained variance

Examples

get_r2(fit_200)
get_r2(fit_200_light, newdata = smocc_200)

[Package brokenstick version 2.5.0 Index]