trend_columns {autovarCore}R Documentation

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

autovarCore:::trend_columns(10)

[Package autovarCore version 1.0-4 Index]