Description Usage Arguments Value See Also Examples
View source: R/emplambda.fun.r
This function calculates the empirical occurrence rates of a point process on overlapping intervals. The empirical rate centered in each time of the observation period is calculated using intervals of a given length. A plot of the empirical rate over time can be performed optionally.
1 2 |
posE |
Numeric vector of the position of the occurrence points of the NHPP (or any point process in time). |
t |
Time index of the observation period. The simplest option is 1,...,n with n the length of the period. |
lint |
Length of the intervals used to calculate the rates. |
plotEmp |
Logical flag. If it is TRUE, a plot of the empirical rate is carried out. |
inddat |
Optional. Index vector equal to 1 for the observations used in the estimation process
By default, all the observations are considered, see |
tit |
Character string. A title for the plot. |
scax |
Optional. A two element vector indicating the x-scale for the plot. |
scay |
Optional. A two element vector indicating the y-scale for the plot. |
A list with elements
emplambda |
Vector of the empirical rates. |
lint |
Input argument. |
emplambdaD.fun
, fitPP.fun
, POTevents.fun
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.