sum_fun: Calculate sum of vector

View source: R/fct_01_load_data.R

sum_funR Documentation

Calculate sum of vector

Description

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

Usage

sum_fun(x)

Arguments

x

a vector

Value

a number, or NA if all the numbers are NA


espors/idepGolem documentation built on April 23, 2024, 1:11 p.m.