Learn R Programming

multigroup (version 0.4.5)

summarize: Summary

Description

Summary of multigroup data in global and group parts

Usage

summarize(Data, Group)

Arguments

Data

a numeric matrix or data frame

Group

a vector of factors associated with group structure

Value

list with the following results:

Global.summary

summary of globala data

Group.summary

summary of group datasets

mean.between.data

matrix of Group mean

mean.within.data

matrix of group centered data

See Also

mgPCA, DGPA, DCCSWA, DSTATIS, BGC, TBWvariance, iris

Examples

Run this code
# NOT RUN {
Data = iris[,-5]
Group = iris[,5]
res = summarize(Data, Group)
# }

Run the code above in your browser using DataLab