return_results: Returns results inheriting 'srvyr' design if the input egor...

View source: R/helper.R

return_resultsR Documentation

Returns results inheriting srvyr design if the input egor object has a an ego_design and global option "egor.return.results.with.design" is TRUE or 'NULL'.

Description

Returns results inheriting srvyr design if the input egor object has a an ego_design and global option "egor.return.results.with.design" is TRUE or 'NULL'.

Usage

return_results(x, results)

Arguments

x

Original egor object, as submitted in call to parent function.

results

data.frame with .egoID column and a column that hold the ego-level results.


egor documentation built on March 31, 2023, 11:33 p.m.