Check if an object is of class mitml.list
This function checks if its argument is a list of class mitml.list
.
is.mitml.list(x)
x |
An R object. |
TRUE
or FALSE
.
A warning message is displayed if the contents of x
do not appear to be data frames.
Simon Grund
l <- list(data.frame(x = rnorm(20))) l <- as.mitml.list(l) is.mitml.list(l) # TRUE l <- as.list(1:10) is.mitml.list(l) # FALSE class(l) <- "mitml.list" is.mitml.list(l) # TRUE, with a warning
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.