Learn R Programming

stopp (version 0.2.3)

plot.stlpm: Plot a stlpm 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 mark values.

Usage

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

Arguments

x

An object of class stpm

...

additional unused argument

Author

Nicoletta D'Angelo

See Also

stppm

Examples

Run this code

set.seed(2)
df <- data.frame(x = runif(100, 0, 0.8), y = runif(100, 0, 0.8), t = runif(100), m = rpois(100, 15))

stlpm1 <- stpm(df, L = chicagonet)

plot(stlpm1)


Run the code above in your browser using DataLab