spread_gather: Complete missing pairs

Description Usage Arguments Value Author(s)

View source: R/spread_gather.R

Description

Spread and gather the table so that missing pairs are added.

Usage

1
spread_gather(x, col, val, fill)

Arguments

x

tibble or dataframe.

col

character. Name of the column which should be srepad.

val

character. Name of the column populating the cells.

fill

NA or numeric. Value used to fill missing data.

Value

A tibble or dataframe where missing pairs have beend added.

Author(s)

Nicolas Mangin


NicolasJBM/tablR documentation built on June 9, 2021, 5:23 p.m.