View source: R/summarizePedigree.R
calculateSummaryDT | R Documentation |
summarize_pedigree
function.This function calculates summary statistics for all numeric variables in a data.table. It is supposed to be used internally by the summarize_pedigree
function.
calculateSummaryDT(data, group_var, skip_var, five_num_summary = FALSE)
data |
A data.table containing the pedigree data. |
group_var |
A character string specifying the column name of the grouping variable. |
skip_var |
Character vector. Variables to exclude from summary calculations. |
five_num_summary |
Logical. If 'TRUE', includes the first quartile (Q1) and third quartile (Q3) in addition to the minimum, median, and maximum values. |
A data.table containing the summary statistics for all numeric variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.