Adjust table data to match the desired output depending on the type of data being presented

row_data(data, row, is_crosstabs_array, is_toplines_array, is_base)

Arguments

data

An object containing data. Either a crosstab array or topline array.

row

An integer identifying the row number

is_crosstabs_array

Logical, is this a crosstab array?

is_toplines_array

Logical, is this a toplines array?

is_base

Logical, is this a row of bases?