is.unique | R Documentation |
Check if length(x) == length(unique(x))
and optionally print table.
is.unique(list, boolOnly = TRUE)
list |
The list to check for uniqueness. |
boolOnly |
Return only a boolean. |
If boolOnly == FALSE
then only TRUE
/FALSE
is returned, else print table with length of list
and unique(list)
.
## Not run: is.unique(list) # [1] TRUE is.unique(x, boolOnly = F) # complete unique delta # 11 10 1 # [1] FALSE ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.