find_page_row_column_variables: Match values of variables to different parts of a layout

Description Usage Arguments Value

Description

Match values of variables to different parts of a layout

Usage

1

Arguments

variables

List with the same structure as the return value of find_variables.

types

Character vector with named elements "pages", "rows", "columns" where every element is one of "outcomes", "exposures", "adjustments" and no two elements are the same.

Value

The layout consists of pages, rows, and columns. Every part of the layout represents one type of variable: outcomes, exposures, adjustments. The function takes the values of the different types of variables ('variables') as well as the correspondence between parts of the layout and the types of variables ('types') and returns a list with elements "page", "row", "column" where every element contains the values of the type of variable that matches the corresponding part of the layout.


cbaumbach/manyregs documentation built on May 13, 2019, 1:48 p.m.