This function performs the plot of a functional univariate dataset stored in an object of class fData. It is able to accept all the usual customizable graphical parameters, otherwise it will use the default ones.

# S3 method for fData
plot(x, ...)

Arguments

x

the univariate functional dataset in form of fData object.

...

additional graphical parameters to be used in plotting functions

See also

Examples


N = 20
P = 1e2

# One dimensional grid
grid = seq( 0, 1, length.out = P )

# Generating an exponential covariance function (see related help for more
# information )
C = exp_cov_function( grid, alpha = 0.3, beta = 0.4 )

# Generating a synthetic dataset with a gaussian distribution and
# required mean and covariance function:
values = generate_gauss_fdata( N,
                               centerline = sin( 2 * pi * grid ),
                               Cov = C )

fD = fData( grid, values )

plot( fD )