getRateComp | R Documentation |
The predicted value is then compared to the observed value for time 'n'
getRateComp(data, start_year, end_year, rate)
data |
A data frame with one column for a "time" and a column for the dependent variable |
start_year |
A numerical value corresponding to start year |
end_year |
A numerical value corresponding to end year |
rate |
A numerical value for the rate of change |
Prints predicted and observed value at time 'n'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.