elementR_repStandard: Object elementR_repStandard

elementR_repStandardR Documentation

Object elementR_repStandard

Description

The R6Class object elementR_repStandard contains the main information needed for the filtration of a batch of standard replicates.

Usage

delementR_repStandard

Format

An R6Class generator object

Details

As a subclass object, the elementR_repStandard object already contains all fields and methods from the elementR_rep. Moreover, it also contains items specifically designed for standard filtration.

Inheritance

The delementR_repStandard object inherits from the elementR_rep.

Fields

rep_type

A character string indicating the type of the batch considered (here, "standard")

rep_dataFinale

A matrix containing data_standFinalMean and data_standFinalSD for all standard replicates included in the considered batch

rep_dataFinaleMean

A vector containing the average per chemical element of the rep_dataFinale

rep_dataFinaleSD

A vector containing the standard deviation per chemical element of the rep_dataFinale

Methods

setrep_FinalMeanSD()

Aim: define and set rep_dataFinaleMean and rep_dataFinaleSD

setRep_table(nelem)

Aim: define and set rep_dataFinale; Arguments: nelem = a vector containing the names of the chemical elements to include in the rep_dataFinale

create()

Aim: create and set rep_data by filling it with the elementR_standard objects corresponding to standard replicates included in this batch

See Also

elementR_rep. elementR_repSample.

Examples

## create a new elementR_repStandard object based on the "filePath" 
## from a folder containing sample replicate

filePath <- system.file("Example_Session/standards", package="elementR")

standBatch <- elementR_repStandard$new(rep_folderPath = filePath)

## Display the files contained in this batch

standBatch$rep_Files

charlottesirot/elementR documentation built on March 8, 2024, 5:13 a.m.