qd_profile: create ggplot-object with profile plot

Description Usage Arguments Value

View source: R/Qever_utilities.R

Description

create ggplot-object with profile plot

Usage

1
2
3
4
5
qd_profile(qset = list(), qvar = "T01", qtit = qvar,
  cvar = "Organisation", ctit = " ", dropNA = TRUE, posNA = -1,
  flevNA = "", fGrey = FALSE, grey_start = 0.5, grey_end = 0.95,
  pgg_type = "div", pgg_palette = "RdBu", pgg_direction = 1,
  fReverse = TRUE, fCompact = TRUE, fPlot = FALSE, ...)

Arguments

qset

data.frame or list with questionnaire results

qvar

question to make a profile; default: T01

qtit

title for qvar; default: qvar

cvar

covariate to split profiles; default: Organisations

ctit

title for covariate; default: "" (none)

dropNA

drop missing values; default: TRUE

posNA

position for missing value: default: -1 ( = left)

flevNA

label for missing value: default: "" (none)

fGrey

flag; use grey scale? default: FALSE

grey_start

start of grey scale; default: 0.5

grey_end

end of grey scale; default: 0.95

pgg_type

type of colour gradient; default: div (divergent)

pgg_palette

colour pallette; default: RdBu

pgg_direction

direction of colour wheel; default: 1

fReverse

flag; reverse labels from left to right?; default: TRUE

fCompact

flag; compact representation of plot?; default: TRUE

fPlot

flag; plot results (or just output)?; default: FALSE

...

Value

ggplot-object


pietervsd/INBOmisc documentation built on Oct. 20, 2017, 5:20 p.m.