peak_local_max | R Documentation |
Determine local maxima of marked point pattern. Indentifies local maxima of marks and returns the point pattern with only those marks.
peak_local_max(points, min_distance, threshold = 50, which.marks = NULL)
points |
Marked planar point pattern (ppp) |
min_distance |
Min distance around a local max in which other maxima cannot occur |
threshold |
Minimal value that maxima can have (default = 50). |
which.marks |
If ppp is marked with multiple types, this specifies which marks to calculated peaks from. |
ppp containing only the detected maxima.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.