pointsFun {qAnalyst} | R Documentation |
pointsFun
receives chart specifications and returns the vector of the points to be plotted.
pointsFun(x, sg, type = "xbar")
x |
data vector |
sg |
Subgroup id variable |
type |
type of chart |
pointsFun
calculates the points to be plotted onto the chart according to given chart specification. The vector returned by pointsFun
is therefored saved into the spc object that called pointsFun
.
a vector of values
This is an internal function
Andrea Spano' and Giorgio Spedicato
Internal function
#brakeCap
data(brakeCap)
x=brakeCap$hardness
sg=brakeCap$subgroup
pointsFun(x=x,sg=sg,type="xbar")