Learn R Programming

MECfda (version 0.2.1)

plot,bspline_series-method: Plot b-splines basis summation series.

Description

Plot b-splines basis summation series.

Usage

# S4 method for bspline_series
plot(x, y, ...)

Arguments

x

A bspline_series object.

y

Ignored. Present for consistency with the generic plot() function.

...

other parameters to be passed through to plotting functions.

Author

Heyang Ji

Examples

Run this code
bsb = bspline_basis(
Boundary.knots = c(0,24),
intercept      = TRUE,
df             = NULL,
degree         = 3
)
bss = bspline_series(
coef = c(2,1,1.5,3),
bspline_basis = bsb
)
plot(bss)

Run the code above in your browser using DataLab