filter_pts | R Documentation |
filter_pts
updates filter values (altering the original dataframe).
filter_pts_reset
resets all filter values to FALSE (altering the original dataframe).
filter_pts_resample
resets sampling order (altering the original dataframe).
filter_pts(
indata,
metric,
value,
inlayer = NULL,
id_fieldname = "idfield",
byfield = FALSE,
reverse = FALSE,
samplesize = 1e+05,
sid = "sid3",
par1 = NA
)
filter_pts_reset(indata, filters = NA)
filter_pts_resample(indata)
indata |
TODO |
metric |
one between |
value |
value or values to apply (depending on metric) |
inlayer |
optional: |
id_fieldname |
optional: name of the |
byfield |
if FALSE (default), consider data as a unique field; if TRUE, iterate each filter on field |
reverse |
if TRUE, the filter is applied reversed (this makes sense only for |
samplesize |
maximum size of the sample of the original data to work with (default: 100000; if NA: all the points) |
sid |
character: name of the ID field to be used ( |
par1 |
additional parameter for filtering (now used only for area to filter / not to filter NA values) |
filters |
TODO |
License: GPL 3.0
Luigi Ranghetti, phD (2019) ranghetti.l@irea.cnr.it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.