Learn R Programming

spatialsegregation (version 2.45)

exposurepps: Example datasets for package spatialsegregation

Description

Example datasets with 9 different scattering+exposure combinations.

Usage

data(exposurepps)

Arguments

Format

A list with nine elements of class ppp.

Details

A list of 9 point patterns with different degrees of intra-species clustering and inter-species mingling.

The patterns are synthetically produced using a combination of the functions of this package as an energy function of a Gibbs model.

Examples

Run this code
# NOT RUN {
 data(exposurepps)
 par(mfrow=c(3,3), mar=c(2,2,2,2))
 for(i in 1:9)plot(exposurepps[[i]])

# upper row has strong inter-type mingling effect
# lower row has strong inter-type repulsion or segregation
# left column has strong intra-type clustering
# right column has strong intra-type repulsion.

 par(mfrow=c(3,3), mar=c(3,3,4,3))
 for(i in 1:9)plot(  isarF(exposurepps[[i]]), cbind(ISARmean,theo)~par)

# }

Run the code above in your browser using DataLab