powered by
This function conducts a weighted t-test
wtd.ttestC(f1, f2, data, digits = 3)
Function identifying interval-level dependent variable in the form ~ depvar
A function that defines groups to be compared in the form ~ indepvar
A design dataset such as gssD, nesD, statesD, or worldD
Number of digits to report after decimal place, optional (default = 3).
No return
# NOT RUN { library(poliscidata) wtd.ttestC(f1 = ~ ftgr_gay, f2 = ~ gender, data = nesD) wtd.ttestC(~ ft_rep, ~ gender, nesD) # }
Run the code above in your browser using DataLab