Piplot: Graphical representation of the Bradley's scores

Description Usage Arguments Details Value Examples

View source: R/Piplot.R

Description

Gives a graphical representation of the Bradley's scores.

Usage

1
2
Piplot(Pi, SigmaPi = NULL, level=0.05, main = NULL, ylab = "Bradley's scores",
xlab = "Item", labelprod = NULL)

Arguments

Pi

vector of Bradley's scores

SigmaPi

vector of Bradley's scores standard deviation given by the user.
(default SigmaPi=NULL)

level

level to use for the confidence intervals. (default level=0.05)

main

Title of the plot.(default main=NULL)

ylab

value for ylab. (default ylab= Bradley's scores)

xlab

value for xlab. (default xlab=Item)

labelprod

label vector of the Item. (default labelprod=NULL)

Details

The representation is based on plot(x) function, with Item on x axis, and Bradley's scores on y axis. If SigmaPi is provided by user, a 1-level (default 95%) confidence interval is drawn for each Item.

Value

A graphical representation of bradley's scores.

Examples

1
2
3
4
5
6
7
8
9
  data(Cocktail_Cum)
  res<-C_piBTL(Cocktail_Cum,Constraint=0,eps1=0.0001,Pi=NULL,TestPi=TRUE)
  Res_Pi<-res$Pi
  Res_Varcov<-res$VarcovPi
  Res_Sigma<-sqrt(diag(Res_Varcov))
  Piplot(Res_Pi, SigmaPi = Res_Sigma, level=0.01, main = NULL, ylab = "Bradley's scores",
  xlab = "Item", labelprod = NULL)
  
  

CompR documentation built on May 29, 2017, 2:42 p.m.