This document describes the use of the functions implemented in DescriptiveStats.OBeu package in OpenCPU environment, after installing OpenCPU and DescriptiveStats.OBeu package on OpenCPU server address(/ocpu/test).
Go to: yourserver/ocpu/test
Type to the endpoint:
If you want to see the function parameters you should:
Get
To run a function you should:
Post
Then you can click on Ajax Request.
In this example we will use ds.analysis
function that returns in a single call a json string or a list with the following components:
Component | Output | Description |
---|---|---|
statistics |
|
|
boxplot |
|
|
histogram |
|
|
frequencies |
|
|
correlation |
|
|
Go to: yourserver/ocpu/test
Copy and paste the following function to the endpoint
Post
Click add parameters every time you want to add a new parameters and values.
Define the input data:
data
Wuppertal_df
Define the outliers parameter(optional):
outliers
FALSE
Define the fr.select parameter(optional):
fr.select
"Produktbereich"
You add likewise further parameters and change the default parameters of c.out
, box.width
, hist.class
, corr.method
, see DesciptiveStats.OBeu reference manual for further details.
copy the /ocpu/tmp/{this_id_number}/R/.val (second on the right panel)
finally, paste yourserver/ocpu/tmp/{this_id_number}/R/.val
on a new tab.