demo_mix: Demo objects

Description Usage Format Author(s) Examples

Description

Demo objects (mixture, surface and generated pattern) using the classes provided by the sppmix package.

For examples see

http://faculty.missouri.edu/~micheasa/sppmix/sppmix_all_examples.html#demo_mix

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

Format

An object of class normmix of length 5.

Author(s)

Jiaxun Chen, Sakis Micheas, Yuchen Wang

Examples

1
2
3
4
5
6
demo_mix <- normmix(ps = c(.3, .7), mus = list(c(0.2, 0.2), c(.8, .8)),
 sigmas = list(.01*diag(2), .01*diag(2)))
demo_intsurf <- normmix(ps = c(.3, .7), mus = list(c(0.2, 0.2),
 c(.8, .8)),sigmas = list(.01*diag(2), .01*diag(2)), lambda = 100,
 win = spatstat::square(1))
demo_genPPP<-rsppmix(demo_truesurf3, truncate=FALSE)

sppmix documentation built on Jan. 13, 2021, 10:04 p.m.