plot.adass {adass}R Documentation

Plot the results of the AdaSS method

Description

This function provides plots of the AdaSS coefficient function estimate when applied to the output of adass.fr.

Usage

## S3 method for class 'adass'
plot(x, ...)

Arguments

x

The output of adass.fr.

...

No additional parameters, called for side effects.

Value

No return value, called for side effects.

Examples

library(adass)
data<-simulate_data("Scenario HAT",n_obs=100)
X_fd=data$X_fd
Y_fd=data$Y_fd
basis_s <- fda::create.bspline.basis(c(0,1),nbasis = 10,norder = 4)
basis_t <- fda::create.bspline.basis(c(0,1),nbasis = 10,norder = 4)
mod_adass <- adass.fr(Y_fd,X_fd,basis_s = basis_s, basis_t = basis_t,
 tun_par=c(10^-6,10^-6,0,0,0,0))
plot(mod_adass)

[Package adass version 1.0.1 Index]