plus_one: plus_one()

Description Usage Arguments Value Examples

View source: R/hello.R

Description

This function adds the number 1 to any number. This function works with negative as well as positive values. The edge cases work for this function.

Usage

1

Arguments

x

The parameter x accepted by this function is an integer or numeric data type argument.

Value

The function returns an integer value. The returned value is the number incremented by 1.

Examples

1

hariniramp/DATA-598-WI20-week7 documentation built on March 7, 2020, 11:22 p.m.