partial_frame

0th

Percentile

Partially specify columns of a data frame

This special class can be passed to .ptype in order to specify the types of only some of the columns in a data frame.

Usage
partial_frame(...)
Arguments
...

Attributes of subclass

Aliases
  • partial_frame
Examples
# NOT RUN {
pf <- partial_frame(x = double())
pf

vec_rbind(
  data.frame(x = 1L, y = "a"),
  data.frame(x = FALSE, z = 10),
  .ptype = partial_frame(x = double(), a = character())
)
# }
Documentation reproduced from package vctrs, version 0.1.0, License: GPL-3

Community examples

Looks like there are no examples yet.