Learn R Programming

stopp (version 0.2.3)

plot.stcov: Plot a stcov object

Description

This function plots the covariate stored in the stcov object given in input, in a three panel plot representing the 3Dplot of the coordinates, and the covariate values.

Usage

# S3 method for stcov
plot(x, ...)

Arguments

x

An object of class stcov

...

additional unused argument

Author

Nicoletta D'Angelo

See Also

stcov

Examples

Run this code


set.seed(2)
df <- data.frame(runif(100), runif(100), runif(100), rpois(100, 15))

cov <- stcov(df, interp = FALSE)

plot(cov)

Run the code above in your browser using DataLab