new_sticky_tibble {stickyr}R Documentation

Constructs a tibble with persistent columns and attributes

Description

new_sticky_tibble constructs a tibble with persistent columns and attributes. These persistent columns can be hidden.

Usage

new_sticky_tibble(
  x = list(),
  cols = NULL,
  col_show = tidyselect::everything(),
  col_summary = list(),
  attrs = character(),
  ...,
  class = character(),
  class_grouped_df = class,
  class_rowwise_df = class
)

Arguments

x

A tibble-like object.

cols

Columns to be kept persistently.

col_show

Which persistent columns to show? By default, all are displayed.

col_summary

A named list of functions to summarise persistent columns.

attrs

Names of attributes to be kept persistently.

...

Additional attributes.

class

Subclasses.

class_grouped_df

Subclasses of grouped_df. By default, it is the same as class.

class_rowwise_df

Subclasses of rowwise_df. By default, it is the same as class.

Value

A sticky tibble (sticky_tbl_df) object.


[Package stickyr version 0.1.2 Index]