align_dfcol: Align a data.frame to a template

View source: R/pad.R

align_dfcolR Documentation

Align a data.frame to a template

Description

align_dfcol

Usage

align_dfcol(target, template)

Arguments

target

data.frame

template

data.frame

Examples

target <- data.frame(matrix(NA, ncol = 5))
template <- data.frame(matrix(NA, ncol = 6))
names(target) <- c(letters[c(3, 1, 2, 4, 8)])
names(template) <- c(letters[1:6])
align_dfcol(target =  target, template = template)

jsta/rjsta documentation built on June 7, 2022, 8:39 p.m.