rbind.demog_change_component_df: Combine 'demog_change_component_df' objects

View source: R/S3_methods_demog_change_component_df.R

rbind.demog_change_component_dfR Documentation

Combine demog_change_component_df objects

Description

This is an S3 method for base::rbind for objects that inherit from demog_change_component_df. The special classes are dropped. If called interactively a warning to this effect is issued.

Usage

## S3 method for class 'demog_change_component_df'
rbind(
  ...,
  deparse.level = 1,
  make.row.names = TRUE,
  stringsAsFactors = default.stringsAsFactors(),
  factor.exclude = TRUE
)

Arguments

...

(generalized) vectors or matrices. These can be given as named arguments. Other R objects may be coerced as appropriate, or S4 methods may be used: see sections ‘Details’ and ‘Value’. (For the "data.frame" method of cbind these can be further arguments to data.frame such as stringsAsFactors.)

deparse.level

integer controlling the construction of labels in the case of non-matrix-like arguments (for the default method):
deparse.level = 0 constructs no labels; the default,
deparse.level = 1 or 2 constructs labels from the argument names, see the ‘Value’ section below.

make.row.names

(only for data frame method:) logical indicating if unique and valid row.names should be constructed from the arguments.

stringsAsFactors

logical, passed to as.data.frame; only has an effect when the ... arguments contain a (non-data.frame) character.

factor.exclude

if the data frames contain factors, the default TRUE ensures that NA levels of factors are kept, see PR#17562 and the ‘Data frame methods’. In R versions up to 3.6.x, factor.exclude = NA has been implicitly hardcoded (R <= 3.6.0) or the default (R = 3.6.x, x >= 1).

Value

A data frame.

Author(s)

Mark Wheldon


markalava/ccmppWPP documentation built on April 21, 2022, 12:36 a.m.