is_some_class {dendextend} | R Documentation |
Returns TRUE if some class (based on the name of the function).
is.hclust(x)
is.dendrogram(x)
is.phylo(x)
is.dendlist(x)
is.dist(x)
x |
an object. |
Returns TRUE if some class (based on the name of the function).
# TRUE:
is.dendlist(dendlist())
# FALSE
is.dendlist(1)
# TRUE:
is.dist(dist(mtcars))
# FALSE
is.dist(mtcars)