| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/is.functions.R |
| 3 |
\name{is_some_class} |
| 4 |
\alias{is_some_class} |
| 5 |
\alias{is.hclust} |
| 6 |
\alias{is.dendrogram} |
| 7 |
\alias{is.phylo} |
| 8 |
\alias{is.dendlist} |
| 9 |
\alias{is.dist} |
| 10 |
\title{Is the object of some class} |
| 11 |
\usage{ |
| 12 |
is.hclust(x) |
| 13 |
|
| 14 |
is.dendrogram(x) |
| 15 |
|
| 16 |
is.phylo(x) |
| 17 |
|
| 18 |
is.dendlist(x) |
| 19 |
|
| 20 |
is.dist(x) |
| 21 |
} |
| 22 |
\arguments{ |
| 23 |
\item{x}{an object.} |
| 24 |
} |
| 25 |
\value{ |
| 26 |
Returns TRUE if some class (based on the name of the function). |
| 27 |
} |
| 28 |
\description{ |
| 29 |
Returns TRUE if some class (based on the name of the function). |
| 30 |
} |
| 31 |
\examples{ |
| 32 |
# TRUE: |
| 33 |
is.dendlist(dendlist()) |
| 34 |
# FALSE |
| 35 |
is.dendlist(1) |
| 36 |
# TRUE: |
| 37 |
is.dist(dist(mtcars)) |
| 38 |
# FALSE |
| 39 |
is.dist(mtcars) |
| 40 |
} |