| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/deprecated-0-7-0.R |
| 3 |
\name{tidy.dist} |
| 4 |
\alias{tidy.dist} |
| 5 |
\title{(Deprecated) Tidy dist objects} |
| 6 |
\usage{ |
| 7 |
\method{tidy}{dist}(x, diagonal = attr(x, "Diag"), upper = attr(x, "Upper"), ...) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x}{A \code{dist} object returned from \code{\link[stats:dist]{stats::dist()}}.} |
| 11 |
|
| 12 |
\item{diagonal}{Logical indicating whether or not to tidy the diagonal |
| 13 |
elements of the distance matrix. Defaults to whatever was based to the |
| 14 |
\code{diag} argument of \code{\link[stats:dist]{stats::dist()}}.} |
| 15 |
|
| 16 |
\item{upper}{Logical indicating whether or not to tidy the upper half of |
| 17 |
the distance matrix. Defaults to whatever was based to the |
| 18 |
\code{upper} argument of \code{\link[stats:dist]{stats::dist()}}.} |
| 19 |
|
| 20 |
\item{...}{Additional arguments. Not used. Needed to match generic |
| 21 |
signature only. \strong{Cautionary note:} Misspelled arguments will be |
| 22 |
absorbed in \code{...}, where they will be ignored. If the misspelled |
| 23 |
argument has a default value, the default value will be used. |
| 24 |
For example, if you pass \code{conf.lvel = 0.9}, all computation will |
| 25 |
proceed using \code{conf.level = 0.95}. Two exceptions here are: |
| 26 |
\itemize{ |
| 27 |
\item \code{tidy()} methods will warn when supplied an \code{exponentiate} argument if |
| 28 |
it will be ignored. |
| 29 |
\item \code{augment()} methods will warn when supplied a \code{newdata} argument if it |
| 30 |
will be ignored. |
| 31 |
}} |
| 32 |
} |
| 33 |
\value{ |
| 34 |
A \link[tibble:tibble]{tibble::tibble} with one row for each pair of items in the |
| 35 |
distance matrix, with columns: |
| 36 |
|
| 37 |
\item{item1}{First item} |
| 38 |
\item{item2}{Second item} |
| 39 |
\item{distance}{Distance between items} |
| 40 |
} |
| 41 |
\description{ |
| 42 |
(Deprecated) Tidy dist objects |
| 43 |
} |
| 44 |
\details{ |
| 45 |
If the distance matrix does not include an upper triangle and/or |
| 46 |
diagonal, the tidied version will not either. |
| 47 |
} |
| 48 |
\examples{ |
| 49 |
|
| 50 |
cars_dist <- dist(t(mtcars[, 1:4])) |
| 51 |
cars_dist |
| 52 |
|
| 53 |
tidy(cars_dist) |
| 54 |
tidy(cars_dist, upper = TRUE) |
| 55 |
tidy(cars_dist, diagonal = TRUE) |
| 56 |
|
| 57 |
} |
| 58 |
\seealso{ |
| 59 |
Other deprecated: |
| 60 |
\code{\link{bootstrap}()}, |
| 61 |
\code{\link{confint_tidy}()}, |
| 62 |
\code{\link{data.frame_tidiers}}, |
| 63 |
\code{\link{finish_glance}()}, |
| 64 |
\code{\link{fix_data_frame}()}, |
| 65 |
\code{\link{summary_tidiers}}, |
| 66 |
\code{\link{tidy.density}()}, |
| 67 |
\code{\link{tidy.ftable}()}, |
| 68 |
\code{\link{tidy.numeric}()} |
| 69 |
} |
| 70 |
\concept{deprecated} |