This function creates a data set based on the volcano data by adding normal errors to the topographic information.

Volcano(sd = 0.3)

Arguments

sd

The standard deviation of the normal errors.

Value

A data frame with coordinates and noisy elevation.

See also

Examples

d <- Volcano() head(d)
#> lon lat y #> 1 -36.87764 174.7647 0.15656372 #> 2 -36.87764 174.7647 0.28486562 #> 3 -36.87763 174.7647 -0.20451545 #> 4 -36.87763 174.7647 -0.20972844 #> 5 -36.87762 174.7647 0.71648347 #> 6 -36.87762 174.7647 -0.09304756
# NOT RUN { b <- bamlss(y ~ te(lon,lat,k=10), data = d) plot(b, theta = -130) # }