R/computSizesHipamAnthropom.R

Defines functions computSizesHipamAnthropom

Documented in computSizesHipamAnthropom

computSizesHipamAnthropom <- function(dataHip, bust, bustMeasur, nsizes, maxsplit, orness, type, ah, verbose = FALSE){
 res_hipam <- list() ; class(res_hipam) <- "hipamAnthropom"
 for(i in 1 : nsizes){
  data = dataHip[(bust >= bustMeasur[i]) &
                  (bust < bustMeasur[i + 1]), ]
  dataMat <- as.matrix(data)
  res_hipam[[i]] <- hipamAnthropom(dataMat, maxsplit = maxsplit, orness = orness, 
                                   type = type, ah = ah, verbose = FALSE)
  }
 
 return(res_hipam)
} 

Try the Anthropometry package in your browser

Any scripts or data that you put into this service are public.

Anthropometry documentation built on March 7, 2023, 6:58 p.m.