R/RFLPlod.R

Defines functions RFLPlod

Documented in RFLPlod

###############################################################################
## Remove bands below LOD
###############################################################################

RFLPlod <- function(x, LOD){
    if(length(LOD) > 1){
        warning("Only first element of 'LOD' is used.")
        LOD <- LOD[1]
    }
    
    message(paste(sum(x$MW < LOD), "bands were removed."))
    x[x$MW >= LOD, ]
}

Try the RFLPtools package in your browser

Any scripts or data that you put into this service are public.

RFLPtools documentation built on Feb. 8, 2022, 5:06 p.m.