Description Usage Arguments Details Examples
This function splits a point process realization into a list of splitted point process realizations with length h
.
1 2 3 |
mppdata |
marked point process in data.frame composed of "time, mark1, mark2, ...". |
h |
width of the time window. Default is set to h=60*60*48, which is two days when $time is recorded in second. This is suitable for a special seismic data only. |
ol |
length of overlap for the sliding window. Default 0. |
TimeOrigin |
logical. If |
scaleMarks |
logical. If |
scaleWindow |
logical. If |
MarkCenter |
vector for specifying the center of the mark. Use when there are relative center point such as the main shock of the earthquake. Default |
MarkCenterID |
vector for specifying the elements of center of the mark. |
splitMPP
splits a point process realization into a list of splitted point process realizations with length h
.
1 2 3 4 5 | ##The aftershock data of 26th July 2003 earthquake of M6.2 at the northern Miyagi-Ken Japan.
data(Miyagi20030626)
## time longitude latitude depth magnitude
## split events by 5-hours
sMiyagi <- splitMPP(Miyagi20030626,h=60*60*5,scaleMarks=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.