elementR_repStandard: Object elementR_repStandard

Description Usage Format Details Inheritance Fields Methods See Also Examples

Description

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

Usage

1

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 elementR_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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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

elementR documentation built on Sept. 2, 2020, 5:07 p.m.