Learn R Programming

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

lgcp (version 1.3-2)

Log-Gaussian Cox Process

Description

Spatial and spatio-temporal modelling of point patterns using the log-Gaussian Cox process

Copy Link

Version

Install

install.packages('lgcp')

Monthly Downloads

822

Version

1.3-2

License

GPL-3

Maintainer

Benjamin Taylor

Last Published

June 14th, 2013

Functions in lgcp (1.3-2)

CovParameters

CovParameters function
GFfinalise.dump2dir

GFfinalise.dump2dir function
Extract.mstppp

Extract.mstppp function
andrieuthomsh

andrieuthomsh function
as.fromXYZ

as.fromXYZ function
KinhomAverage

KinhomAverage function
expectation.lgcpPredictSpatialOnlyPlusParameters

expectation.lgcpPredictSpatialOnlyPlusParameters function
GaussianPrior

GaussianPrior function
aggregateformulaList

aggregateformulaList function
as.ppp.mstppp

as.ppp.mstppp function
GAupdate

GAupdate function
GAfinalise.nullAverage

GAfinalise.nullAverage function
constantInTime.stppp

constantInTime.stppp function
GPdrv

GPdrv function
aggCovInfo.ArealWeightedMean

aggCovInfo.ArealWeightedMean function
discreteWindow.lgcpPredict

discreteWindow.lgcpPredict function
K.diff.single

K.diff.single function
aggCovInfo

aggCovInfo function
MALAlgcpSpatial

MALAlgcpSpatial function
aggCovInfo.ArealWeightedSum

aggCovInfo.ArealWeightedSum function
circulant.matrix

circulant.matrix function
GFfinalise.nullFunction

GFfinalise.nullFunction function
g.diff.single

g.diff.single function
getRotation.stppp

getRotation.stppp function
GFupdate.dump2dir

GFupdate.dump2dir function
GAreturnvalue.nullAverage

GAreturnvalue.nullAverage function##'
gridfun

gridfun function
affine.fromXYZ

affine.fromXYZ function
as.owinlist

as.owinlist function
computeGradtruncSpatial

computeGradtruncSpatial function
GAreturnvalue.MonteCarloAverage

GAreturnvalue.MonteCarloAverage function
MALAlgcpSpatioTemporal.PlusPars

MALAlgcpSpatioTemporal.PlusPars function
GPlist2array

GPlist2array function
MALAlgcp

MALAlgcp function
GAinitialise

GAinitialise function
BetaParameters

BetaParameters function
as.SpatialGridDataFrame

as.SpatialGridDataFrame function
SpatialPolygonsDataFrame.stapp

SpatialPolygonsDataFrame.stapp function
bt.scalar

bt.scalar function
GFupdate

GFupdate function
grid2spix

grid2spix function
constanth

constanth function
GPdrv2_Multitype

GPdrv2_Multitype function
getup

getup function
intens

intens function
getpolyol

getpolyol function
as.stppp.stapp

as.stppp.stapp function
CovFunction

CovFunction function
as.SpatialGridDataFrame.fromXYZ

as.SpatialGridDataFrame.fromXYZ function
lgcppars

lgcppars function
LogGaussianPrior

LogGaussianPrior function
fftinterpolate

fftinterpolate function
GAreturnvalue

GAreturnvalue function
is.burnin

is this a burn-in iteration?
gridInWindow

gridInWindow function
GammafromY

GammafromY function
blockcircbase

blockcircbase function
affine.fromSPDF

affine.fromSPDF function
meanfield.lgcpPredict

meanfield.lgcpPredict function
integerise.stppp

integerise.stppp function
intens.lgcpPredict

intens.lgcpPredict function
loc2poly

loc2poly function
mstppp

mstppp function
d.func

d.func function
initialiseAMCMC

initialiseAMCMC function
lgcpPredict

lgcpPredict function
EvaluatePrior

EvaluatePrior function
lgcpPredictMultitypeSpatialPlusPars

lgcpPredictMultitypeSpatialPlusPars function
minimum.contrast

minimum.contrast function
plot.lgcpgrid

plot.lgcpgrid function
lgcpInits

lgcpInits function
as.SpatialPixelsDataFrame

as.SpatialPixelsDataFrame function
Cvb

Cvb function
as.array.lgcpgrid

as.array.lgcpgrid function
lgcpSimMultitypeSpatialCovariates

lgcpSimMultitypeSpatialCovariates function
as.stppp

as.stppp function
GFinitialise.dump2dir

GFinitialise.dump2dir function
chooseCellwidth

chooseCellwidth function
GAupdate.nullAverage

GAupdate.nullAverage function
plot.lgcpZmat

plot.lgcpZmat function
constantInTime.numeric

constantInTime.numeric function
MALAlgcpSpatial.PlusPars

MALAlgcpSpatial.PlusPars function
image.lgcpgrid

image.lgcpgrid function
checkObsWin

checkObsWin function
affine.stppp

affine.stppp function
meanfield.lgcpPredictINLA

meanfield.lgcpPredictINLA function
assigninterp

assigninterp function
MonteCarloAverage

MonteCarloAverage function
lgcpPredictSpatial

lgcpPredictSpatial function
mcmctrace

mcmctrace function
etavals

etavals function
postcov

postcov function
lgcpPredictAggregated

lgcpPredictAggregated function
mcmcpars

mcmcpars function
extract.lgcpPredict

extract.lgcpPredict function
plot.fromXYZ

plot.fromXYZ function
extendspatialAtRisk

extendspatialAtRisk function
GAfinalise

GAfinalise function
density.stppp

density.stppp function
discreteWindow

discreteWindow function
GAinitialise.nullAverage

GAinitialise.nullAverage function
mcmcProgressTk

graphical progress monitor
fftinterpolate.fromSPDF

fftinterpolate.fromSPDF function
extract

extract function
fftgrid

fftgrid function
plot.lgcpQuantiles

plot.lgcpQuantiles function
lgcpSimSpatialCovariates

lgcpSimSpatialCovariates function
ginhomAverage

ginhomAverage function
lgcpSimSpatial

lgcpSimSpatial function
getCounts

getCounts function
hvals.lgcpPredict

hvals.lgcpPredict function
affine.SpatialPolygonsDataFrame

affine.SpatialPolygonsDataFrame function
print.fromFunction

print.fromFunction function
getRotation.default

getRotation.default function
exponentialCovFct

exponentialCovFct function
is.SPD

is.SPD function
gu

gu function
plot.mstppp

plot.mstppp function
print.temporalAtRisk

print.temporalAtRisk function
spatialAtRisk.SpatialGridDataFrame

spatialAtRisk.SpatialGridDataFrame function
lgcpForecast

lgcpForecast function
mcmcProgressPrint

printing progress monitor
print.mcmc

print.mcmc function
print.gridaverage

print.gridaverage function
seintens

seintens function
my.KinhomAverage

my.KinhomAverage function
eigenfrombase

eigenfrombase function
print.mstppp

print.mstppp function
is.retain

do we retain this iteration?
updateAMCMC.andrieuthomsh

updateAMCMC.andrieuthomsh function
spatialAtRisk.bivden

spatialAtRisk.bivden function
print.lgcpPredict

print.lgcpPredict function
samplePosterior

samplePosterior function
nextStep

next step of an MCMC chain
serr

serr function
rr

rr function
raster.lgcpgrid

raster.lgcpgrid function
showGrid.default

showGrid.default function
grid2spdf

grid2spdf function
GPrealisation

GPrealisation function
GAupdate.MonteCarloAverage

GAupdate.MonteCarloAverage function
resetLoop

reset iterator
stapp.list

stapp.list function
guessinterp

guessinterp function
parsummary

parsummary function
sparsebase

sparsebase function
getZmats

getZmats function
minimum.contrast.spatiotemporal

minimum.contrast.spatiotemporal function
summary.lgcpgrid

summary.lgcpgrid function
lgcpgrid

lgcpgrid function
postcov.lgcpPredictSpatioTemporalPlusParameters

postcov.lgcpPredictSpatioTemporalPlusParameters function
lgcp

lgcp
plot.fromSPDF

plot.fromSPDF function
quantile.lgcpgrid

quantile.lgcpgrid function
target.and.grad.spatial

target.and.grad.spatial function
target.and.grad.MultitypespatialPlusPars

target.and.grad.MultitypespatialPlusPars function
spatialAtRisk.default

spatialAtRisk.default function
as.im.fromSPDF

as.im.fromSPDF function
spatialIntensities

spatialIntensities function
autocorrMultitype

autocorrMultitype function
SpikedExponentialCovFct

SpikedExponentialCovFct function
thetaEst

thetaEst function
rr.lgcpPredict

rr.lgcpPredict function
at

at function
as.im.fromXYZ

as.im.fromXYZ function
lgcpPredictSpatioTemporalPlusPars

lgcpPredictSpatioTemporalPlusPars function
spatialIntensities.fromSPDF

spatialIntensities.fromSPDF function
iteration

iteration number
priorpost

priorpost function
PriorSpec

PriorSpec function
xvals

xvals function
transblue

transblue function
yvals.lgcpPredict

yvals.lgcpPredict function
lgcpgrid.list

lgcpgrid.list function
stapp.SpatialPolygonsDataFrame

stapp.SpatialPolygonsDataFrame function
dump2dir

dump2dir function
as.im.fromFunction

as.im.fromFunction function
target.and.grad.AggregateSpatialPlusPars

target.and.grad.AggregateSpatialPlusPars function
mstppp.list

mstppp.list function
yvals.SpatialGridDataFrame

yvals.SpatialGridDataFrame function
transred

transred function
zvals.fromXYZ

zvals.fromXYZ function
tempRaster

tempRaster function
GPdrv2

GPdrv2 function
rescale.stppp

rescale.stppp function
as.ppp.stppp

as.ppp.stppp function
exceedProbs

exceedProbs function
print.stppp

print.stppp function
varfield.lgcpPredict

varfield.lgcpPredict function
temporalAtRisk

temporalAtRisk function
betavals

betavals function
smultiply.list

smultiply.list function
blockcircbaseFunction

blockcircbaseFunction function
mstppp.stppp

mstppp.stppp function
genFFTgrid

genFFTgrid function
MALAlgcpMultitypeSpatial.PlusPars

MALAlgcpMultitypeSpatial.PlusPars function
rgauss

rgauss function
MALAlgcpAggregateSpatial.PlusPars

MALAlgcpAggregateSpatial.PlusPars function
getZmat

getZmat function
updateAMCMC.constanth

updateAMCMC.constanth function
spatialAtRisk.im

spatialAtRisk.im function
getinterp

getinterp function
mcmcProgressNone

null progress monitor
zvals.default

zvals.default function
plot.lgcpAutocorr

plot.lgcpAutocorr function
numCases

numCases function
temporalAtRisk.numeric

temporalAtRisk.numeric function
getCovParameters.GPrealisation

getCovParameters.GPrealisation function
hasNext.iter

hasNext.iter function
gridav

gridav function
condProbs

condProbs function
wtowns

Welsh town details: population
identifygrid

identifygrid function
varfield.lgcpPredictINLA

varfield.lgcpPredictINLA function
addTemporalCovariates

addTemporalCovariates function
target.and.grad.SpatioTemporalPlusPars

target.and.grad.SpatioTemporalPlusPars function
YfromGamma

YfromGamma function
interptypes

interptypes function
plot.temporalAtRisk

plot.temporalAtRisk function
neattable

neattable function
touchingowin

touchingowin function
autocorr

autocorr function
Extract.stppp

Extract.stppp function
GAinitialise.MonteCarloAverage

GAinitialise.MonteCarloAverage function
postcov.lgcpPredictSpatialOnlyPlusParameters

postcov.lgcpPredictSpatialOnlyPlusParameters function
fftinterpolate.fromFunction

fftinterpolate.fromFunction function
mcmctrace.lgcpPredict

mcmctrace.lgcpPredict function
fftmultiply

fftmultiply function
getLHSformulaList

getLHSformulaList function
stppp.list

stppp.list function
meanfield

meanfield function
GFreturnvalue.dump2dir

GFreturnvalue.dump2dir function
muEst

muEst function
postcov.lgcpPredictAggregateSpatialPlusParameters

postcov.lgcpPredictAggregateSpatialPlusParameters function
CovFunction.function

CovFunction.function function
constantInTime

constantInTime function
aggregateCovariateInfo

aggregateCovariateInfo function
getCovParameters

getCovParameters function
matchcovariance

matchcovariance function
circulant.numeric

circulant.numeric function
integerise.mstppp

integerise.mstppp function
paramprecbase

paramprecbase function
getlgcpPredictSpatialINLA

getlgcpPredictSpatialINLA function
xvals.lgcpPredict

xvals.lgcpPredict function
plotExceed

plotExceed function
gridfun.lgcpPredict

gridfun.lgcpPredict function
seintens.lgcpPredict

seintens.lgcpPredict function
identify.lgcpPredict

identify.lgcpPredict function
lgcpPredictSpatialINLA

lgcpPredictSpatialINLA function
xvals.fromXYZ

xvals.fromXYZ function
hvals

hvals function
affine.fromFunction

affine.fromFunction function
ltar

ltar function
plotExceed.array

plotExceed.array function
intens.lgcpSimSpatialPlusParameters

intens.lgcpSimSpatialPlusParameters function
spatialAtRisk

spatialAtRisk function
computeGradtruncSpatioTemporal

computeGradtruncSpatioTemporal function
mstppp.ppp

mstppp.ppp function
clearinterp

clearinterp function
gOverlay

gOverlay function
multiply.list

multiply.list function
mcmcLoop

iterator for MCMC loops
plot.mcmcdiag

plot.mcmcdiag function
formulaList

formulaList function
plotExceed.lgcpPredict

plotExceed.lgcpPredict function
lgcpSim

lgcpSim function
print.stapp

print.stapp function
stppp

stppp function
showGrid.lgcpPredict

showGrid.lgcpPredict function
plot.stppp

plot.stppp function
roteffgain

roteffgain function
loop.mcmc

loop over an iterator
spatialAtRisk.fromXYZ

spatialAtRisk.fromXYZ function
lgcpgrid.array

lgcpgrid.array function
hasNext

generic hasNext method
yvals.default

yvals.default function
spatialIntensities.fromXYZ

spatialIntensities.fromXYZ function
my.ginhomAverage

my.ginhomAverage function
target.and.grad.spatiotemporal

target.and.grad.spatiotemporal function
nullFunction

nullFunction function
temporalAtRisk.function

temporalAtRisk.function function
initialiseAMCMC.constanth

initaliseAMCMC.constanth function
traceplots

traceplots function
rotmat

rotmat function
setoutput

setoutput function
GFinitialise

GFinitialise function
GFreturnvalue

GFreturnvalue function
GFinitialise.nullFunction

GFinitialise.nullFunction function
spatialparsEst

spatialparsEst function
toral.cov.mat

toral.cov.mat function
C.diff.single.im

C.diff.single.im function
GFupdate.nullFunction

GFupdate.nullFunction function
add.list

add.list function
xvals.SpatialGridDataFrame

xvals.SpatialGridDataFrame function
xvals.default

xvals.default function
window.lgcpPredict

window.lgcpPredict function
zvals

zvals function
GFreturnvalue.nullFunction

GFreturnvalue.nullFunction function
K.val

K.val function
as.SpatialPixelsDataFrame.lgcpgrid

as.SpatialPixelsDataFrame.lgcpgrid function
as.owinlist.stapp

as.owinlist.stapp function
as.owin.stapp

as.owin.stapp function
exceedProbsAggregated

exceedProbsAggregated function
K.u

K.u function
grid2spts

grid2spts function
intens.lgcpSimMultitypeSpatialPlusParameters

intens.lgcpSimMultitypeSpatialPlusParameters function
cov.interp.fft

cov.interp.fft function
lgcpPredictAggregateSpatialPlusPars

lgcpPredictAggregateSpatialPlusPars function
expectation

expectation function
GFfinalise

GFfinalise function
fftinterpolate.fromXYZ

interpolate.fromXYZ function
getRotation

getRotation function
as.owinlist.SpatialPolygonsDataFrame

as.owinlist.SpatialPolygonsDataFrame function
getCovParameters.list

getCovParameters.list function
as.fromXYZ.fromFunction

as.fromXYZ.fromFunction function
lgcpPrior

lgcpPrior function
circulant

circulant function
parautocorr

parautocorr function
quantile.lgcpPredict

quantile.lgcpPredict function
getCellCounts

getCellCounts function
lambdaEst.ppp

lambdaEst.ppp function
gridav.lgcpPredict

gridav.lgcpPredict function
is.pow2

is.pow2 function
rescale.mstppp

rescale.mstppp function
serr.lgcpPredict

serr.lgcpPredict function
initialiseAMCMC.andrieuthomsh

initaliseAMCMC.andrieuthomsh function
integerise

integerise function
lgcpgrid.matrix

lgcpgrid.matrix function
stppp.ppp

stppp.ppp function
print.fromXYZ

print.fromXYZ function
showGrid.stppp

showGrid.stppp function
lambdaEst

lambdaEst function
transblack

transblack function
transgreen

transgreen function
neigh2D

neigh2D function
print.fromSPDF

print.fromSPDF function
osppp2latlon

osppp2latlon function
stGPrealisation

stGPrealisation function
print.lgcpgrid

print.lgcpgrid function
varfield

varfield function
zvals.SpatialGridDataFrame

zvals.SpatialGridDataFrame function
selectObsWindow.default

selectObsWindow.default function
selectObsWindow.stppp

selectObsWindow.stppp function
spatialAtRisk.function

spatialAtRisk.function function
textsummary

textsummary function
target.and.grad.spatialPlusPars

target.and.grad.spatialPlusPars function
spatialAtRisk.lgcpgrid

spatialAtRisk.lgcpgrid function
wpopdata

Population of Welsh counties
wtowncoords

Welsh town details: location
paramprec

paramprec function
osppp2merc

osppp2merc function
plotit

plotit function
segProbs

segProbs function
selectObsWindow

selectObsWindow function
spatialAtRisk.SpatialPolygonsDataFrame

spatialAtRisk.SpatialPolygonsDataFrame function
showGrid

showGrid function
summary.mcmc

summary.mcmc function
txtProgressBar2

A text progress bar with label
updateAMCMC

updateAMCMC function
yvals

yvals function
stapp

stapp function
GAfinalise.MonteCarloAverage

GAfinalise.MonteCarloAverage function
RandomFieldsCovFct

RandomFieldsCovFct function
aggCovInfo.Majority

aggCovInfo.Majority function
PriorSpec.list

PriorSpec.list function
as.list.lgcpgrid

as.list.lgcpgrid function
covEffects

covEffects function
expectation.lgcpPredict

expectation.lgcpPredict function
grid2spoly

grid2spoly function
inversebase

inversebase function
lambdaEst.stppp

lambdaEst.stppp function
lgcpPredictSpatialPlusPars

lgcpPredictSpatialPlusPars function
plot.lgcpPredict

plot.lgcpPredict function
mcmcProgressTextBar

text bar progress monitor
nullAverage

nullAverage function
print.dump2dir

print.dump2dir function
postcov.lgcpPredictMultitypeSpatialPlusParameters

postcov.lgcpPredictMultitypeSpatialPlusParameters function
setTxtProgressBar2

set the progress bar
yvals.fromXYZ

yvals.fromXYZ function