Description Usage Arguments Details Value Author(s) See Also Examples

Some summary statistics of a vector for each level of a grouping variable.

1 2 3 4 |

`x` |
A numerical vector with data. |

`ina` |
A numerical vector with numbers. Note that zero and negative values are not allowed as this can cause R to run forever or crash. |

`ina.length.unique` |
Length of the unique numerical values of ina argument. |

`method` |
A character vector with values "sum", "var", "all", "any", "mad", "mean", "med", "min", "max", "min.max". |

`ina.max` |
Maximum number for vector ina. |

`ina.min` |
Minimum number for vector ina. |

`mad.method` |
A character vector with values "median", for median absolute deviation or "mean", for mean absolute deviation. This works only with method="mad". |

This command works only for vectors. Median absolute deviation, mean, median, minimum, maximum are some of the options offered.

A vector with the variance, or standard deviation, or mean, or minimum, or maximum, or median, or minimum-maximum of x for each distinct value of ina.

Manos Papadakis and Michail Tsagris

R implementation and documentation: Manos Papadakis <papadakm95@gmail.com> and Michail Tsagris <mtsagris@uoc.gr>.

1 2 3 4 5 6 7 |

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.