View source: R/result.rsquare.R
result.rsquare | R Documentation |
Calculates the r-square value of a model.
result.rsquare(values, type="cod")
values |
A list containing the modelled (doy.model) and the observed (doy.observed) values. |
type |
The value of type (either ‘cod’ or ‘pearson’) determines whether the coefficient of determination or the squared pearson correlation coefficient is calculated. |
Calculates the r-square value of modelled values with given observed values.
The r-square as numeric value.
Daniel Doktor, Maximilian Lange
result.main
modelled <- c(100,102,98,97,96) observed <- rep(100,5) values <- list(doy.model=modelled, doy.observed=observed) result.rsquare(values, type="cod")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.