boxcars: A function for to make a boxcar for one timing

Description Usage Arguments Value See Also Examples

View source: R/boxcars.R

Description

A function for to make a boxcar for one timing

Usage

1
boxcars(leny, timings, nbox, lenbox, include.intercept = FALSE)

Arguments

leny

The length of y.

timings

The timing matrix, see timingmatrix.

nbox

The amount of boxcars in the design matrix.

lenbox

The length of each boxcar in the design matrix.

include.intercept

Include intercept, default = FALSE.

Value

The design matrix for one timing with the predefined amount and length of boxcars.

See Also

timingmatrix, for a timing matrix.

Examples

1
boxcars(100, c(10, 20, 40), nbox = 5, lenbox = 2)

sremmers/FBRbeta documentation built on May 14, 2019, 8:18 a.m.