Learn R Programming

MonoPoly (version 0.3-10)

w0: Simulated w0 data used in Murray et al. (2013)

Description

This data set gives simulated data from the function $$y = 0.1x^3 + e$$ for \(e \sim N(0,0.01^2)\) and \(x\) evenly spaced between -1 and 1.

Arguments

Format

A data frame with 21 observations on the following 2 variables.

y

a numeric vector

x

a numeric vector

Examples

Run this code
# NOT RUN {
str(w0)
plot(y~x, w0)
monpol(y~x, w0)
# }

Run the code above in your browser using DataLab