View source: R/computSizesHipamAnthropom.R
computSizesHipamAnthropom | R Documentation |
This is a helper function for computing the hipamAnthropom elements provided by the hipamAnthropom
algorithm for a number of bust sizes defined by the European Normative (EN). Therefore, the hipamAnthropom
is used inside this function.
computSizesHipamAnthropom(dataHip, bust, bustMeasur, nsizes, maxsplit, orness, type, ah, verbose = FALSE)
dataHip |
Data frame. |
bust |
Bust column of the data frame. |
bustMeasur |
Sequence vector of bust measurements (bust sizes) provided by the |
nsizes |
Number of sizes defined by the European Normative to apply the |
maxsplit, orness, type, ah, verbose |
Same arguments as those of the |
A list with the same elements as the hipamAnthropom
function.
Guillermo Vinue
European Committee for Standardization. Size designation of clothes. Part 3: Measurements and intervals. (2005).
Vinue, G., Leon, T., Alemany, S., and Ayala, G., (2014). Looking for representative fit models for apparel sizing, Decision Support Systems 57, 22–33.
hipamAnthropom
, bustSizesStandard
dataHipam <- sampleSpanishSurvey bust <- dataHipam$bust bustSizes <- bustSizesStandard(seq(74, 102, 4), seq(107, 131, 6)) type <- "IMO" maxsplit <- 5 ; orness <- 0.7 ah <- c(23, 28, 20, 25, 25) #For reproducing results, seed for randomness: #suppressWarnings(RNGversion("3.5.0")) #set.seed(2013) numSizes <- 1 res_hipam <- computSizesHipamAnthropom(dataHipam, bust, bustSizes$bustCirc, numSizes, maxsplit, orness, type, ah, FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.