Learn R Programming

siland (version 1.0)

dataSiland: A simulated data set that reprsents observations.

Description

The data set has 5 columns, X, Y, conv, varloc and y. Columns X and Y represents the location for the observed data. Column locfac corresponds to an explanatory factor with two levels. Column locvar corresponds to a continuous explanatory variable. Column y corresponds to a conitnuous response variable simulated with a gaussian model.

Usage

data("dataSiland")

Arguments

Format

A data frame with 80 simulated data and 5 variables.

X

a numeric vector

Y

a numeric vector

locfac

a local factor with two levels

locvar

a continuous local variable

y

a numeric vector

Examples

Run this code
# NOT RUN {
data(dataSiland)
data(landSiland)
nrow(dataSiland)
#Plot for landscape variables
plot(landSiland[[1]],col=2,pch=".")
points(landSiland[[2]],col=3,pch=".")
#Locations of observations
points(dataSiland[,c("X","Y")])



# }

Run the code above in your browser using DataLab