Description Usage Arguments Value Examples

Compute mean and sd and put together with the ± symbol.

1 2 3 4 5 6 7 8 9 10 |

`x` |
Data for computation. |

`roundDig` |
Number of relevant digits for roundR. |

`drop0` |
Should trailing zeros be dropped? |

`groupvar` |
Optional grouping variable for subgroups. |

`range` |
Should min and max be included in output? |

`rangesep` |
How should min/max be separated from mean+-sd? |

`add_n` |
Should n be included in output? |

`.german` |
logical, should "." and "," be used as bigmark and decimal? |

character vector with mean ± SD, rounded to desired precision

1 2 3 4 |

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.