select.grouped_tsymble: select.grouped_tsymble

select.grouped_tsymbleR Documentation

select.grouped_tsymble

Description

An S3 method for selecting from a tsymble_ts object

Usage

## S3 method for class 'grouped_tsymble'
select(.data, ...)

Arguments

.data

A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). See Methods, below, for more details.

...

<tidy-select> One or more unquoted expressions separated by commas. Variable names can be used as if they were positions in the data frame, so expressions like x:y can be used to select a range of variables.

Value

An object of the same type as .data. The output has the following properties:

  • Rows are not affected.

  • Output columns are a subset of input columns, potentially with a different order. Columns will be renamed if new_name = old_name form is used.

  • Data frame attributes are preserved.

  • Groups are maintained; you can't select off grouping variables.


jagg19/AlpacaforR documentation built on July 3, 2023, 12:14 p.m.