powered by
Compares the brazilian numbers among themselves, with numeric and character objects.
# S3 method for CNPJ ==(e1, e2)# S3 method for CNPJ !=(e1, e2)# S3 method for CPF ==(e1, e2)# S3 method for CPF !=(e1, e2)# S3 method for RENAVAN ==(e1, e2)# S3 method for RENAVAN !=(e1, e2)
# S3 method for CNPJ !=(e1, e2)
# S3 method for CPF ==(e1, e2)
# S3 method for CPF !=(e1, e2)
# S3 method for RENAVAN ==(e1, e2)
# S3 method for RENAVAN !=(e1, e2)
the identification number class.
the object to be compared with, can be of the same type of e1, a numeric or character vector
e1
A logical vector indicating that the given objects represent the same number.
# NOT RUN { x <- CNPJ(13515463000138) x == '13515463000138' x <- CPF(68194359406) x != "681.943.594-06" x <- RENAVAN(68194359406) x == "68194359406" # }
Run the code above in your browser using DataLab