https://github.com/cran/IQCC
Raw File
Tip revision: 5c6e6dea621fd5b486441c5e649098ad5a6549e6 authored by Flavio Barros on 15 November 2017, 21:16:12 UTC
version 0.7
Tip revision: 5c6e6de
data.1.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.1.R
\name{data.1}
\alias{data.1}
\title{Hotelling Control Chart Phase I simulated data.}
\usage{
data.1(m, n, mu, Sigma)
}
\arguments{
\item{m}{The number of samples to be generated.}

\item{n}{The size of each sample. If they are individual observations, then
use n = 1.}

\item{mu}{The vector with the means of the data to be generated.}

\item{Sigma}{The vector with the variance-covariance matrix of the data to
be generated.}
}
\value{
Return an array with the simulated data.
}
\description{
This function simulate a normal data set to be used in the phase I Hoteliing
control charts.
}
\examples{

mu <- c(5.682, 88.22)
Sigma <- symMatrix(c(3.770, -5.495, 13.53), 2)
#Simulated data with individual observations
datum <- data.1(50, 1, mu, Sigma)
#Simulated data with sub-group observations
datum <- data.1(20, 10, mu, Sigma)

}
\seealso{
\link{data.2}
}
\author{
Daniela R. Recchia, Emanuel P. Barbosa
}
back to top