mean_fun: Calculate mean of vector

View source: R/fct_01_load_data.R

mean_funR Documentation

Calculate mean of vector

Description

This function refines the mean function to handle missing value, used with the aggregate function

Usage

mean_fun(x)

Arguments

x

a vector

Value

a number, or NA if all the numbers are NA


espors/idepGolem documentation built on Oct. 27, 2024, 4:56 a.m.