Skip to content

STAT545-UBC-hw-2018-19/hw07-lsloboda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hw07-lsloboda

Overview

This repo contains the files relevant to STAT 545 Homework 07. The homework file is located here.

Purpose

Item Status
Add a function to the R powers package:
Define & export min. 1 new function 👍
Give arguments sensible defaults 👍
Update the documentation 👍
Perform min. 3 unit tests for common cases 👍
Pass 'check' without errors 👍
Update the README and vignette 👍
Modify the instructions to tell someone how to install the package 👍

Build Status

Note: This R package is not mean to be "serious". It's just for teaching purposes.

powers

This is an R package that gives sqrt() friends by providing other power functions.

Installation

You can install powers from github with:

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

Example

See the vignette for more extensive use, but here's an example of the boxcox function:

#powers::boxcox(1:10, 2)

For Developers

(Again, I don't actually intend for anyone to develop this silly package, but if I did, here's what I'd write.)

Use the internal pow function as the machinery for the front-end functions such as square, cube, reciprocal, and boxcox.

About

hw07-lsloboda created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages