R/rmProfiles.wprof.R

Defines functions rmProfiles.wprof

Documented in rmProfiles.wprof

rmProfiles.wprof <-
function(y, v, ...) {
    if (is.logical(v)) v <- which(v)
    if (is.character(v)) v <- which(rownames(prof$profiles) %in% v)
    prof$profiles <- prof$profiles[-v,]
    prof$freq <- prof$freq[-v]
    return(prof)
}

Try the parsec package in your browser

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

parsec documentation built on May 2, 2019, 6:08 p.m.