svplot2 {svplots}R Documentation

Creates Sv-plot2, the second version of the sample variance plots.

Description

Sv-plot2 identifies the characteristics of the distribution illustrating squared deviation values in the sample variance against each data value.

Usage

svplot2(X,title="Sv-plot2",xlab="x",lbcol="grey5", lsdcol="grey60",
             rbcol="grey45",rsdcol="grey75",...)

Arguments

X

an n by 1 matrix, equivalently, a column vector of length n, where n is number of observations.

title

title of the plot, Sv-plot2 by default.

xlab

x-axis label, x by default.

lbcol

left bound color, grey5 by default.

lsdcol

left squared deviation color, grey60 by default.

rbcol

right bound color, grey45 by default.

rsdcol

right squared deviation color, grey75 by default.

...

other graphical parameters.

Value

Sv-plot2

References

Wijesuriya, U. A. (2020). Sv-plots for identifying characteristics of the distribution and testing hypotheses. Communications in Statistics-Simulation and Computation, doi: 10.1080/03610918.2020.1851716.

Examples

   set.seed(0)
   X1 <- matrix(rnorm(50,mean=2,sd=5))
   svplot2(X1)

   X2 <- matrix(rf(50,df1=10,df2=5))
   svplot2(X2)

   X3 <- matrix(rbeta(50,shape1=10,shape2=2))
   svplot2(X3,lbcol="blue",lsdcol="blue",rbcol="red",rsdcol="red")

[Package svplots version 0.1.0 Index]