Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smbache/nestpas
Pipe-friendly Aliases for R
https://github.com/smbache/nestpas
Last synced: 8 days ago
JSON representation
Pipe-friendly Aliases for R
- Host: GitHub
- URL: https://github.com/smbache/nestpas
- Owner: smbache
- License: other
- Created: 2016-10-24T18:47:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-24T18:52:15.000Z (about 8 years ago)
- Last Synced: 2024-08-13T07:15:16.875Z (4 months ago)
- Language: R
- Size: 17.6 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - smbache/nestpas - Pipe-friendly Aliases for R (R)
README
nestpas
=================================================The `nestpas` package provides a set of pipe-friendly
aliases for a variety of operators. Previously these were
a part of the [`magrittr`](https://github.com/tidyverse/magrittr)
package.The following aliases are defined:
```R
`+` add
`&` and
`/` divide_by
`%/%` divide_by_int
`==` equals
`[` extract
`[[` extract2
`[<-` inset
`[[<-` inset2
`%in%` is_in
`>` is_greater_than
`<` is_less_than
`>=` is_weakly_greater_than
`<=` is_weakly_less_than
`%%` mod
`*` multiply_by
`%*%` multiply_by_matrix
`!` not / `n'est pas`
`|` or
`^` raise_to_power
`attr<-` set_attr
`attributes<-` set_attributes
`colnames<-` set_colnames
`comment<-` set_comment
`class<-` set_class
`dim<-` set_dim
`names<-` set_names
`rownames<-` set_rownames
`-` subtract
`$` use_series
```