FreesearchR/man/append_list.Rd
Andreas Gammelgaard Damsbo e9422a418b
Some checks failed
pkgdown.yaml / pkgdown (push) Has been cancelled
docs
2025-03-24 14:43:50 +01:00

27 lines
524 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{append_list}
\alias{append_list}
\title{Append list with named index}
\usage{
append_list(data, list, index)
}
\arguments{
\item{data}{data to add to list}
\item{list}{list}
\item{index}{index name}
}
\value{
list
}
\description{
Append list with named index
}
\examples{
ls_d <- list(test = c(1:20))
ls_d <- list()
data.frame(letters[1:20], 1:20) |> append_list(ls_d, "letters")
letters[1:20] |> append_list(ls_d, "letters")
}