Defines functions getrow.foldert

Documented in getrow.foldert

getrow.foldert <- function(object, name) {
  if (!is.foldert(object))
    stop("getrow.foldert applies to an object of class 'foldert'.")
  xf <- list()
  for (k in 1:length(object)) {
    objk <- object[[k]]
    xf[[k]] <- objk[rownames(objk) %in% name, ]
  attributes(xf) <- attributes(object)

Try the dad package in your browser

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

dad documentation built on Aug. 9, 2021, 1:06 a.m.