stats_by_variable: Statistics of variables

Description Usage Arguments Value Examples

Description

Get a summary of statistics of the variables.

Usage

1
2
stats_by_variable(dataset, variables = NULL, 
variable.bounds = NULL)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

variables

allows to define which variables to calculate the stats (if numbers, indexes are assumed).

variable.bounds

allow to define an interval of variables (if numeric).

Value

Returns a vector with the a summary of statistics of the variables.

Examples

1
2
3
4
     ## Example of getting stats of variables
	 library(specmine.datasets)
     data(cachexia)
     variable.stats.result = stats_by_variable(cachexia)

specmine documentation built on Sept. 21, 2021, 5:06 p.m.