Learn R Programming

⚠️There's a newer version (1.8) of this package.Take me there.

lgcp (version 1.3-13)

Log-Gaussian Cox Process

Description

Spatial and spatio-temporal modelling of point patterns using the log-Gaussian Cox process. Bayesian inference for spatial, spatiotemporal, multivariate and aggregated point processes using Markov chain Monte Carlo.

Copy Link

Version

Install

install.packages('lgcp')

Monthly Downloads

829

Version

1.3-13

License

GPL-2 | GPL-3

Maintainer

Benjamin Taylor

Last Published

November 19th, 2015

Functions in lgcp (1.3-13)

andrieuthomsh

andrieuthomsh function
expectation

expectation function
lgcpgrid

lgcpgrid function
CovParameters

CovParameters function
GAinitialise.MonteCarloAverage

GAinitialise.MonteCarloAverage function
serr

serr function
CovFunction

CovFunction function
target.and.grad.spatialPlusPars

target.and.grad.spatialPlusPars function
aggCovInfo.ArealWeightedSum

aggCovInfo.ArealWeightedSum function
affine.fromXYZ

affine.fromXYZ function
GFupdate

GFupdate function
as.SpatialPixelsDataFrame

as.SpatialPixelsDataFrame function
K.diff.single

K.diff.single function
GaussianPrior

GaussianPrior function
KinhomAverage

KinhomAverage function
extendspatialAtRisk

extendspatialAtRisk function
as.SpatialPixelsDataFrame.lgcpgrid

as.SpatialPixelsDataFrame.lgcpgrid function
lgcpSim

lgcpSim function
discreteWindow.lgcpPredict

discreteWindow.lgcpPredict function
grid2spix

grid2spix function
GFreturnvalue

GFreturnvalue function
xvals

xvals function
fftgrid

fftgrid function
yvals

yvals function
bt.scalar

bt.scalar function
minimum.contrast.spatiotemporal

minimum.contrast.spatiotemporal function
mcmcLoop

iterator for MCMC loops
GAreturnvalue.MonteCarloAverage

GAreturnvalue.MonteCarloAverage function
GFfinalise.nullFunction

GFfinalise.nullFunction function
EvaluatePrior

EvaluatePrior function
getRotation.stppp

getRotation.stppp function
interptypes

interptypes function
GAinitialise

GAinitialise function
GFfinalise.dump2dir

GFfinalise.dump2dir function
spatialparsEst

spatialparsEst function
constantInTime

constantInTime function
GAinitialise.nullAverage

GAinitialise.nullAverage function
chooseCellwidth

chooseCellwidth function
RandomFieldsCovFct

RandomFieldsCovFct function
grid2spdf

grid2spdf function
gridfun.lgcpPredict

gridfun.lgcpPredict function
target.and.grad.AggregateSpatialPlusPars

target.and.grad.AggregateSpatialPlusPars function
GFinitialise

GFinitialise function
YfromGamma

YfromGamma function
my.ginhomAverage

my.ginhomAverage function
fftinterpolate.fromXYZ

interpolate.fromXYZ function
meanfield

meanfield function
affine.stppp

affine.stppp function
PriorSpec.list

PriorSpec.list function
expectation.lgcpPredict

expectation.lgcpPredict function
intens

intens function
circulant

circulant function
density.stppp

density.stppp function
Cvb

Cvb function
guessinterp

guessinterp function
GFupdate.dump2dir

GFupdate.dump2dir function
as.owinlist.SpatialPolygonsDataFrame

as.owinlist.SpatialPolygonsDataFrame function
GAfinalise.MonteCarloAverage

GAfinalise.MonteCarloAverage function
postcov.lgcpPredictAggregateSpatialPlusParameters

postcov.lgcpPredictAggregateSpatialPlusParameters function
gOverlay

gOverlay function
extract.lgcpPredict

extract.lgcpPredict function
as.stppp

as.stppp function
print.fromFunction

print.fromFunction function
gu

gu function
GPdrv2_Multitype

GPdrv2_Multitype function
initialiseAMCMC.constanth

initaliseAMCMC.constanth function
lgcpPredictMultitypeSpatialPlusPars

lgcpPredictMultitypeSpatialPlusPars function
GammafromY

GammafromY function
genFFTgrid

genFFTgrid function
as.array.lgcpgrid

as.array.lgcpgrid function
aggregateformulaList

aggregateformulaList function
lgcpSimSpatialCovariates

lgcpSimSpatialCovariates function
paramprecbase

paramprecbase function
sparsebase

sparsebase function
gridfun

gridfun function
samplePosterior

samplePosterior function
image.lgcpgrid

image.lgcpgrid function
transred

transred function
target.and.grad.MultitypespatialPlusPars

target.and.grad.MultitypespatialPlusPars function
lgcpSimSpatial

lgcpSimSpatial function
as.SpatialGridDataFrame.fromXYZ

as.SpatialGridDataFrame.fromXYZ function
lgcpPredictSpatioTemporalPlusPars

lgcpPredictSpatioTemporalPlusPars function
blockcircbaseFunction

blockcircbaseFunction function
mcmctrace

mcmctrace function
mcmcpars

mcmcpars function
stapp.SpatialPolygonsDataFrame

stapp.SpatialPolygonsDataFrame function
CovFunction.function

CovFunction.function function
osppp2latlon

osppp2latlon function
mcmcProgressTk

graphical progress monitor
circulant.matrix

circulant.matrix function
constanth

constanth function
as.SpatialGridDataFrame

as.SpatialGridDataFrame function
postcov

postcov function
autocorrMultitype

autocorrMultitype function
exponentialCovFct

exponentialCovFct function
loop.mcmc

loop over an iterator
integerise.mstppp

integerise.mstppp function
getinterp

getinterp function
gridInWindow

gridInWindow function
lgcpgrid.list

lgcpgrid.list function
extract

extract function
paramprec

paramprec function
mstppp.ppp

mstppp.ppp function
lgcpSimMultitypeSpatialCovariates

lgcpSimMultitypeSpatialCovariates function
thetaEst

thetaEst function
plotExceed.lgcpPredict

plotExceed.lgcpPredict function
smultiply.list

smultiply.list function
fftinterpolate.fromFunction

fftinterpolate.fromFunction function
parsummary

parsummary function
yvals.default

yvals.default function
spatialAtRisk.im

spatialAtRisk.im function
mcmcProgressTextBar

text bar progress monitor
print.mstppp

print.mstppp function
spatialAtRisk.SpatialPolygonsDataFrame

spatialAtRisk.SpatialPolygonsDataFrame function
postcov.lgcpPredictSpatioTemporalPlusParameters

postcov.lgcpPredictSpatioTemporalPlusParameters function
plot.lgcpAutocorr

plot.lgcpAutocorr function
rgauss

rgauss function
GAfinalise.nullAverage

GAfinalise.nullAverage function
GAfinalise

GAfinalise function
Extract.stppp

Extract.stppp function
rr.lgcpPredict

rr.lgcpPredict function
LogGaussianPrior

LogGaussianPrior function
exceedProbsAggregated

exceedProbsAggregated function
plot.fromSPDF

plot.fromSPDF function
osppp2merc

osppp2merc function
add.list

add.list function
GAupdate.MonteCarloAverage

GAupdate.MonteCarloAverage function
stppp.ppp

stppp.ppp function
initialiseAMCMC

initialiseAMCMC function
GFreturnvalue.dump2dir

GFreturnvalue.dump2dir function
print.lgcpgrid

print.lgcpgrid function
aggCovInfo.Majority

aggCovInfo.Majority function
showGrid.default

showGrid.default function
txtProgressBar2

A text progress bar with label
lgcpbayes

lgcpbayes function
GPdrv

GPdrv function
affine.SpatialPolygonsDataFrame

affine.SpatialPolygonsDataFrame function
temporalAtRisk.numeric

temporalAtRisk.numeric function
K.val

K.val function
aggCovInfo

aggCovInfo function
print.gridaverage

print.gridaverage function
xvals.fromXYZ

xvals.fromXYZ function
rr

rr function
SpatialPolygonsDataFrame.stapp

SpatialPolygonsDataFrame.stapp function
summary.lgcpgrid

summary.lgcpgrid function
target.and.grad.SpatioTemporalPlusPars

target.and.grad.SpatioTemporalPlusPars function
eigenfrombase

eigenfrombase function
transblack

transblack function
wtowns

Welsh town details: population
tempRaster

tempRaster function
varfield.lgcpPredictINLA

varfield.lgcpPredictINLA function
constantInTime.stppp

constantInTime.stppp function
spatialAtRisk.bivden

spatialAtRisk.bivden function
wtowncoords

Welsh town details: location
as.owinlist

as.owinlist function
as.fromXYZ

as.fromXYZ function
xvals.lgcpPredict

xvals.lgcpPredict function
covEffects

covEffects function
fftinterpolate

fftinterpolate function
circulant.numeric

circulant.numeric function
as.stppp.stapp

as.stppp.stapp function
spatialIntensities.fromSPDF

spatialIntensities.fromSPDF function
getRotation.default

getRotation.default function
parautocorr

parautocorr function
as.ppp.mstppp

as.ppp.mstppp function
zvals

zvals function
etavals

etavals function
hasNext

generic hasNext method
exceedProbs

exceedProbs function
gridav

gridav function
getCovParameters.list

getCovParameters.list function
inversebase

inversebase function
textsummary

textsummary function
lgcpPrior

lgcpPrior function
iteration

iteration number
print.mcmc

print.mcmc function
getCovParameters

getCovParameters function
lambdaEst.stppp

lambdaEst.stppp function
lgcp-package

lgcp
print.stapp

print.stapp function
getCovParameters.GPrealisation

getCovParameters.GPrealisation function
getpolyol

getpolyol function
meanfield.lgcpPredict

meanfield.lgcpPredict function
hasNext.iter

hasNext.iter function
identify.lgcpPredict

identify.lgcpPredict function
minimum.contrast

minimum.contrast function
stppp.list

stppp.list function
varfield

varfield function
neigh2D

neigh2D function
is.pow2

is.pow2 function
lgcppars

lgcppars function
selectObsWindow.default

selectObsWindow.default function
priorpost

priorpost function
nullFunction

nullFunction function
GFinitialise.dump2dir

GFinitialise.dump2dir function
print.stppp

print.stppp function
raster.lgcpgrid

raster.lgcpgrid function
MALAlgcpAggregateSpatial.PlusPars

MALAlgcpAggregateSpatial.PlusPars function
plot.stppp

plot.stppp function
spatialAtRisk

spatialAtRisk function
MALAlgcpSpatioTemporal.PlusPars

MALAlgcpSpatioTemporal.PlusPars function
affine.fromFunction

affine.fromFunction function
computeGradtruncSpatial

computeGradtruncSpatial function
formulaList

formulaList function
clearinterp

clearinterp function
constantInTime.numeric

constantInTime.numeric function
plot.lgcpZmat

plot.lgcpZmat function
is.retain

do we retain this iteration?
zvals.SpatialGridDataFrame

zvals.SpatialGridDataFrame function
rescale.mstppp

rescale.mstppp function
selectObsWindow

selectObsWindow function
getCounts

getCounts function
aggCovInfo.ArealWeightedMean

aggCovInfo.ArealWeightedMean function
spatialIntensities.fromXYZ

spatialIntensities.fromXYZ function
d.func

d.func function
stapp

stapp function
stppp

stppp function
BetaParameters

BetaParameters function
getLHSformulaList

getLHSformulaList function
grid2spts

grid2spts function
intens.lgcpSimMultitypeSpatialPlusParameters

intens.lgcpSimMultitypeSpatialPlusParameters function
getup

getup function
lambdaEst

lambdaEst function
matchcovariance

matchcovariance function
GFupdate.nullFunction

GFupdate.nullFunction function
Extract.mstppp

Extract.mstppp function
integerise.stppp

integerise.stppp function
stGPrealisation

stGPrealisation function
target.and.grad.spatiotemporal

target.and.grad.spatiotemporal function
GAupdate.nullAverage

GAupdate.nullAverage function
MALAlgcp

MALAlgcp function
GPrealisation

GPrealisation function
lgcpvignette

lgcpvignette function
yvals.SpatialGridDataFrame

yvals.SpatialGridDataFrame function
K.u

K.u function
betavals

betavals function
print.fromSPDF

print.fromSPDF function
as.owinlist.stapp

as.owinlist.stapp function
MALAlgcpSpatial

MALAlgcpSpatial function
mcmcProgressNone

null progress monitor
as.owin.stapp

as.owin.stapp function
plot.mstppp

plot.mstppp function
at

at function
mcmcProgressPrint

printing progress monitor
checkObsWin

checkObsWin function
loc2poly

loc2poly function
selectObsWindow.stppp

selectObsWindow.stppp function
mstppp.list

mstppp.list function
spatialIntensities

spatialIntensities function
fftinterpolate.fromSPDF

fftinterpolate.fromSPDF function
roteffgain

roteffgain function
quantile.lgcpgrid

quantile.lgcpgrid function
showGrid

showGrid function
is.SPD

is.SPD function
plot.fromXYZ

plot.fromXYZ function
expectation.lgcpPredictSpatialOnlyPlusParameters

expectation.lgcpPredictSpatialOnlyPlusParameters function
hvals.lgcpPredict

hvals.lgcpPredict function
condProbs

condProbs function
getCellCounts

getCellCounts function
grid2spoly

grid2spoly function
intens.lgcpPredict

intens.lgcpPredict function
print.temporalAtRisk

print.temporalAtRisk function
rescale.stppp

rescale.stppp function
gridav.lgcpPredict

gridav.lgcpPredict function
seintens.lgcpPredict

seintens.lgcpPredict function
setTxtProgressBar2

set the progress bar
spatialAtRisk.fromXYZ

spatialAtRisk.fromXYZ function
summary.mcmc

summary.mcmc function
intens.lgcpSimSpatialPlusParameters

intens.lgcpSimSpatialPlusParameters function
showGrid.lgcpPredict

showGrid.lgcpPredict function
temporalAtRisk

temporalAtRisk function
xvals.SpatialGridDataFrame

xvals.SpatialGridDataFrame function
xvals.default

xvals.default function
seintens

seintens function
is.burnin

is this a burn-in iteration?
updateAMCMC

updateAMCMC function
lgcpPredictSpatialINLA

lgcpPredictSpatialINLA function
lgcpPredict

lgcpPredict function
quantile.lgcpPredict

quantile.lgcpPredict function
yvals.fromXYZ

yvals.fromXYZ function
print.fromXYZ

print.fromXYZ function
plotExceed

plotExceed function
wpopdata

Population of Welsh counties
initialiseAMCMC.andrieuthomsh

initaliseAMCMC.andrieuthomsh function
lgcpPredictAggregateSpatialPlusPars

lgcpPredictAggregateSpatialPlusPars function
lgcpgrid.array

lgcpgrid.array function
GPdrv2

GPdrv2 function
MALAlgcpMultitypeSpatial.PlusPars

MALAlgcpMultitypeSpatial.PlusPars function
lgcpgrid.matrix

lgcpgrid.matrix function
GPlist2array

GPlist2array function
MonteCarloAverage

MonteCarloAverage function
GAreturnvalue

GAreturnvalue function
discreteWindow

discreteWindow function
computeGradtruncSpatioTemporal

computeGradtruncSpatioTemporal function
ginhomAverage

ginhomAverage function
ltar

ltar function
integerise

integerise function
plot.lgcpPredict

plot.lgcpPredict function
lgcpPredictSpatialPlusPars

lgcpPredictSpatialPlusPars function
print.dump2dir

print.dump2dir function
resetLoop

reset iterator
spatialAtRisk.function

spatialAtRisk.function function
toral.cov.mat

toral.cov.mat function
transblue

transblue function
window.lgcpPredict

window.lgcpPredict function
GFfinalise

GFfinalise function
PriorSpec

PriorSpec function
as.fromXYZ.fromFunction

as.fromXYZ.fromFunction function
SpikedExponentialCovFct

SpikedExponentialCovFct function
as.im.fromFunction

as.im.fromFunction function
as.im.fromXYZ

as.im.fromXYZ function
as.ppp.stppp

as.ppp.stppp function
autocorr

autocorr function
dump2dir

dump2dir function
cov.interp.fft

cov.interp.fft function
hvals

hvals function
getZmat

getZmat function
lgcpForecast

lgcpForecast function
identifygrid

identifygrid function
meanfield.lgcpPredictINLA

meanfield.lgcpPredictINLA function
my.KinhomAverage

my.KinhomAverage function
mstppp

mstppp function
plotit

plotit function
postcov.lgcpPredictSpatialOnlyPlusParameters

postcov.lgcpPredictSpatialOnlyPlusParameters function
plot.lgcpgrid

plot.lgcpgrid function
showGrid.stppp

showGrid.stppp function
serr.lgcpPredict

serr.lgcpPredict function
postcov.lgcpPredictMultitypeSpatialPlusParameters

postcov.lgcpPredictMultitypeSpatialPlusParameters function
setoutput

setoutput function
temporalAtRisk.function

temporalAtRisk.function function
zvals.fromXYZ

zvals.fromXYZ function
touchingowin

touchingowin function
traceplots

traceplots function
updateAMCMC.constanth

updateAMCMC.constanth function
zvals.default

zvals.default function
spatialAtRisk.default

spatialAtRisk.default function
lgcpPredictSpatial

lgcpPredictSpatial function
GFreturnvalue.nullFunction

GFreturnvalue.nullFunction function
lambdaEst.ppp

lambdaEst.ppp function
neattable

neattable function
mstppp.stppp

mstppp.stppp function
nextStep

next step of an MCMC chain
nullAverage

nullAverage function
plot.mcmcdiag

plot.mcmcdiag function
plotExceed.array

plotExceed.array function
rotmat

rotmat function
segProbs

segProbs function
target.and.grad.spatial

target.and.grad.spatial function
transgreen

transgreen function
yvals.lgcpPredict

yvals.lgcpPredict function
print.lgcpPredict

print.lgcpPredict function
spatialAtRisk.SpatialGridDataFrame

spatialAtRisk.SpatialGridDataFrame function
C.diff.single.im

C.diff.single.im function
assigninterp

assigninterp function
as.im.fromSPDF

as.im.fromSPDF function
blockcircbase

blockcircbase function
getZmats

getZmats function
lgcpInits

lgcpInits function
mcmctrace.lgcpPredict

mcmctrace.lgcpPredict function
stapp.list

stapp.list function
varfield.lgcpPredict

varfield.lgcpPredict function
GAupdate

GAupdate function
GAreturnvalue.nullAverage

GAreturnvalue.nullAverage function##'
MALAlgcpSpatial.PlusPars

MALAlgcpSpatial.PlusPars function
aggregateCovariateInfo

aggregateCovariateInfo function
GFinitialise.nullFunction

GFinitialise.nullFunction function
as.list.lgcpgrid

as.list.lgcpgrid function
affine.fromSPDF

affine.fromSPDF function
fftmultiply

fftmultiply function
g.diff.single

g.diff.single function
getRotation

getRotation function
getlgcpPredictSpatialINLA

getlgcpPredictSpatialINLA function
addTemporalCovariates

addTemporalCovariates function
lgcpPredictAggregated

lgcpPredictAggregated function
multiply.list

multiply.list function
muEst

muEst function
numCases

numCases function
plot.lgcpQuantiles

plot.lgcpQuantiles function
plot.temporalAtRisk

plot.temporalAtRisk function
spatialAtRisk.lgcpgrid

spatialAtRisk.lgcpgrid function
updateAMCMC.andrieuthomsh

updateAMCMC.andrieuthomsh function