vector_stats: Calculate statistics

View source: R/statistics.R

vector_statsR Documentation

Calculate statistics

Description

Calculate the statistics on a vector: Number of valid observations, mean, median, standard deviation, and coefficient of variation.

Usage

vector_stats(x)

Arguments

x

Numeric vector of data.

Value

Named numeric vector of statistics, length 5.


BIO-RSG/oceancolouR documentation built on April 30, 2024, 7:54 a.m.