Plot the response criterion by option position, possibly using a grouping variable (can also be used to plot any other values in dependence of option position and acceptance reluctance)

1 2 3 4 5 6 7 | ```
plot_criterion(tab, ylim = c(-1, 1), txt.cords = list(c(1, 0.3), c(2.8,
0.35)), xlab = "Position of answer", ylab = "Response criterion c",
labelCriterion = TRUE, add = FALSE, lty = 1, lwd = 1.3,
plotNeutral = TRUE, cex = 1.4, err.bar = NULL, type = "b",
txt = colnames(tab), labelx = TRUE, dev = 0.07, main = "",
lwd_arrow = 1, xlim = c(1, nrow(tab)), cex.lab = 1, cex.axis = 1,
german = FALSE, cex_crit_label = 1, cex_factors = 1)
``` |

`tab` |
A data table with rows = criterion by position (row 1: criterion for option 1) and columns distinguishing different levels of grouping factor |

`ylim` |
Limits of y-axis |

`txt.cords` |
A 'list', containing two vectors of x and y coordinates specifying where the factor level descriptions are printed |

`xlab` |
Label of the x-axis |

`ylab` |
Label of the y-axis |

`labelCriterion` |
boolean value, if 'TRUE', on the right axis the response criterion is labeled as "conservative", "neutral", and "liberal" |

`add` |
Boolean. Should the data be drawn into an existing plot? |

`lty` |
the type of the lines drawn |

`lwd` |
the width of the lines drawn |

`plotNeutral` |
Boolean. Should a horizontal line at y=0 be drawn to illustrate a neutral response criterion? |

`cex` |
the size of the dots |

`err.bar` |
If the error bars should be plotted, pass a table of the same dimension as 'tab'. Each entry is the length of the error bar to each side of the point (i.e.: the value should be half of the width of the confidence interval if a confidence interval is to be plotted) |

`type` |
The type of plot, see '?plot' |

`txt` |
A vector of text describing the levels of the grouping variable |

`labelx` |
Vector to label the ticks on the x-axis |

`dev` |
A single value indicating the margin by which data points on the same x-axis point should be separated to better illustrate different grouping points |

`main` |
The caption of the plot |

`lwd_arrow` |
The thickness of the arrow illustrating liberal vs. conservative responses |

`cex.lab` |
See ?par |

`cex.axis` |
see ?par |

`german` |
German labels for criterion? |

`cex_crit_label` |
Size of criterion label |

`cex_factors` |
Size of the label of the factors (in the plot, not on axis) |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.