MyFunction: Square a numeric vector.

Description Usage Arguments Value

View source: R/MyFunction.R

Description

This function takes in a atomic numeric vector that contains more than 3 elements, squares each element, and sum them up

Usage

1
MyFunction(a, b)

Arguments

a

A numeric vector that contains more than 3 elements

b

A logical vector True / False to decide if print the sum

Value

Squared numeric vector


Maxixixi/HM5 documentation built on Oct. 30, 2019, 9:22 p.m.