View source: R/results-bivar.R
create_ligne_bivar | R Documentation |
Univariate analysis
create_ligne_bivar(x, ...)
## S3 method for class 'factor'
create_ligne_bivar(x, y, noms, margin = 2, .drop = TRUE, compute_p = TRUE, ...)
## S3 method for class 'numeric'
create_ligne_bivar(x, y, noms, .drop = TRUE, compute_p = TRUE, summary = NULL)
x |
The independant variable |
y |
A vector to describe |
noms |
The variable names |
margin |
Index, or vector of indices to generate margin for. 1 indicates rows, 2 indicates columns |
compute_p |
logical: should the function compute the pvalue |
If x is a numeric vector: mean(sd), median(Q25-75), min, max, n, p. If x is a factor: n (
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.