Learn R Programming

CADFtest (version 0.3-3)

residuals.CADFtest: Function to extract the residuals from CADFtest objects

Description

This function applies the residuals() method to an object of class CADFtest.

Usage

# S3 method for CADFtest
residuals(object, ...)

Arguments

object

an object belonging to the class CADFtest.

...

currently not used.

Examples

Run this code
  data(npext, package="urca")
  ADFt <- CADFtest(npext$realgnp, type="trend")
  residuals(ADFt)

Run the code above in your browser using DataLab