R/internal.utility.functions.R

Defines functions select

Documented in select

#' @title Select an element of each vector from a list
#' @description Selects y'th element of each vector from a list
#' @param x list
#' @param y number of element. Must be integer
#' @keywords internal
#' @export
#'
select <- function(x,y) sapply(x, "[", y)
MikkoVihtakari/sclero documentation built on March 21, 2023, 11:48 a.m.