Description Usage Arguments Value Examples
Function to plot the CCDF according to the type of X et Z
1 2 3 4 5 6 7 8 9 |
Y |
a numeric vector of size |
X |
a numeric or factor vector of size |
Z |
a numeric or factor vector of size |
method |
a character string indicating which method to use to
compute the CCDF, either |
fast |
a logical flag indicating whether the fast implementation of
logistic regression should be used. Only if |
space_y |
a logical flag indicating whether the y thresholds are spaced.
When |
number_y |
an integer value indicating the number of y thresholds (and therefore
the number of regressions) to perform the test. Default is |
a ggplot
object
1 2 3 | X <- as.factor(rbinom(n=100, size = 1, prob = 0.5))
Y <- ((X==1)*rnorm(n = 50,0,1)) + ((X==0)*rnorm(n = 50,0.5,1))
plot_CCDF(data.frame(Y=Y),data.frame(X=X),method="linear regression")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.