desc_numeric: A desc_numeric Function

View source: R/desc_numeric.R

desc_numericR Documentation

A desc_numeric Function

Description

DESCRIPCIO DE LA FUNCIO

Usage

desc_numeric(
  data,
  covariates,
  y,
  frml = NULL,
  method = "non-param",
  caption = NULL,
  font_size = 13,
  width_lev = "9em",
  col.background = "#993489",
  show.pval = TRUE,
  show.all = TRUE,
  show.n = TRUE,
  corplot = FALSE,
  nround = 1,
  cor_cut = 0.7,
  pval_cut = 0.05,
  ...
)

Arguments

data

data frame, list or environment (or object coercible by 'as.data.frame' to a data frame) containing the variables in the model. If they are not found in 'data', the variables are taken from 'environment(formula)'.

covariates

a character string with names of variables.

y

numeric variable. Outcome

frml

Right side of ~ must have the terms in an additive way, and left side of ~ must contain the name of the grouping variable or can be left in blank (in this latter case descriptives for whole sample are calculated and no test is performed).

method

character string indicating the method to test use; possible values are 'param' or 'non-param'. Default values is 'non-param'.

caption

Character vector containing the table's caption or title.

font_size

A numeric input for table font size

width_lev

defines the maximum width of table columns. Default value is 9em

show.pval

logical indicating whether p-value of overall groups significance ('p.overall' column) is displayed or not. Default value is TRUE.

cor_cut

A numeric value to variable select

pval_cut

A numeric value to variable select (p.value)


uebvhir/anaStatsUEB documentation built on May 6, 2023, 3:46 a.m.