compute_logratios_facet_by2: Compute token log ratios in pairs

Description Usage Arguments Details Value

Description

Apply compute_logratios_facet_wide_at() to data in pairs of facet values.

Usage

1
2
3
4
5

Arguments

data

data.frame. Data to apply a function over.

func

function. Wrapped by do.call().

xy_grid

data.frame. Output from create_xy_grid().

xy_nms

character (vector). Values to use to create a 'grid' of all combinations of values.

facet

character. Name of column in data to use for facetting. It is set to NULL by default in the non-facet function even though it is not necessary. If specified with the non-facet version of the function, then the function acts just like the _facet version.

...

dots. Adddition parameters to pass to compute_logratios_facet_wide_at().

token

bare for NSE; character for SE. Name of column in data to use for count.

Details

Calls wrapper_func internally.

Value

data.frame.


tonyelhabr/tetext documentation built on May 14, 2019, 8:03 a.m.