R/nameProperties.R

Defines functions nameProperties

Documented in nameProperties

#' Property objects are named
#'
#' @param propList a list of property objects
#'
#' @return the propList, as a named list
#'
nameProperties <- function(propList){
    names = sapply(propList, function(prop){prop$property})
    names(propList) <- names
    return(propList)
}
BioLockJ-Dev-Team/BioLockR documentation built on March 9, 2021, 10:43 p.m.