autovarCore (version 1.0-4)

trend_columns: Construct linear and quadratic trend columns

Description

This function returns a matrix of linear and quadratic trends.

Usage

trend_columns(number_of_rows)

Arguments

number_of_rows

the number of rows in the input data set.

Value

A matrix with number_of_rows rows and 2 columns, one for linear trends and one for quadratic trends.

Examples

Run this code
# NOT RUN {
autovarCore:::trend_columns(10)
# }

Run the code above in your browser using DataCamp Workspace