View source: R/BasicDescription.R

BasicDescription | R Documentation |

Basic descriptive sataistics of several variables by the categories of a factor.

```
BasicDescription(X, groups = NULL, SortByGroups = FALSE, na.rm = FALSE, Intervals = TRUE)
```

`X` |
A data frame or a matrix containing several numerical variables |

`groups` |
A factor with the groupings |

`SortByGroups` |
Sorting by groups |

`na.rm` |
a logical value indicating whether NA values should be stripped before the computation proceeds. |

`Intervals` |
Should the confidence intervals be calculated? |

Basic descriptive sataistics of several variables by the categories of a factor.

A list with the description of each variable.

Jose Luis Vicente Villardon

```
data(wine)
BasicDescription(wine[,4:8], groups = wine$Origin)
```

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.