powered by
Helper function to estimate moment vectors/matrices for observations within a group
estimate_mv_moments(x_df)
A list of statistics/moments (sample size, mean, standard deviation, correlation matrix, skewness) as vectors/matrices
A numeric data frame with observations from ONE group
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