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(y$profiles) %in% v)
    y$profiles <- y$profiles[-v,]
    y$freq <- y$freq[-v]
    return(y)
}

Try the parsec package in your browser

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

parsec documentation built on Aug. 19, 2023, 5:07 p.m.