crossa: Cross Tabs with Shading Algorithms

Description Usage Arguments Examples

Description

This functions allows you to create cross tabs with shading algorithms and fills it with exact agreement, agreement within two steps, kappa, the standard error of kappa, weighted kappa (within one step), and the standard error of weighted kappa.

Usage

1
2
3
crossa(data1a, lab1, data2a, lab2, cantgrade, title1 = "", footer = "",
  title2 = "", ext.labels = NULL, cex = 1, PLOT = TRUE, mar = c(0, 0,
  0, 0))

Arguments

lab1

label for data1

lab2

label for data2

cantgrade

vector containing values that are used for cannot grade and hence should not be included in within one step calculations.

title1

main title of graph, line one

footer

footer for graph

title2

main title of graph, line two

ext.labels

if NULL (default), labels printed in squares. Otherwise, character vector with same length as there are levels of the variable considered, with strings to be stand-in for labels in squares while actual labels are printed in the lower left corner. If true, numbers are used as labels and automatically

cex

numeric; passed to par. Default 1.

PLOT

logical; if TRUE (default), figure is plotted. If FALSE, summary returned without any figures.

mar

vector of length four. Is passed to the mar argument of par. Default: c(0,0,0,0)

data1

a vector of grades from grader 1; not a factor

data2

a vector of grades from grader 2; not a factor

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
crossa(data1a = FIDI$CNVPRS.F,
       lab1   = "FILM SYNTHETIC GRADES",
       data2a = FIDI$CNVPRS.D,
       lab2   = "DIGITAL SYNTHETIC GRADES",
       title1 = "Presence of Classic CNV",
       footer = "Comparison of Digital Synthetic Grades and
                Film Synthetic Grades")
                
## End(Not run)
                data1a,

rmtrane/QualityControl documentation built on May 5, 2019, 5:54 p.m.