append {mStats}R Documentation

Append datasets

Description

append() row-combines multiple datasets of the same column names.

Usage

append(data, ...)

Arguments

data

data.frame

...

one or multiple data.frame

Details

A single or multiple datasets can be appended.

The appending datasets must have at least one variable name which is there in the master dataset.

The order of variables of the appending datasets is automatically set based on the variable arrangement of the master dataset.

Value

data.frame

Author(s)

Email: dr.myominnoo@gmail.com

Website: https://myominnoo.github.io/

Examples


x <- append(infert[, -c(3,4)], infert[, -5], infert[, -6])
## codebook(x)

## Not run: 
## if no variables are matched, ERROR
append(infert, iris)

## End(Not run)


[Package mStats version 3.4.0 Index]