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.108736753
#> 2 -36.87764 174.7647 -0.009647306
#> 3 -36.87763 174.7647  0.536919425
#> 4 -36.87763 174.7647  0.090459448
#> 5 -36.87762 174.7647  0.108093251
#> 6 -36.87762 174.7647  0.583826427

if (FALSE) b <- bamlss(y ~ te(lon,lat,k=10), data = d)
plot(b, theta = -130)
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'x' in selecting a method for function 'plot': object 'b' not found