Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 589 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 589 Bytes

square

The goal of square is to square numbers

Installation

You can install the development version of square from GitHub with:

# install.packages("devtools")
devtools::install_github("gopalkhanal11/square")

Example

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

library(square)
## basic example code
square(2:4)
#> [1]  4  9 16
x<-1:10
x^2
#>  [1]   1   4   9  16  25  36  49  64  81 100