chConstruct: Construct year to year change

Description Usage Arguments Value

Description

A function for constructing year to year change

Usage

1
2
chConstruct(data, origVar, country = "FAOST_CODE", year = "Year",
  newVarName = NA, n = 1)

Arguments

origVar

The variable in which the year to year change is to be calculated

country

The column representing the index of country.

year

The column represing the index of year.

data

The data frame containing the data

newVarName

The name assigned to the new variable, if missing then .CH will be appended.

n

The period for the change rate to be calculated.

Value

A data frame containing the computed year to year change rate.



Search within the FAOSTAT package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.