clusmean(popchar = NULL, cluster = NULL, clustotal = NULL)clustotal) allows correct computation
for one- and two-stage sampling of individuals from each cluster (haul).data(codlengths)
clusmean(popchar=codlengths$tl,cluster=codlengths$station,
clustotal=codlengths$total)Run the code above in your browser using DataLab