# NOT RUN {
# specifying for a point estimate on one variable
gss %>%
specify(response = age)
# specify a relationship between variables as a formula...
gss %>%
specify(age ~ partyid)
# ...or with named arguments!
gss %>%
specify(response = age, explanatory = partyid)
# More in-depth explanation of how to use the infer package
# }
# NOT RUN {
vignette("infer")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab