R/print.loq.R

Defines functions print.loq

#' @export
print.loq <- function(x, ... ) {
    if (!inherits(x,"loq")) {
        stop("not loq object")
    }
    
    lloq <- unlist(lapply(x, function(y) y$lloq))
    uloq <- unlist(lapply(x, function(y) y$uloq))
    method <- unlist(lapply(x, function(y) y$method))  
    ans <- data.frame(analyte = names(x), lloq=lloq, uloq=uloq, method=method)
    rownames(ans) <- 1:nrow(ans)
    print(ans)
}

Try the drLumi package in your browser

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

drLumi documentation built on May 2, 2019, 2:45 p.m.