Description Usage Arguments Value
analysis of error bars for a variable
1 | error_bars(df, s = NULL, draw = "both")
|
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'. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.