Learn R Programming

lmeSplines (version 1.1-12)

smSplineEx1: Simulated data about a smooth curve

Description

Simulated data to demonstrate smoothing spline curve fitting with smspline and lme

Usage

data(smSplineEx1)

Arguments

Format

A data frame with 100 observations on the following 4 variables.

time

time covariate

y

simulated response values

y.true

true response values

Details

100 data points were simulated about the curve \(y = 10 - 6*\exp(-4t/100)\), with iid normal random errors with standard deviation \(1\).

Examples

Run this code
# NOT RUN {
data(smSplineEx1)
# }

Run the code above in your browser using DataLab