dplyr-methods | R Documentation |
Filter an SC model, currently only dplyr::filter
for SC
is available.
## S3 method for class 'SC'
filter(.data, ...)
.data |
data object of class SC |
... |
passed to |
Apply expressions as if used on the object
table. See sc_object(x)
for that form.
Currently all the vertices are still kept, so the model (and any plots) include the filtered edges as well as undifferentiated points. This is likely to change ...
an SC()
model, with some parts filtered out
library(dplyr)
sc <- SC(inlandwaters)
plot(filter(sc, Province == "Tasmania"))
plot(filter(sc, Province %in% c("Victoria", "South Australia", "New South Wales")))
plot(filter(SC(minimal_mesh), a == 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.