returns random samples from the posterior, given a prior distribution m and n observed datapoints.
# S3 method for normalmix
post_sample(m, data, nsamp)
a nsamp by n matrix
mixture distribution with k components
a list with components x and s to be interpreted as a normally-distributed observation and its standard error
number of samples to return for each observation