createSampleFromTable {maDB} | R Documentation |
createSampleFromTable
This function creates a new instance from the class Sample
using the data in the matrix submitted as attribute. The column names of the matrix should correspond to the attribute names (slot names) of the Sample
class. All "\_"
will be replaced by a dot in the column names (for example for the slot exposure.time
of the Sample class the table should have a column named “exposure_time”).
createSampleFromTable(table)
table |
The data table that contains the values with which the new Sample object should be filled. |
This function a new Sample object filling its slots with the values of the data table submitted.
Johannes Rainer