Learn R Programming

networkreporting (version 0.1.1)

report.aggregator_: aggregate a reported quantity by groups

Description

This function takes a quantity and aggregates it by groups, using the design weights.

Usage

report.aggregator_(resp.data, attribute.names, qoi, weights, qoi.name, dropmiss = FALSE)
report.aggregator(resp.data, attribute.names = NULL, qoi, weights, qoi.name = NULL, dropmiss = FALSE)

Arguments

resp.data
the data
attribute.names
the names of the variables that define the groups for which the qoi should be aggregated
qoi
the variable with quantity to aggregate
weights
analysis weights
qoi.name
the name of the qoi
dropmiss
NOT YET IMPLEMENTED

Value

the estimated average degree for respondents in each of the categories given by attribute.names