root_it: Calculate the nth root of a numeric value

Description Usage Arguments Examples

View source: R/root_it.R

Description

Calculate the nth root of a numeric value

Usage

1
root_it(x, power, replace_NA = 0)

Arguments

x

Numeric value

power

The n value, e.g. 2 for square root

replace_NA

A character vector specifying what to replace NA values with. Defaults to 0.

Examples

1
2
3
root_it(100, 2)
root_it(1024, 10)
root_it(81, 4)

martinctc/modeltoolbox documentation built on May 12, 2020, 3:12 a.m.