oss.goof | R Documentation |
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
oss.goof(predicted, observed)
predicted |
numeric |
observed |
numeric |
data.frame
#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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.