iLimitsFun {qAnalyst}R Documentation

Internal function used to obtain shifted coordinates vector

Description

iLimitsFun receives a numeric vector. Then it returns a vector of length 2*length(x) whose elements are the x values shifted rightward and leftward by 0.5.

Usage

iLimitsFun(i)

Arguments

i

x groups coordinates

Details

iLimitsFun is an internal function, used when plotting spc objects.

Value

iLimitsFun returns a vector of length 2*length(x)

Note

iLimitsFun is used by spc object plotting function.

Author(s)

Giorgio Spedicato and Andrea Spano'

References

Internal function

See Also

plot.spc

Examples

x=c(2,5,8,4,7)
iLimitsFun(x)
# 1.5 4.5 4.5 7.5 7.5 3.5 3.5 6.5 6.5 7.5

[Package qAnalyst version 0.6.4 Index]