R/area_of_square.R

Defines functions area_of_square

Documented in area_of_square

#'
#'@title Square area
#'@description Function which calculates the area of a square
#'@param length the length of the square
#'@param width the width of the square
#'@author Marieke Dirksen
#'@export

area_of_square<-function(length,width){
  area<-length*width
  return(area)
}
MariekeDirk/myfirstpackage documentation built on May 3, 2019, 9:05 p.m.