Learn R Programming

MRIaggr (version 1.1.5)

supprDescStats: Remove an element of ls_descStats

Description

Remove an element from the ls_descStat attribute of a MRIaggr object.

Usage

"supprDescStats"(object, verbose = optionsMRIaggr("verbose")) <- value

Arguments

object
an object of class MRIaggr. REQUIRED.
value
the name of the element(s) that should be removed. character vector. REQUIRED.
verbose
should the execution of the function be traced ? logical.

Value

None.

See Also

allocDescStats<- to allocate an element to the ls_descStat attribute. selectParameter to display the elements of the ls_descStat attribute.

Examples

Run this code
## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")

## existing elements in @ls_descStats
selectParameter(MRIaggr.Pat1_red, type = "ls_descStats")

## delete one element in @ls_descStats
supprDescStats(MRIaggr.Pat1_red) <- "index_sauve"

## remaining elements in @ls_descStats
selectParameter(MRIaggr.Pat1_red, "ls_descStats")

Run the code above in your browser using DataLab