Learn R Programming

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

lgcp (version 1.3-8)

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

854

Version

1.3-8

License

GPL-2 | GPL-3

Maintainer

Benjamin Taylor

Last Published

February 4th, 2015

Functions in lgcp (1.3-8)

BetaParameters

BetaParameters function
as.ppp.stppp

as.ppp.stppp function
extract

extract function
as.im.fromFunction

as.im.fromFunction function
gu

gu function
affine.fromSPDF

affine.fromSPDF function
GFupdate

GFupdate function
MonteCarloAverage

MonteCarloAverage function
LogGaussianPrior

LogGaussianPrior function
CovParameters

CovParameters function
GAupdate

GAupdate function
YfromGamma

YfromGamma function
EvaluatePrior

EvaluatePrior function
as.array.lgcpgrid

as.array.lgcpgrid function
as.fromXYZ.fromFunction

as.fromXYZ.fromFunction function
GAupdate.nullAverage

GAupdate.nullAverage function
GFreturnvalue.nullFunction

GFreturnvalue.nullFunction function
circulant.numeric

circulant.numeric function
C.diff.single.im

C.diff.single.im function
GPdrv

GPdrv function
as.owinlist.stapp

as.owinlist.stapp function
aggCovInfo.ArealWeightedSum

aggCovInfo.ArealWeightedSum function
affine.SpatialPolygonsDataFrame

affine.SpatialPolygonsDataFrame function
fftgrid

fftgrid function
GPdrv2_Multitype

GPdrv2_Multitype function
as.fromXYZ

as.fromXYZ function
as.list.lgcpgrid

as.list.lgcpgrid function
constanth

constanth function
blockcircbaseFunction

blockcircbaseFunction function
GAreturnvalue

GAreturnvalue function
MALAlgcpSpatial.PlusPars

MALAlgcpSpatial.PlusPars function
GAinitialise

GAinitialise function
as.stppp

as.stppp function
as.im.fromXYZ

as.im.fromXYZ function
lgcpgrid.array

lgcpgrid.array function
MALAlgcp

MALAlgcp function
lambdaEst.stppp

lambdaEst.stppp function
gridav

gridav function
Extract.stppp

Extract.stppp function
initialiseAMCMC.andrieuthomsh

initaliseAMCMC.andrieuthomsh function
GFreturnvalue.dump2dir

GFreturnvalue.dump2dir function
mstppp.list

mstppp.list function
grid2spix

grid2spix function
GFfinalise.dump2dir

GFfinalise.dump2dir function
computeGradtruncSpatial

computeGradtruncSpatial function
intens.lgcpSimMultitypeSpatialPlusParameters

intens.lgcpSimMultitypeSpatialPlusParameters function
aggCovInfo.ArealWeightedMean

aggCovInfo.ArealWeightedMean function
meanfield.lgcpPredictINLA

meanfield.lgcpPredictINLA function
GAinitialise.nullAverage

GAinitialise.nullAverage function
fftinterpolate.fromXYZ

interpolate.fromXYZ function
bt.scalar

bt.scalar function
as.im.fromSPDF

as.im.fromSPDF function
affine.fromFunction

affine.fromFunction function
GaussianPrior

GaussianPrior function
MALAlgcpMultitypeSpatial.PlusPars

MALAlgcpMultitypeSpatial.PlusPars function
spatialAtRisk.lgcpgrid

spatialAtRisk.lgcpgrid function
hasNext

generic hasNext method
add.list

add.list function
aggregateCovariateInfo

aggregateCovariateInfo function
ltar

ltar function
autocorrMultitype

autocorrMultitype function
initialiseAMCMC.constanth

initaliseAMCMC.constanth function
as.stppp.stapp

as.stppp.stapp function
autocorr

autocorr function
constantInTime

constantInTime function
as.SpatialPixelsDataFrame.lgcpgrid

as.SpatialPixelsDataFrame.lgcpgrid function
circulant

circulant function
lgcpSimSpatialCovariates

lgcpSimSpatialCovariates function
target.and.grad.spatial

target.and.grad.spatial function
K.val

K.val function
chooseCellwidth

chooseCellwidth function
CovFunction.function

CovFunction.function function
integerise

integerise function
initialiseAMCMC

initialiseAMCMC function
grid2spts

grid2spts function
CovFunction

CovFunction function
density.stppp

density.stppp function
expectation

expectation function
lgcpPredictAggregateSpatialPlusPars

lgcpPredictAggregateSpatialPlusPars function
seintens.lgcpPredict

seintens.lgcpPredict function
as.SpatialGridDataFrame

as.SpatialGridDataFrame function
exceedProbs

exceedProbs function
lgcpbayes

lgcpbayes function
selectObsWindow

selectObsWindow function
condProbs

condProbs function
GAfinalise.nullAverage

GAfinalise.nullAverage function
plot.lgcpQuantiles

plot.lgcpQuantiles function
K.diff.single

K.diff.single function
hvals.lgcpPredict

hvals.lgcpPredict function
cov.interp.fft

cov.interp.fft function
spatialAtRisk

spatialAtRisk function
temporalAtRisk.function

temporalAtRisk.function function
betavals

betavals function
transgreen

transgreen function
transblack

transblack function
GFupdate.dump2dir

GFupdate.dump2dir function
GFupdate.nullFunction

GFupdate.nullFunction function
varfield.lgcpPredictINLA

varfield.lgcpPredictINLA function
GPrealisation

GPrealisation function
affine.stppp

affine.stppp function
window.lgcpPredict

window.lgcpPredict function
aggregateformulaList

aggregateformulaList function
lambdaEst.ppp

lambdaEst.ppp function
affine.fromXYZ

affine.fromXYZ function
lgcppars

lgcppars function
guessinterp

guessinterp function
as.owinlist

as.owinlist function
wtowns

Welsh town details: population
mstppp

mstppp function
gridfun.lgcpPredict

gridfun.lgcpPredict function
exponentialCovFct

exponentialCovFct function
print.stppp

print.stppp function
minimum.contrast

minimum.contrast function
PriorSpec.list

PriorSpec.list function
as.SpatialGridDataFrame.fromXYZ

as.SpatialGridDataFrame.fromXYZ function
fftinterpolate

fftinterpolate function
yvals

yvals function
lambdaEst

lambdaEst function
spatialparsEst

spatialparsEst function
as.ppp.mstppp

as.ppp.mstppp function
getCovParameters.list

getCovParameters.list function
covEffects

covEffects function
KinhomAverage

KinhomAverage function
intens.lgcpPredict

intens.lgcpPredict function
assigninterp

assigninterp function
constantInTime.stppp

constantInTime.stppp function
neigh2D

neigh2D function
integerise.stppp

integerise.stppp function
fftmultiply

fftmultiply function
eigenfrombase

eigenfrombase function
getRotation.default

getRotation.default function
mcmctrace.lgcpPredict

mcmctrace.lgcpPredict function
getRotation

getRotation function
lgcpPredictMultitypeSpatialPlusPars

lgcpPredictMultitypeSpatialPlusPars function
lgcpPredictSpatialPlusPars

lgcpPredictSpatialPlusPars function
fftinterpolate.fromFunction

fftinterpolate.fromFunction function
integerise.mstppp

integerise.mstppp function
circulant.matrix

circulant.matrix function
lgcpgrid.list

lgcpgrid.list function
spatialIntensities.fromSPDF

spatialIntensities.fromSPDF function
blockcircbase

blockcircbase function
lgcp-package

lgcp
dump2dir

dump2dir function
gridfun

gridfun function
numCases

numCases function
getCellCounts

getCellCounts function
Cvb

Cvb function
mstppp.ppp

mstppp.ppp function
getup

getup function
rr.lgcpPredict

rr.lgcpPredict function
lgcpPredictSpatial

lgcpPredictSpatial function
matchcovariance

matchcovariance function
temporalAtRisk.numeric

temporalAtRisk.numeric function
getCovParameters.GPrealisation

getCovParameters.GPrealisation function
lgcpInits

lgcpInits function
parautocorr

parautocorr function
stapp.list

stapp.list function
lgcpSim

lgcpSim function
Extract.mstppp

Extract.mstppp function
plotExceed

plotExceed function
GAupdate.MonteCarloAverage

GAupdate.MonteCarloAverage function
getinterp

getinterp function
plot.lgcpPredict

plot.lgcpPredict function
identify.lgcpPredict

identify.lgcpPredict function
plotit

plotit function
lgcpPredictSpatioTemporalPlusPars

lgcpPredictSpatioTemporalPlusPars function
GAfinalise.MonteCarloAverage

GAfinalise.MonteCarloAverage function
GammafromY

GammafromY function
print.lgcpgrid

print.lgcpgrid function
print.temporalAtRisk

print.temporalAtRisk function
GPlist2array

GPlist2array function
stppp

stppp function
interptypes

interptypes function
loop.mcmc

loop over an iterator
mcmcpars

mcmcpars function
rescale.stppp

rescale.stppp function
GAinitialise.MonteCarloAverage

GAinitialise.MonteCarloAverage function
aggCovInfo.Majority

aggCovInfo.Majority function
print.gridaverage

print.gridaverage function
nullAverage

nullAverage function
getlgcpPredictSpatialINLA

getlgcpPredictSpatialINLA function
quantile.lgcpgrid

quantile.lgcpgrid function
multiply.list

multiply.list function
GFinitialise.dump2dir

GFinitialise.dump2dir function
mcmctrace

mcmctrace function
lgcpPredictAggregated

lgcpPredictAggregated function
as.owinlist.SpatialPolygonsDataFrame

as.owinlist.SpatialPolygonsDataFrame function
addTemporalCovariates

addTemporalCovariates function
print.stapp

print.stapp function
GFinitialise.nullFunction

GFinitialise.nullFunction function
spatialAtRisk.im

spatialAtRisk.im function
spatialAtRisk.default

spatialAtRisk.default function
sparsebase

sparsebase function
summary.lgcpgrid

summary.lgcpgrid function
raster.lgcpgrid

raster.lgcpgrid function
mstppp.stppp

mstppp.stppp function
postcov.lgcpPredictSpatialOnlyPlusParameters

postcov.lgcpPredictSpatialOnlyPlusParameters function
plot.fromXYZ

plot.fromXYZ function
GFreturnvalue

GFreturnvalue function
lgcpPredict

lgcpPredict function
PriorSpec

PriorSpec function
setoutput

setoutput function
aggCovInfo

aggCovInfo function
fftinterpolate.fromSPDF

fftinterpolate.fromSPDF function
GPdrv2

GPdrv2 function
spatialAtRisk.function

spatialAtRisk.function function
print.dump2dir

print.dump2dir function
print.lgcpPredict

print.lgcpPredict function
minimum.contrast.spatiotemporal

minimum.contrast.spatiotemporal function
mcmcProgressTk

graphical progress monitor
print.mcmc

print.mcmc function
serr.lgcpPredict

serr.lgcpPredict function
grid2spoly

grid2spoly function
mcmcProgressNone

null progress monitor
xvals.SpatialGridDataFrame

xvals.SpatialGridDataFrame function
iteration

iteration number
loc2poly

loc2poly function
rgauss

rgauss function
xvals.lgcpPredict

xvals.lgcpPredict function
xvals.fromXYZ

xvals.fromXYZ function
print.fromSPDF

print.fromSPDF function
neattable

neattable function
MALAlgcpAggregateSpatial.PlusPars

MALAlgcpAggregateSpatial.PlusPars function
zvals.SpatialGridDataFrame

zvals.SpatialGridDataFrame function
yvals.default

yvals.default function
updateAMCMC.constanth

updateAMCMC.constanth function
transblue

transblue function
summary.mcmc

summary.mcmc function
txtProgressBar2

A text progress bar with label
RandomFieldsCovFct

RandomFieldsCovFct function
stapp.SpatialPolygonsDataFrame

stapp.SpatialPolygonsDataFrame function
target.and.grad.spatiotemporal

target.and.grad.spatiotemporal function
discreteWindow

discreteWindow function
d.func

d.func function
getZmats

getZmats function
as.SpatialPixelsDataFrame

as.SpatialPixelsDataFrame function
plot.lgcpAutocorr

plot.lgcpAutocorr function
showGrid.lgcpPredict

showGrid.lgcpPredict function
gridav.lgcpPredict

gridav.lgcpPredict function
plot.lgcpgrid

plot.lgcpgrid function
plotExceed.array

plotExceed.array function
SpikedExponentialCovFct

SpikedExponentialCovFct function
toral.cov.mat

toral.cov.mat function
print.mstppp

print.mstppp function
constantInTime.numeric

constantInTime.numeric function
showGrid

showGrid function
updateAMCMC

updateAMCMC function
is.SPD

is.SPD function
checkObsWin

checkObsWin function
setTxtProgressBar2

set the progress bar
plot.mstppp

plot.mstppp function
serr

serr function
rr

rr function
clearinterp

clearinterp function
lgcpgrid.matrix

lgcpgrid.matrix function
g.diff.single

g.diff.single function
varfield.lgcpPredict

varfield.lgcpPredict function
selectObsWindow.default

selectObsWindow.default function
mcmcProgressPrint

printing progress monitor
stppp.ppp

stppp.ppp function
showGrid.stppp

showGrid.stppp function
gOverlay

gOverlay function
wpopdata

Population of Welsh counties
stppp.list

stppp.list function
yvals.fromXYZ

yvals.fromXYZ function
varfield

varfield function
is.retain

do we retain this iteration?
discreteWindow.lgcpPredict

discreteWindow.lgcpPredict function
textsummary

textsummary function
etavals

etavals function
print.fromFunction

print.fromFunction function
target.and.grad.spatialPlusPars

target.and.grad.spatialPlusPars function
getLHSformulaList

getLHSformulaList function
plotExceed.lgcpPredict

plotExceed.lgcpPredict function
getpolyol

getpolyol function
tempRaster

tempRaster function
xvals.default

xvals.default function
quantile.lgcpPredict

quantile.lgcpPredict function
my.ginhomAverage

my.ginhomAverage function
stGPrealisation

stGPrealisation function
mcmcProgressTextBar

text bar progress monitor
zvals.fromXYZ

zvals.fromXYZ function
zvals

zvals function
postcov.lgcpPredictMultitypeSpatialPlusParameters

postcov.lgcpPredictMultitypeSpatialPlusParameters function
GAfinalise

GAfinalise function
updateAMCMC.andrieuthomsh

updateAMCMC.andrieuthomsh function
lgcpPrior

lgcpPrior function
spatialAtRisk.bivden

spatialAtRisk.bivden function
osppp2latlon

osppp2latlon function
wtowncoords

Welsh town details: location
yvals.lgcpPredict

yvals.lgcpPredict function
gridInWindow

gridInWindow function
zvals.default

zvals.default function
identifygrid

identifygrid function
GAreturnvalue.MonteCarloAverage

GAreturnvalue.MonteCarloAverage function
extract.lgcpPredict

extract.lgcpPredict function
thetaEst

thetaEst function
postcov.lgcpPredictAggregateSpatialPlusParameters

postcov.lgcpPredictAggregateSpatialPlusParameters function
MALAlgcpSpatioTemporal.PlusPars

MALAlgcpSpatioTemporal.PlusPars function
inversebase

inversebase function
roteffgain

roteffgain function
intens.lgcpSimSpatialPlusParameters

intens.lgcpSimSpatialPlusParameters function
print.fromXYZ

print.fromXYZ function
spatialIntensities.fromXYZ

spatialIntensities.fromXYZ function
samplePosterior

samplePosterior function
seintens

seintens function
segProbs

segProbs function
MALAlgcpSpatial

MALAlgcpSpatial function
showGrid.default

showGrid.default function
lgcpForecast

lgcpForecast function
lgcpPredictSpatialINLA

lgcpPredictSpatialINLA function
intens

intens function
GFfinalise.nullFunction

GFfinalise.nullFunction function
smultiply.list

smultiply.list function
xvals

xvals function
stapp

stapp function
traceplots

traceplots function
SpatialPolygonsDataFrame.stapp

SpatialPolygonsDataFrame.stapp function
GFfinalise

GFfinalise function
lgcpSimMultitypeSpatialCovariates

lgcpSimMultitypeSpatialCovariates function
mcmcLoop

iterator for MCMC loops
at

at function
nullFunction

nullFunction function
meanfield

meanfield function
my.KinhomAverage

my.KinhomAverage function
expectation.lgcpPredictSpatialOnlyPlusParameters

expectation.lgcpPredictSpatialOnlyPlusParameters function
plot.fromSPDF

plot.fromSPDF function
extendspatialAtRisk

extendspatialAtRisk function
getZmat

getZmat function
computeGradtruncSpatioTemporal

computeGradtruncSpatioTemporal function
postcov

postcov function
hvals

hvals function
spatialAtRisk.SpatialPolygonsDataFrame

spatialAtRisk.SpatialPolygonsDataFrame function
lgcpgrid

lgcpgrid function
target.and.grad.MultitypespatialPlusPars

target.and.grad.MultitypespatialPlusPars function
rescale.mstppp

rescale.mstppp function
postcov.lgcpPredictSpatioTemporalPlusParameters

postcov.lgcpPredictSpatioTemporalPlusParameters function
resetLoop

reset iterator
nextStep

next step of an MCMC chain
formulaList

formulaList function
osppp2merc

osppp2merc function
plot.stppp

plot.stppp function
priorpost

priorpost function
ginhomAverage

ginhomAverage function
spatialAtRisk.fromXYZ

spatialAtRisk.fromXYZ function
target.and.grad.SpatioTemporalPlusPars

target.and.grad.SpatioTemporalPlusPars function
transred

transred function
paramprecbase

paramprecbase function
temporalAtRisk

temporalAtRisk function
yvals.SpatialGridDataFrame

yvals.SpatialGridDataFrame function
meanfield.lgcpPredict

meanfield.lgcpPredict function
paramprec

paramprec function
spatialIntensities

spatialIntensities function
touchingowin

touchingowin function
plot.mcmcdiag

plot.mcmcdiag function
plot.temporalAtRisk

plot.temporalAtRisk function
selectObsWindow.stppp

selectObsWindow.stppp function
exceedProbsAggregated

exceedProbsAggregated function
K.u

K.u function
getCovParameters

getCovParameters function
getRotation.stppp

getRotation.stppp function
grid2spdf

grid2spdf function
image.lgcpgrid

image.lgcpgrid function
lgcpSimSpatial

lgcpSimSpatial function
muEst

muEst function
rotmat

rotmat function
spatialAtRisk.SpatialGridDataFrame

spatialAtRisk.SpatialGridDataFrame function
target.and.grad.AggregateSpatialPlusPars

target.and.grad.AggregateSpatialPlusPars function
GFinitialise

GFinitialise function
GAreturnvalue.nullAverage

GAreturnvalue.nullAverage function##'
andrieuthomsh

andrieuthomsh function
as.owin.stapp

as.owin.stapp function
expectation.lgcpPredict

expectation.lgcpPredict function
genFFTgrid

genFFTgrid function
getCounts

getCounts function
hasNext.iter

hasNext.iter function
is.burnin

is this a burn-in iteration?
is.pow2

is.pow2 function
lgcpvignette

lgcpvignette function
plot.lgcpZmat

plot.lgcpZmat function
parsummary

parsummary function