square: Square a vector

Description Usage Arguments Details Value Examples

Description

That's it – these functions just square take the reciprocal/inverse of a vector.

Usage

1
2
3
square(x, genplot = FALSE)

reciprocal(x, genplot = FALSE)

Arguments

x

The vector to be squared.

genplot

Generates and prints a plot of x FALSE by default.

Details

If you really want to see more, check out the internal pow function that these functions depend on.

Value

A vector that is the:

of x.

Examples

1
2
3

farihakhan/powersPackage documentation built on May 12, 2019, 8:45 a.m.