Skip to content

An R package to compute powers by giving `sqrt()` some friends and allowing list inputs. Intended for expository purposes.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

vincenzocoia/powers

Repository files navigation

Build Status Codecov test coverage Lifecycle: stable

Note: The real purpose of this R package is for demonstrating how to make an R package.

powers

This is an R package that gives sqrt() some friends by providing other power functions. The purrr package is used under the hood, so that either an (atomic) vector or a list can be input.

Installation

You can install powers from github with:

# install.packages("devtools")
devtools::install_github("vincenzocoia/powers")

Example

See the vignette for more extensive use, but here’s an example:

library(powers)
reciprocal(2)
#> [1] 0.5
cube(list(1, 4, 5))
#> [1]   1  64 125

About

An R package to compute powers by giving `sqrt()` some friends and allowing list inputs. Intended for expository purposes.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages