sfc_validate,sfc_sequence-method {sfcurve} | R Documentation |
Validate the sequence
Description
Validate the sequence
Usage
## S4 method for signature 'sfc_sequence'
sfc_validate(p, by = "sfc_2x2")
## S4 method for signature 'character'
sfc_validate(p, by = "sfc_2x2")
Arguments
p |
An |
by |
One of |
Details
It is mainly used to validate a seed sequence whether they follow the forward-left-right rule.
Value
A logical scalar.
Examples
try(sfc_validate("LLLLL"))
try(sfc_validate(sfc_sequence("IIIII", rot = c(0, 90, 180, 270, 0),
universe = sfc_universe(SFC_RULES_2x2))))
[Package sfcurve version 1.0.0 Index]