data1g.image: Generate simulation examples: one sample case

Description Usage Arguments Details

View source: R/data1g.image.R

Description

The function generates one-sample simulation data using four different mean functions and scheme described in the paper.

Usage

1
2
data1g.image(n, Z, ind.inside, mu.func = c(1, 2, 3, 4),
  noise.type = c("Func", "Const"), lam1, lam2, iter = 2019)

Arguments

n

number of images in the simulated data.

Z

a 2-column matrix specifying locations of information.

ind.inside

a vector of indices specifying which locations in matrix Z fall inside the irregular domain.

mu.func

a integer in c(1,2,3,4) that specifies what mean function is used for data generation. Value 1,2,3,4 correspond to quadratic, exponential, cubic and sine functions described in the paper respectively.

noise.type

'Func'/'Const' indicating heterogeneous or homogeneous variance for measurement error.

lam1, lam2

the eigenvalues used to adjust subject-level variation in simulation data.

iter

random seed.

Details

This R package is the implementation program for manuscript entitled "Simultaneous Confidence Corridors for Mean Functions in Functional Data Analysis of Imaging Data" by Yueying Wang, Guannan Wang, Li Wang and R. Todd Ogden.


funstatpackages/ImageSCC documentation built on March 3, 2020, 12:25 a.m.