Mean: Mean

View source: R/mean.R

MeanR Documentation

Mean

Description

Computes the weighted mean of one or more variables. Missing values are automatically excluded.

Usage

Mean(x, weights = NULL)

Arguments

x

A data.frame or matrix.

weights

The sampling or replication weights.


Displayr/flipStatistics documentation built on June 2, 2025, 12:48 p.m.