Browse Source

Add documentation

pull/3/head
Philipp Baumann 6 years ago
parent
commit
dca69aac13
  1. 10
      R/tbl-lcol-map-funprog.R
  2. 24
      man/extract_lcols2dts.Rd

10
R/tbl-lcol-map-funprog.R

@ -6,6 +6,16 @@ split_df2l <- function(tbl_df, group) {
# Extract multiple tibble list columns, row bind them separately into
# single data tables and return a list of data.tables
#' @title Extract multiple tibble list-columns and return data as list of
#' data.tables
#' @description Extract multiple tibble list columns, row bind them separately
#' into single data tables and return a list of data.tables.
#' @param spc_tbl Spectral tibble (data frame) with spectral data contained
#' in list-columns
#' @param lcols Character vector containing names of list-columns to be
#' extracted into a list of data.tables
#' @return List of data.tables. Each element is a data.table derivied from a
#' list-column specified in the \code{lcols} argument.
#' @import purrr
#' @export
extract_lcols2dts <- function(spc_tbl, lcols) {

24
man/extract_lcols2dts.Rd

@ -0,0 +1,24 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tbl-lcol-map-funprog.R
\name{extract_lcols2dts}
\alias{extract_lcols2dts}
\title{Extract multiple tibble list-columns and return data as list of
data.tables}
\usage{
extract_lcols2dts(spc_tbl, lcols)
}
\arguments{
\item{spc_tbl}{Spectral tibble (data frame) with spectral data contained
in list-columns}
\item{lcols}{Character vector containing names of list-columns to be
extracted into a list of data.tables}
}
\value{
List of data.tables. Each element is a data.table derivied from a
list-column specified in the \code{lcols} argument.
}
\description{
Extract multiple tibble list columns, row bind them separately
into single data tables and return a list of data.tables.
}
Loading…
Cancel
Save