Learn R Programming

disaggR (version 1.0.5.4)

rho: Extracting the autocorrelation parameter

Description

The function rho returns the autocorrelation parameter from either a praislm or a twoStepsBenchmark object. If include.rho is FALSE, rho returns zero.

Usage

rho(object)

Value

a double of length 1.

Arguments

object

a praislm or twoStepsBenchmark object.

Examples

Run this code
benchmark <- twoStepsBenchmark(turnover,construction,include.rho = TRUE); rho(benchmark)

Run the code above in your browser using DataLab