R/makeGrpNum.R

Defines functions makeGrpNum

Documented in makeGrpNum

#' Convenience function to make the initial grpNum list
#'
## Copyright(c) 2017-2020 R. Mark Sharp
## This file is part of nprcgenekeepr
#'
#' @return Initial grpNum list
#'
#' @param numGp integer value indicating the number of groups that should be
#' formed from the list of IDs. Default is 1.
makeGrpNum <- function(numGp) {
  grpNum <- list()
  grpNum[1:numGp] <- 1:numGp
  grpNum
}
rmsharp/nprcmanager documentation built on April 24, 2021, 3:13 p.m.