Symbolic Complement and Inverse

complement(x)

inverse(x)

Arguments

x

character vector

Examples

complement('p')
#> [1] "1 - p"
inverse('N')
#> [1] "1 / N"