This function will remove the ambient light channel from the NIRs data. It is not required to do this, but it can make the data easier to work with.
remove_ambient(nirsData)(DATAFRAME) NIRS data that has been imported using the import_nirs function.
A dataframe with the ambient light channel removed.
if (FALSE) {
nirsData <- import_nirs("path/to/nir/file.nir")
nirsData <- remove_ambient(nirsData)
}