Learn R Programming

lgcp (version 1.8)

constantInTime.stppp: constantInTime.stppp function

Description

Create a constant-in-time temporalAtRisk object from an stppp object. The returned temporalAtRisk object is scaled to return mu(t) = E(number of cases in a unit time interval).

Usage

# S3 method for stppp
constantInTime(obj, ...)

Arguments

obj

an object of class stppp.

...

additional arguments

Value

a function f(t) giving the (constant) temporal intensity at time t for integer t in the interval [tlim[1],tlim[2]] of class temporalAtRisk

Details

For further details of temporalAtRisk objects, see ?temporalAtRisk>

See Also

temporalAtRisk, spatialAtRisk, temporalAtRisk.numeric, temporalAtRisk.function, constantInTime, constantInTime.numeric, print.temporalAtRisk, plot.temporalAtRisk,