powered by
Calculates 1-var(obs-pred)/var(obs). If verbose == TRUE the result is printed.
exp_var(obs, pred, verbose = F)
data.frame, vector or matrix
logical indicating whether to print result
numeric value of the explained variance
# NOT RUN { exp_var(rnorm(100) + seq(0,9.9,.1), seq(0,9.9,.1)) # }
Run the code above in your browser using DataLab