How to add weights parameter to Generalized Mixed Model

@palday but lme4 says that the results are statistically significant.

I think because when weighted the properly sample size is 2,201
sum(as.data.frame(Titanic)$Freq)