Row bind a list of objects that inherit from dplyr::tibble to create a single object grouped by id. Objects in the list must currently be of class psweight, psweight_mi, surv_ate, or marginal_survival.

rbind_list(l, id, integer_id = FALSE)

Arguments

l

A list containing the objects of interest, which must all be of the same class and inherit from dplyr::tibble.

id

Identifier for for the returned object used to group results. Passed to the .id argument of dplyr::bind_rows().

integer_id

If TRUE, then an intetger sequence is used for id; if FALSE, then the names of l are used.

Value

A single object of class "grouped_{class}" where {class} is the class of element in l. The returned object also inherits from dplyr::tibble and is grouped by id.