is.acid | R Documentation |
Test if a variable is an Acid-object.
is.acid(x)
x |
variable to test. |
TRUE
if the object is of class acid
.
# TRUE return
is.acid( Acid(1.245, 5.47, 3) )
is.acid( Acid(c(0.98, 1.1, 1.51), c(5.26, 5.68)) )
# Acid.SpecificPair-objects are also Acid-objects
is.acid( Acid.SpecificPair(list(c(0.98, 5.68), c(1.51, 5.26))) )
# FALSE return
is.acid(1)
is.acid( list(Acid(1.245, 5.47, 3), Acid(1.245, 5.47, 3)) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.