anotherFunction: Multiplies two numbers, adds a constant, and returns the...

Description Usage Arguments Value Author(s) Examples

Description

Multiplies two numbers, adds a constant, and returns the result

Usage

1

Arguments

c

A constant to add

a

A number I want to multiply by something

b

A multiplying constant

Value

A number - the product of a and b, plus c

Author(s)

Paul Newcombe

Examples

1
2
3
4
5
6
7
# Constants I want to multiply:
a <- 1
b <- 2
# Constant I want to add:
c <- 3
# Run anotherFunction:
anotherFunction(a,b,c)

pjnewcombe/Pmisc documentation built on March 26, 2020, 2:09 p.m.