spread_covariates: Spreads the covariates returned from database into wide...

View source: R/sample-covariates.R

spread_covariatesR Documentation

Spreads the covariates returned from database into wide data.frame

Description

Samples that did not have a value for a specific covariate are assigned to have NA.

Usage

spread_covariates(x, .fds = fds(x), cov.def = NULL, ...)

Arguments

x

output from fetch_sample_covariates

.fds

A FacileDataSet object

Value

a wide tbl_df-like object


facileverse/FacileData documentation built on Feb. 24, 2024, 7:59 a.m.