plot_basis: Plotting basis functions

Description Usage Arguments Value Examples

View source: R/plot_basis.R

Description

Given an object of class Basis, this function plots the functions contained in this object.

Usage

1
plot_basis(basis, ind, resol = 300)

Arguments

basis

an object of class Basis

ind

a numeric atomic vector, containing information about which functions of the basis should be plotted

resol

a numeric value, specifying the quality of the plot(length.out of processed values)

Value

no return

Examples

1
2
3
4
5
6
hist <- Hist_Basis$new(10)
plot_basis(hist, c(1, 3, 7))

trig <- Trig_Basis$new(100)
#plot the first three basis functions
plot_basis(trig, seq(3))

nschaefer1211/OSE documentation built on Dec. 31, 2020, 12:59 a.m.