ell_graph | R Documentation |
This function plots a confidence ellipse when 3 kappas are compared with the clustered bootstrap method
ell_graph(boot_val, a.level = 0.05, xlim = c(-1, 1), ylim = c(-1, 1), ylab, xlab)
boot_val |
a ITN x 3 matrix with the bootstrapped values of the 3 kappa coefficients obtained with |
a.level |
the significance level to draw the confidence ellipse |
xlim |
the limits for the x-axis |
ylim |
the limits for the y-axis |
ylab |
the label for the y-axis |
xlab |
the label for the x-axis |
This function plots differences between the bootstrapped kappa coefficients and a confidence ellipse. The triangle represents the coordinate (0,0) and the square the mean of the two differences
Sophie Vanbelle sophie.vanbelle@maastrichtuniversity.nl
#dataset (multilevel) (Vanbelle, xxx) data(FEES) attach(FEES) dat<-cbind(val_CO,val_COR,val_MH,val_MHR,val_TB,val_TBR) #formating the data matrix Kappa_val<-boot.pair(data=dat,cluster_id=subject,weight='equal',summary_k=FALSE) ell_graph(boot_val=Kappa_val,xlim=c(-0.8,0.4),ylim=c(-0.2,0.4),xlab="K(obs1)-K(cons)",ylab="K(obs2)-K(cons)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.