SubgroupSummary: Subgroup summary

Description Usage Arguments Value Author(s) See Also Examples

View source: R/SubgroupSummary.R

Description

Function gives subgroup size, mean, standard deviation, adjusted standard deviation, skewness, kurtosis and a table of control chart constants for subgroups in the given series.

Usage

1
SubgroupSummary(Subgroups, MaxSgpSize)

Arguments

Subgroups

a series of subgroups

MaxSgpSize

possible maximum size of a subgroup

Value

SgpSummary

Author(s)

Nadeeka Premarathna

See Also

Subgrouping

Subgrouping

Examples

1
2
3
4
5
6
7
8
9
# Subgroup size
SubgroupCriteria="weeks"
#  load data
data(AAPL)
# divide into subgroups
StockPrice=window(AAPL[,"Close"],start=as.Date("2012-01-02"),end=as.Date("2014-12-31"))
Subgroups=Subgrouping(StockPrice,SubgroupCriteria,CountSgps=1)
# obtain the subgroup summary
SubgroupSummary(Subgroups,MaxSgpSize=5)

npremara/QCCTS documentation built on May 5, 2019, 3:51 a.m.