Skip to content

svychisq in summarise after group_by #152

@pholck

Description

@pholck

Possibly not an issue and I'm being stupid...but don't see a way to have some attribute of svychisq (e.g. p.value) returned for each group_by selection (presumming the group_by generates a series of r x c tables) in the summarise. I would envision something like:
svyobject %>% group_by(Response.1, Response.2) %>%
summarise( test=svychisq(.)$p.test, prop = survey_prop() )

Again, apologies if I'm missing something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions