equalNlStats: Check if two nlStats are equal

Description Usage Arguments Value Examples

View source: R/stats.R

Description

Check if two nlStats are equal

Usage

1
equalNlStats(nlStatName1, nlStatName2)

Arguments

nlStatName1

The name of the first nlStat function to compare

nlStatName2

The name of the second nlStat function to compare

Value

logical if the two nStats are equal

Examples

1
2
3
4
fn1 <- function(x) sum(x)
fn2 <- function(x) sum(x, na.rm=T)
Rnightlights:::equalNlStats("fn1", "fn2")
#returns FALSE

chrisvwn/Rnightlights documentation built on Sept. 7, 2021, 1:44 a.m.