plotDyad: Function which plots single dyad vs single factor which...

Description Usage Arguments Value

View source: R/generateVisuals.R

Description

Function which plots single dyad vs single factor which allows specification of labels and titles Any labels left blank will be gathered from the generated labels document Plot single dyad vs single factor with specification of labels and tites

Usage

1
plotDyad(dyad, factor, title = NULL, ylab = NULL, xlab = NULL, save = FALSE)

Arguments

save

Logical indicating whether to save produced plots in output folder

dyad:

Question object of type Slider

factor:

Question object of type MCQ or MCQ_Checkbox

title:

String containing the title for the generated plot (optional)

ylab:

String containing the Y label for the generated plot (optional)

xlab:

Vector containing 2 Strings to label the x axis in the negative and positive direction respectively (optional)

Value

a ggplot object


edixon1/spryngr documentation built on June 13, 2021, 10:43 a.m.