myf: Square function

Description Usage Arguments Details Value Examples

View source: R/myf.R

Description

Takes a vector and returns a vector of squared components

Usage

1
myf(x)

Arguments

x

Details

The function is an elementary example of function creation and can be massively enhanced

Value

a Vector of squared components

Examples

1
x=1:30; myf(x)

MATHSTATSOU/MATH4753PROJ1 documentation built on Jan. 4, 2020, 12:14 a.m.