same_as | R Documentation |
Compare values or vectors
same_as(x, y, simple = TRUE)
x |
vector to compare (left) |
y |
vector to comapre (right) |
simple |
TRUE returns logical TRUE (identical) or FALSE (any difference). FALSE returns descriptive string of comparison outcome. |
returns comparison in logical or text form depending on simple argument
# df$colsame <- same_as(df$col1, df$col2, simple = F)
# df$colsame <- same_as(df$col1, df$col2, simple = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.