Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bolus123 committed Oct 20, 2023
1 parent 875bd85 commit fec446b
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 45 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Package: PH1XBAR
Type: Package
Title: Phase I Shewhart X-Bar Chart
Version: 0.11.0
Version: 0.11.1
Authors@R: c(
person("Yuhui", "Yao", role = c("aut", "cre"), email = "yyao17@cba.ua.edu"),
person("Subha", "Chakraborti", role = c("ctb"), email = "schakrab@cba.ua.edu"),
person("Tyler", "Thomas", role = c("ctb"), email = "tjthomas7@crimson.ua.edu"),
person("Jason", "Parton", role = c("ctb"), email = "jmparton@cba.ua.edu"),
person("Xin", "Yang", role = c("ctb"), email = "xyang15@cba.ua.edu")
)
Maintainer: Yuhui Yao <yyao17@cba.ua.edu>
Maintainer: Yuhui Yao <yyao17@ua.edu>
Description: The purpose of 'PH1XBAR' is to build a Phase I Shewhart control chart for the basic Shewhart, the variance components and the ARMA models in R for subgrouped and individual data. More details can be found: Yao and Chakraborti (2020) <doi: 10.1002/qre.2793>, and Yao and Chakraborti (2021) <doi: 10.1080/08982112.2021.1878220>.
License: GPL-3
Encoding: UTF-8
Expand Down
7 changes: 7 additions & 0 deletions R/snowfall.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
\docType{data}
\name{snowfall}
\alias{snowfall}
\title{Snowfall in inches in Minneapolis/St. Paul, MN}
\description{
A dataset containing snowfalls measured in inches in Minneapolis/St. Paul, MN.
}
Binary file added data/snowfall_data.rda
Binary file not shown.
86 changes: 43 additions & 43 deletions man/00_PH1XBAR-package.Rd → man/PH1XBAR-package.Rd
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
\name{PH1XBAR-package}
\alias{00_PH1XBAR-package}
\docType{package}
\title{
Phase I Shewhart X-bar Control Chart
}
\description{
The utility of this package is in building a Shewhart-type control chart based on new methods for subgrouped and individual data. The Phase I chart is based on the multivariate normal/t or ARMA process.
}
\details{
\tabular{ll}{
Package: \tab PH1XBAR\cr
Type: \tab Package\cr
% Version: \tab 1.0\cr
Date: \tab 2021-09-20\cr
License: \tab GPL (>= 3)\cr
}
Function 'PH1XBAR' builds a Phase I Shewhart X-bar/individual control chart with a correct charting constant.
Function 'getCC.XBAR' gets a charting constant for the data with a balanced one-way random effects model.
Function 'PH1ARMA' builds a Phase I individual control chart with an ARMA model using a correct charting constant.
Function 'getCC.ARMA' gets a charting constant for the data with an ARMA model.
}
\author{ Yuhui Yao, Subha Chakraborti, Tyler Thomas, Xin Yang, Jason Parton.

Maintainer: Yuhui Yao <yyao17@crimson.ua.edu>
}
\references{
Champ, C.W., and Jones, L.A. (2004) Designing Phase I X-bar charts with small sample sizes. Quality and Reliability Engineering International. 20(5), 497-510
Yao, Y., Hilton, C.W., and Chakraborti, S. (2017) Designing Phase I Shewhart X-bar charts: Extended tables and software. Quality and Reliability Engineering International. 33(8), 2667-2672.
Yao, Y., and Chakraborti, S. (2021). Phase I monitoring of individual normal data: Design and implementation. Quality Engineering, 33(3), 443-456.
Yao, Y., and Chakraborti, S. (2021). Phase I process monitoring: The case of the balanced one-way random effects model. Quality and Reliability Engineering International, 37(3), 1244-1265.
}
\examples{

# Build a Phase I basic Shewhart control chart
data(grinder_data)
PH1XBAR(grinder_data, nsim=10)

# Build a Phase I individual control chart with an ARMA model
data(preston_data)
PH1ARMA(preston_data, nsim.process=10, nsim.coefs=10)

}
\name{PH1XBAR-package}
\alias{PH1XBAR-package}
\docType{package}
\title{
Phase I Shewhart X-bar Control Chart
}
\description{
The utility of this package is in building a Shewhart-type control chart based on new methods for subgrouped and individual data. The Phase I chart is based on the multivariate normal/t or ARMA process.
}
\details{
\tabular{ll}{
Package: \tab PH1XBAR\cr
Type: \tab Package\cr
% Version: \tab 0.11.1\cr
Date: \tab 2023-10-20\cr
License: \tab GPL (>= 3)\cr
}
Function 'PH1XBAR' builds a Phase I Shewhart X-bar/individual control chart with a correct charting constant.
Function 'getCC.XBAR' gets a charting constant for the data with a balanced one-way random effects model.
Function 'PH1ARMA' builds a Phase I individual control chart with an ARMA model using a correct charting constant.
Function 'getCC.ARMA' gets a charting constant for the data with an ARMA model.
}
\author{ Yuhui Yao, Subha Chakraborti, Tyler Thomas, Xin Yang, Jason Parton.

Maintainer: Yuhui Yao <yyao17@crimson.ua.edu>
}
\references{
Champ, C.W., and Jones, L.A. (2004) Designing Phase I X-bar charts with small sample sizes. Quality and Reliability Engineering International. 20(5), 497-510
Yao, Y., Hilton, C.W., and Chakraborti, S. (2017) Designing Phase I Shewhart X-bar charts: Extended tables and software. Quality and Reliability Engineering International. 33(8), 2667-2672.
Yao, Y., and Chakraborti, S. (2021). Phase I monitoring of individual normal data: Design and implementation. Quality Engineering, 33(3), 443-456.
Yao, Y., and Chakraborti, S. (2021). Phase I process monitoring: The case of the balanced one-way random effects model. Quality and Reliability Engineering International, 37(3), 1244-1265.
}
\examples{

# Build a Phase I basic Shewhart control chart
data(grinder_data)
PH1XBAR(grinder_data, nsim=10)

# Build a Phase I individual control chart with an ARMA model
data(preston_data)
PH1ARMA(preston_data, nsim.process=10, nsim.coefs=10)

}
10 changes: 10 additions & 0 deletions man/snowfall_data.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
\docType{data}
\name{snowfall_data}
\alias{snowfall_data}
\title{Snowfall in inches in Minneapolis/St. Paul, MN}
\description{
A dataset containing snowfalls measured in inches in Minneapolis/St. Paul, MN. This is a subset of that on the website of Minnesota Department of Natural Resources(https://www.dnr.state.mn.us/climate/twin_cities/snowfall.html)
}
\examples{
data(snowfall_data)
}

0 comments on commit fec446b

Please sign in to comment.