Provides string arithmetic, reassignment operators, logical operators that handle missing values, and extra logical operators such as floating point equality and all or nothing. The intent is to allow R users to write code that is easier to read, write, and maintain while providing a friendlier experience to new R users from other language backgrounds (such as 'Python') who are used to concepts such as x += 1 and 'foo' + 'bar'. Includes operators for not in, easy floating point comparisons, === equivalent, and SQL-like like operations (), etc. We also added in some extra helper functions, such as OS checks, pasting in Oxford comma format, and functions to get the first, last, nth, or most common element of a vector or word in a string.
Package details |
|
---|---|
Author | Ben Wiseman [cre, aut, ccp], Steven Nydick [aut, ccp] (<https://orcid.org/0000-0002-2908-1188>), Jeff Jones [aut, led] |
Maintainer | Ben Wiseman <benjamin.wiseman@kornferry.com> |
License | MIT + file LICENSE |
Version | 1.3.14 |
URL | https://benwiseman.github.io/roperators/ https://github.com/BenWiseman/roperators |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.