oss.goof: Calculate Model Goodness of Fit Metrics

View source: R/oss.goof.R

oss.goofR Documentation

Calculate Model Goodness of Fit Metrics

Description

This function allows the user to calculate r-square adjusted r-square, root mean square error, mean absolute error, bias and Lin's concordance correlation coefficient from observed vs predicted data from predictive model outputs for continuous data

Usage

oss.goof(predicted, observed)

Arguments

predicted

numeric

observed

numeric

Value

data.frame

Examples

#Calculate fit statistics between 2 numeric vectors
observed<- c(3,7,4,9,6,2)
predicted<-c(2,5,4,7,3,5)
oss.goof(predicted= predicted, observed= observed)



newdale/onsoilsurvey documentation built on Jan. 5, 2024, 1:35 a.m.