Debian Codegraph @

man/skimr-vctrs.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/vctrs.R
3 \name{skimr-vctrs}
4 \alias{skimr-vctrs}
5 \alias{vec_ptype2.skim_df.skim_df}
6 \alias{vec_ptype2.skim_df.tbl_df}
7 \alias{vec_ptype2.tbl_df.skim_df}
8 \alias{vec_cast.skim_df.skim_df}
9 \alias{vec_cast.skim_df.tbl_df}
10 \alias{vec_cast.tbl_df.skim_df}
11 \title{Functions for working with the vctrs package}
12 \usage{
13 \method{vec_ptype2}{skim_df.skim_df}(x, y, ...)
14
15 \method{vec_ptype2}{skim_df.tbl_df}(x, y, ...)
16
17 \method{vec_ptype2}{tbl_df.skim_df}(x, y, ...)
18
19 \method{vec_cast}{skim_df.skim_df}(x, to, ...)
20
21 \method{vec_cast}{skim_df.tbl_df}(x, to, ...)
22
23 \method{vec_cast}{tbl_df.skim_df}(x, to, ...)
24 }
25 \description{
26 These make it clear that we need to use the tibble behavior when joining,
27 concatenating or casting \code{skim_df} objects. For a better discussion, on
28 why this is important and how these functions work, see:
29 \url{https://vctrs.r-lib.org/reference/howto-faq-coercion-data-frame.html}.
30 }
31 \details{
32 \verb{vec_ptype2.*} handles finding common prototypes between \code{skim_df} and
33 similar objects. \verb{vec_cast.*} handles casting between objects. Note that
34 as of \verb{dplyr 1.0.2}, \code{\link[dplyr:bind_rows]{dplyr::bind_rows()}} does not full support combining
35 attributes and \code{\link[vctrs:vec_bind]{vctrs::vec_rbind()}} is preferred instead.
36 }
37 \keyword{internal}