fun_stats {pbox}R Documentation

Summary Statistics

Description

Computes summary statistics for a numeric vector. This function is an S4 method for the generic 'fun_stats', specifically tailored for numeric vectors. It calculates the minimum, maximum, mean, and median values.

Usage

fun_stats(x)

Arguments

x

A numeric vector for which summary statistics are to be computed.

Value

A list containing the minimum, maximum, mean, and median of the input vector.

Examples

x <- c(1, 2, 3, 4, 5)
fun_stats(x)


[Package pbox version 0.1.8 Index]