GetIPPPLikValue: Retrieve the IPPP likelihood value

Description Usage Arguments Author(s) See Also Examples

View source: R/get_post.R

Description

Given a point pattern this function calculates the IPPP likelihood value.

For examples see

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

Usage

1

Arguments

pp

Point pattern object of class ppp.

surf

IPPP intensity surface object of class intensity_surface.

truncate

Logical variable indicating whether or not we normalize the densities of the mixture components to have all their mass within the window defined in the point pattern pp.

Author(s)

Sakis Micheas

See Also

est_mix_damcmc, rmixsurf, rsppmix, GetPMEst

Examples

1
2
3
4
5
6
7
truemix_surf <- rmixsurf(m = 3, lambda=100,xlim = c(-3,3),ylim = c(-3,3))
plot(truemix_surf,main="True IPPP intensity surface")
genPPP=rsppmix(intsurf = truemix_surf, truncate = FALSE)
fit <- est_mix_damcmc(genPPP, m = 3)
MAPest=GetMAPEst(fit)
GetIPPPLikValue(genPPP,MAPest)
GetIPPPLikValue(genPPP,GetPMEst(fit))

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