README.md

MyPackage

The goal of MyPackage is for hw05.

Installation

devtools::install_github("sunqihui1221/MyPackage")

Example

This is a basic example which shows you how to solve a common problem:

library(MyPackage)
plus10 <- function(x, y) {
  for (i in 1:length(x)) {
    x[i] <- x[i] + 10
  }
  if (y == TRUE) {
    x[1]
  }
}


sunqihui1221/MyPackage documentation built on Nov. 5, 2019, 9:40 a.m.