get.wprior function

Mixing weight estimation.