getRateComp: Calculates the predicted value at time 'n' using the model:

View source: R/getRateComp.R

getRateCompR Documentation

Calculates the predicted value at time 'n' using the model:

Description

The predicted value is then compared to the observed value for time 'n'

Usage

getRateComp(data, start_year, end_year, rate)

Arguments

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

Value

Prints predicted and observed value at time 'n'


earlycapistran/consLettersUtils documentation built on Nov. 22, 2022, 1:22 a.m.