Learn R Programming

algaeClassify (version 1.2.0)

mean_naomit: Compute mean value while ignoring NA's

Description

Compute mean value while ignoring NA's

Usage

mean_naomit(x)

Arguments

x

A numeric vector that may contain NA's

Value

the mean value

Examples

Run this code
# NOT RUN {
data(lakegeneva)
#example dataset with 50 rows

mean_naomit(lakegeneva$biovol_um3_ml)
# }

Run the code above in your browser using DataLab