File: is_some_class.Rd

package info (click to toggle)
r-cran-dendextend 1.14.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,888 kB
  • sloc: sh: 13; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/is.functions.R
\name{is_some_class}
\alias{is_some_class}
\alias{is.hclust}
\alias{is.dendrogram}
\alias{is.phylo}
\alias{is.dendlist}
\alias{is.dist}
\title{Is the object of some class}
\usage{
is.hclust(x)

is.dendrogram(x)

is.phylo(x)

is.dendlist(x)

is.dist(x)
}
\arguments{
\item{x}{an object.}
}
\value{
Returns TRUE if some class (based on the name of the function).
}
\description{
Returns TRUE if some class (based on the name of the function).
}
\examples{
# TRUE:
is.dendlist(dendlist())
# FALSE
is.dendlist(1)
# TRUE:
is.dist(dist(mtcars))
# FALSE
is.dist(mtcars)
}