estimate_mv_moments: Helper function to estimate moment vectors/matrices for...

View source: R/EstimateMultivariateMoments.R

estimate_mv_momentsR Documentation

Helper function to estimate moment vectors/matrices for observations within a group

Description

Helper function to estimate moment vectors/matrices for observations within a group

Usage

estimate_mv_moments(x_df)

Arguments

x_df

A numeric data frame with observations from ONE group

Value

A list of statistics/moments (sample size, mean, standard deviation, correlation matrix, skewness) as vectors/matrices

Examples

myData <- data.frame(
  VALUE1 = c(2.3, 2.7, 2.5),
  VALUE2 = c(4.5, 4.2, 4.35)
)
estimate_mv_moments(myData)

simBKMRdata documentation built on Sept. 14, 2026, 1:07 a.m.