Learn R Programming

simBKMRdata (version 0.1.1)

estimate_mv_moments: 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)

Value

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

Arguments

x_df

A numeric data frame with observations from ONE group

Examples

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

Run the code above in your browser using DataLab