Learn R Programming

plume (version 0.3.0)

everyone: Select all authors or exclude some from a selection

Description

Selection helpers to use in conjonction with status setter methods (i.e. methods that assign a status to authors with either TRUE or FALSE):

  • everyone() select all authors.

  • everyone_but() [Deprecated] this function was deprecated as I believe it is not necessary since not more than a couple of authors should normally be given a particular status.

Usage

everyone()

everyone_but(...)

Arguments

...

One or more unquoted expressions separated by commas. Expressions matching values in the column defined by the by or .by parameter are used to set a given status to authors. Matching of values is case- insensitive and dot-agnostic.

Examples

Run this code
aut <- Plume$new(encyclopedists)

aut$set_corresponding_authors(everyone())
dplyr::select(aut$data(), 1:3, corresponding)

Run the code above in your browser using DataLab