univarModDataFact: Graph influence of factors on numeric variable

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/Graphics.R

Description

Graph influence of factors on numeric variable

Usage

1
2
3
univarModDataFact(d_data, var_dep_n, var_indep_f, label_dep_n,
  label_indep_f, split = TRUE, split_nr = 4, ylimits = NULL,
  plot_dims = c(15, 20), ...)

Arguments

d_data

data.frame

var_dep_n

name of dependent variable (numeric)

var_indep_f

name of independent variable(s) (factor)

label_dep_n

label of dependent variable

label_indep_f

label of independent variable(s)

split

allow for split into new graphics

split_nr

upper limit of factors per graphic

ylimits

y limits

plot_dims

plot dimensions

...

arguments passed to further functions

Details

Creates plot.design for all combinations

Value

data-frame with percentage as number and character string

Note

under continuous developement

Author(s)

Roland Rapold

References

none

See Also

see other functions in this R-package

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 data(npk, package = "datasets")
 str(npk)
 univarModDataFact(d_data = npk,
                   var_dep_n = "yield",
                   var_indep_f = c("N", "P", "K", "block"),
                   label_dep_n = "yield",
                   label_indep_f = c("N", "P", "K", "block"))

 data(Mroz, package = "carData")
 str(Mroz)
 univarModDataFact(d_data = Mroz,
                   var_dep_n = "age",
                   var_indep_f = c("wc", "hc"),
                   label_dep_n = "Alter",
                   label_indep_f = c("WC", "HC"))
 # , split=TRUE
 # , split_nr=9, ylim=c(0, 0.55)
 # , plot_dims=c(28, 24))

rrMisc documentation built on June 25, 2021, 3 a.m.