bsspline {ciuupi} | R Documentation |
Evaluate the functions b
and s
at x
Description
Evaluate the functions b
and s
, as specified by
bsvec
,
alpha
, d
, n.ints
and natural
, at x
.
Usage
bsspline(x, bsvec, alpha, d, n.ints, natural)
Arguments
x |
A value or vector of values at which the functions |
bsvec |
The
where |
alpha |
The desired minimum coverage probability is |
d |
The functions |
n.ints |
The number of equal-length intervals in |
natural |
Equal to 1 (default) if the |
Value
A data frame containing x
and the corresponding values of the
functions b
and s
.
Examples
x <- seq(0, 8, by = 1)
alpha <- bs.list.example$alpha
natural <- bs.list.example$natural
d <- bs.list.example$d
n.ints <- bs.list.example$n.ints
bsvec <- bs.list.example$bsvec
bs <- bsspline(x, bsvec, alpha, d, n.ints, natural)