pointsFun {qAnalyst}R Documentation

Internal function to obtain y coordinates of the statistics to be plotted on chosen chart type

Description

pointsFun receives chart specifications and returns the vector of the points to be plotted.

Usage

pointsFun(x, sg, type = "xbar")

Arguments

x

data vector

sg

Subgroup id variable

type

type of chart

Details

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.

Value

a vector of values

Note

This is an internal function

Author(s)

Andrea Spano' and Giorgio Spedicato

References

Internal function

See Also

spc, clFun

Examples


#brakeCap
data(brakeCap)
x=brakeCap$hardness
sg=brakeCap$subgroup
pointsFun(x=x,sg=sg,type="xbar")


[Package qAnalyst version 0.6.4 Index]