Skip to content
Snippets Groups Projects
getGivenAttribute.Rd 586 B
Newer Older
Arnaud Duvermy's avatar
Arnaud Duvermy committed
% Generated by roxygen2: do not edit by hand
Arnaud Duvermy's avatar
Arnaud Duvermy committed
% Please edit documentation in R/utils.R
Arnaud Duvermy's avatar
Arnaud Duvermy committed
\name{getGivenAttribute}
\alias{getGivenAttribute}
\title{Get a given attribute from a list of variables}
\usage{
getGivenAttribute(list_var, attribute)
}
\arguments{
Arnaud Duvermy's avatar
Arnaud Duvermy committed
\item{list_var}{A list of variables (already initialized with init_variable)}
Arnaud Duvermy's avatar
Arnaud Duvermy committed

\item{attribute}{A string specifying the attribute to retrieve in all occurrences of the list}
}
\value{
A list without NULL values
}
\description{
Get a given attribute from a list of variables
}
Arnaud Duvermy's avatar
Arnaud Duvermy committed
\examples{
getGivenAttribute(init_variable(), "level")
}