nthroot: nthroot function

View source: R/nthroot.R

nthrootR Documentation

nthroot function

Description

nthroot handles negatives, e.g. returning nthroot(-2,3) == -1.259921, rather than NA. https://stackoverflow.com/a/66554084

Usage

nthroot(x, n)

Arguments

x

The base.

n

The n'th root.


vrognas/vmisc documentation built on Oct. 27, 2023, 8:09 a.m.