R/drugdevelopResult.R

Defines functions drugdevelopResult

Documented in drugdevelopResult

#' Construct a drugdevelopResult object from a data frame
#'
#' This is a short wrapper for adding the "drugdevelopR" string to the list
#' of S3 classes of a data frame.
#'
#' @param x data frame
#'
#' @return the same data frame, equipped with class "drugdevelopResult"
#' @export
#' @keywords internal
drugdevelopResult <- function(x, ...) {
  class(x) <- c("drugdevelopResult", class(x))
  return(x)
}

Try the drugdevelopR package in your browser

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

drugdevelopR documentation built on June 22, 2024, 12:27 p.m.