error_bars: error_bars

Description Usage Arguments Value

Description

analysis of error bars for a variable

Usage

1
error_bars(df, s = NULL, draw = "both")

Arguments

df

name of the dataframe that you want to analyse. This MUST be of the format data.frame(x,y). 'NA' and 'Inf' values are also not allowed.

s

sequence of values (generated by seq(x,y,z)) - optional input: if not provided it will be calculated automatically.

draw

optional input to draw disperseion on the error plot; can take values 'standard error', 'standard deviation' or 'both'. By default it takes 'both'.

Value

an 'error_bars.out' object which contains (i) a dataframe of useful summary variables (ii) a dot plot showing the error bars, and (iii) a copy of the original dataframe with the bin_x variable appended as a third column.


bvidgen/RPackage documentation built on May 13, 2019, 9:04 a.m.