tests/brinson.test.R

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

library(pa)

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

load("brinson.test.RData")

## Single-period

data(jan)
result <- brinson(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.