R/is.afmexperiment.R

Defines functions is.afmexperiment

Documented in is.afmexperiment

#' @title Afmexperiment check.
#'   
#' @description Checks wether an R object is an afmexperiment or not.
#' @usage is.afmexperiment(x)
#' @param x Any \bold{R} object.
#' @return Returns \code{TRUE} if its argument is an afmdata (that is, has "afmexperiment"
#'   amongst its classes) and \code{FALSE} otherwise.
#'   
#' @export


is.afmexperiment <- function(x){
  inherits(x,"afmexperiment")
}

Try the afmToolkit package in your browser

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

afmToolkit documentation built on May 1, 2019, 9:20 p.m.