columnBindFill {petersenlab}R Documentation

Column Bind and Fill.

Description

Column bind dataframes and fill with NAs.

Usage

columnBindFill(...)

Arguments

...

Names of multiple dataframes.

Details

Binds columns of two or more dataframes together, and fills in missing rows.

Value

Dataframe with columns binded together.

See Also

https://stackoverflow.com/questions/7962267/cbind-a-dataframe-with-an-empty-dataframe-cbind-fill/7962286#7962286

Other dataManipulation: convert.magic(), dropColsWithAllNA(), dropRowsWithAllNA()

Examples

# Prepare Data
df1 <- data.frame(a = rnorm(5), b = rnorm(5))
df2 <- data.frame(c = rnorm(4), d = rnorm(4))

# Column Bind and Fill
columnBindFill(df1, df2)


[Package petersenlab version 1.0.0 Index]