fano: fano

View source: R/CodeAndRoll2.R

fanoR Documentation

fano

Description

Calculates the fano factor on a numeric vector (it excludes NA-s by default).

Usage

fano(x, na.rm = TRUE, USE = "na.or.complete")

Arguments

x

A numeric vector.

na.rm

Should NA values be removed before calculation? Defaults to TRUE.

USE

The method used to calculate the variance. Defaults to "na.or.complete".

Value

The fano factor of the input vector.

Examples

fano(1:5)


vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.