graDescVL: Prints a graph of descriptive statistics

Description Usage Arguments Value Examples

Description

Prints a graph of the descriptive statistics of the data in a data.table

Usage

1
2
3
graDescVL(dataT, xx, groupF = NULL, facetF = NULL, otherF = NULL, DV,
  subF, alpha = 0.05, dWidth = 0.5, eWidth = 0.5, pSize = 3,
  pFill = "white")

Arguments

dataT

Data.table containing the data.

xx

Name of the factor to put on the x axis of the graph. Must be singular.

groupF

Name of the factor to use as the grouping factor of the graph. Must be singular

facetF

Name of the factor(s) to use as faceting. There can be more than one. Either a single comma separated character or a character vector.

otherF

Name of the other factors to aggregate.

DV

Name of the dependant variable.

subF

Name of the subject factor.

alpha

Confidence level.

dWidth

Dodge width.

eWidth

Error bar width.

pSize

Point size.

pFill

Fill colour.

Value

A graph.

Examples

1
2
3
4
5
6
7
8
9
data("donn_ag",package="muCoVL")
dataT<-donn_ag
xx<-"dur"
groupF<-"Group"
facetF<-"Trial_Block"
otherF<-"dist"
DV<-"relE"
subF<-"sub"
result<-graDescVL(dataT = dataT,xx = xx,groupF = groupF,facetF = facetF,otherF = otherF,DV = DV,subF = subF,eWidth = 1000,dWidth = 1000)

VinLaflamme/muCoVL documentation built on May 7, 2019, 7:14 p.m.