cbind_vectors_by_names: Bind two named vectors by matching names

View source: R/CodeAndRoll2.R

cbind_vectors_by_namesR Documentation

Bind two named vectors by matching names

Description

Combines two named vectors into a data frame by matching their names. Missing values are filled with NA.

Usage

cbind_vectors_by_names(vec1, vec2)

Arguments

vec1

First named vector.

vec2

Second named vector.

Value

A data frame with columns for both vectors, matched by name.


vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.