unique.caracas_symbol | R Documentation |
Extract unique elements
## S3 method for class 'caracas_symbol'
unique(x, incomparables = FALSE, ...)
x |
A caracas vector or matrix |
incomparables |
Same meaning as for other unique methods |
... |
Additional arguments; currently not used. |
if (has_sympy()){
v <- vector_sym(4)
v2 <- rep(v, each=2)
unique(v2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.