R2
compute_R2.Rd
Computes the coefficient of determination using the cor() function between simulated and observed data
Usage
compute_R2(
obs,
sim,
na.rm = TRUE,
method = c("pearson", "kendall", "spearman")
)
compute_R2.Rd
Computes the coefficient of determination using the cor() function between simulated and observed data
compute_R2(
obs,
sim,
na.rm = TRUE,
method = c("pearson", "kendall", "spearman")
)