Skip to contents

Test whether community a is the relative of community b

Usage

is_relative(item1, item2, sep = "/")

Arguments

item1

a string

item2

a string

sep

separator of community string

Value

logcial

Examples

# example code
 is_relative("A/B/C","A/B")
#> [1] TRUE