Learn R Programming

mixchar (version 0.1.0)

process: Calculates the derivative rate of mass loss of thermogravimetric data

Description

This function processes thermogravimetric data by calculating the derivative of mass loss

Usage

process(data, init_mass, temp, mass_loss = NULL, mass = NULL,
  temp_units = "C")

Arguments

data

dataframe

init_mass

numeric value of initial sample mass in mg

temp

column name containing temperature values

mass_loss

column name containing mass loss values in mg

mass

column name containing mass values in mg

temp_units

specify units of temperature, default = Celsius. Can specify 'K' or 'Kelvin' if in Kelvin

Value

process list containing modified dataframe, initial mass of sample, and maximum and minimum temperature values

Examples

Run this code
# NOT RUN {
data(juncus)
tmp <- process(juncus, init_mass = 18.96,
               temp = 'temp_C', mass_loss = 'mass_loss')

# }

Run the code above in your browser using DataLab