Description Usage Arguments Details Value Examples
This function is useful to see the basic statistical information of a variable.
1 |
x |
Numeric. A vector containing the data set. |
dec |
Numeric. A value defined to set the number of decimals in the returns. |
op |
Logical. If TRUE, returns plot, histogram, boxplot and qqnorm of the data set. |
This function shows statistical values including several visual tools.
If op=FALSE (defined by default), the function returns a matrix (1 row, 9 columns) with values of the mean, the standart deviadtion, the minumun, the median, the maximum, the variance, the variation coefficient, the first quartil value and the third quartil value of the data set. Whereas if op=TRUE , the function returns four graphics: 1) A plot with X axis the number of samples and Y axis the amount of values included in the data set, 2) The density histogram of data set with a red line representing the distribution shape of the data, 3) A classical boxplot of the data, and 4) the qqnorm plot including the qqline used to check the normal disribution in a data set through visual inspection.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.