I am trying to find a R library that splits a distribution into a symmetric and asymmetric components. I have a distribution that I want to split into two components, one skewed and the other most likely symmetric but possibly skewed. I tried
output <- spEMsymloc(input, mu = c(-0.5, 1.5), bw=0.2)
output <- smsn.mix(input, nu = 2, g = 2, get.init = TRUE, criteria = TRUE, group = TRUE, family = "Skew.normal", calc.im=FALSE)
Is there a way to get two components where one is skewed.