View source: R/functions_corelation.R
distribution | R Documentation |
For numeric-type EDAs: compares distributions of two EDA objects or of an EDA object with
a user-specified theoretical distribution with Kolmorgov-Smirnov test (ks.test
).
For factor-type EDA objects: the distribution is compared via Chi squared test (chisq.test
).
distribution(eda_object, y, ...)
eda_object |
an EDA object, created by |
y |
form comparison of numeric distributions: an EDA object or a numeric vector form comparing two factors: another EDA object with the same levels. |
... |
extra arguments passed to |
an eTest object with the D statistic and p value for numeric distribution or an eTest object with the Chi-squared, df and p value for categorical EDAs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.