ggcc_gen: ggcc_gen

Description Usage Arguments Value

Description

Function to create control chart.

Usage

1
ggcc_gen(df, num_type = c("count", "proportion"), sample_size, title = NULL)

Arguments

df

Dataframe of data. Preprocessing must be done beforehand to have one character column and one numeric column.

num_type

Set equal to count or proportion. This will change the calculation of the limits.

sample_size

If num_type is proportion, provide sample size.

title

Chart title. If NULL, chart title will be Control Chart

Value

Returns list containing ggplot of control chart and footer indicating triggered tests.


kimjam/srms documentation built on May 20, 2019, 10:21 p.m.