Description Usage Arguments Details Value Author(s) See Also Examples
This function calculates the statistics of the boxplot for the input matrix or data frame.
1  | ds.boxplot(data, out.level = 1.5, width = 0.15 , outl = TRUE, tojson = FALSE)
 | 
data | 
 The input numeric matrix or data frame.  | 
out.level | 
 Determines the length of the "whiskers" plot. If it is equal to zero or "outl" is set to F, no outliers will be returned.  | 
width | 
 The width level is determined 0.15 times the square root of the size of the input data.  | 
outl | 
 If TRUE the outliers will be computed at the selected "out.level" level (default is 1.5 times the Interquartile Range).  | 
tojson | 
 If TRUE the results are returned in json format  | 
This function returns as a list object the statistical parameters needed to visualize boxplot.
Returns a list with the extracted components of ds.box for each variable/column of the input data.
Aikaterini Chatzopoulou, Kleanthis Koupidis
ds.box, ds.analysis, open_spending.ds
1 2 3 4 5 6 7 8 9 10 11 12  | # with matrix as an input and the default parameters
Matrix <- cbind(Uni05 = (1:200)/21, Norm = rnorm(200),
         `5T` = rt(200, df = 5), Gam2 = rgamma(200, shape = 2))
ds.boxplot(Matrix, out.level = 1.5, width = 0.15 , outl = TRUE, tojson = FALSE)
# iris data frame as an input, different parameters and json output
ds.boxplot(iris, out.level = 2, width = 0.25 , outl = FALSE, tojson = TRUE)
# OpenBudgets.eu Dataset Example:
ds.boxplot(Wuppertal_df$Amount, out.level = 2.5, width = 0.15, 
outl = TRUE, tojson = FALSE)
       
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.