tests/regress.test.R

## regress.test.R
## Yang Lu [email protected]

library(pa)

## data(jan)
## truth <- regress(x = jan)
## save(truth, file = "regress.test.RData")

load("regress.test.RData")

## Single-period

data(jan)
result <- regress(x = jan)
stopifnot(all.equal(result, truth))

Try the pa package in your browser

Any scripts or data that you put into this service are public.

pa documentation built on May 29, 2017, 11:44 a.m.