Description Usage Arguments Value References Examples

The following three functions can be used with missing data. They return the mean, the standard error of the mean and the confidence interval of the mean. Note that we hesitated to provide these functions: you should deal with missing data prior to making your plot.

1 | ```
CIwithDF.mean(x, gamma = 0.95 )
``` |

`x` |
a vector of numbers, the sample data (mandatory); |

`gamma` |
a vector containing first a confidence level for CI (default 0.95) and
a custom degree of freedom (if unspecified, uses |

the confidence interval (CI) where the `t`

value is based on the custom-set degree of freedom.

1 2 3 4 | ```
# this will issue a warning as no custom degree of freedom is provided
CIwithDF.mean( c(1,2,3), gamma = 0.90)
# the confidence interval of the mean for 90% confidence level
CIwithDF.mean( c(1,2,3), gamma = c(0.90, 1.5) ) # uses 1.5 as df instead of 2.
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.