Skip to contents

The mode of the curve

Usage

# S4 method for sfc_nxn
sfc_mode(p)

# S4 method for sfc_rules
sfc_mode(p)

Arguments

p

The corresponding object.

Examples

p = sfc_2x2("I", "1")
sfc_mode(p)
#> [1] 2
p = sfc_3x3_peano("I", "1")
sfc_mode(p)
#> [1] 3
sfc_mode(SFC_RULES_2x2)
#> [1] 2
sfc_mode(SFC_RULES_3x3_PEANO)
#> [1] 3