Table of Contents
Miscellaneous Operators in R Programming Language: Overview and Examples
Miscellaneous Operators
These operators are used to for specific purpose and not general mathematical or logical computation.
| Operator | Description | Example |
|---|---|---|
| : | Colon operator. It creates the series of numbers in sequence for a vector. |
it produces the following result −
|
| %in% | This operator is used to identify if an element belongs to a vector. |
it produces the following result −
|
| %*% | This operator is used to multiply a matrix with its transpose. |
it produces the following result −
|