surface_coco: Surface co-occurrence comparison

Description Usage Arguments Details Value

View source: R/surface_coco.R

Description

Convenience function that combined the functionality of the surface and coco functions.

Usage

1
  surface_coco(a, b, span, nodes, fdr = 0.01, collocates = NULL)

Arguments

a

A character vector.

b

A character vector.

span

A character string defining the co-occurrence span. See surface function for details.

nodes

A character vector of nodes or character string representing a single node.

fdr

The desired level at which to control the False Discovery Rate.

collocates

A character vector of collocates or character string representing a single collocate.

Details

See surface and coco.

For an example of usage see the ‘Proof of Concept’ vignette.

Value

A data.table of the form returned by the coco functions.


ravingmantis/CorporaCoCo documentation built on March 19, 2018, 9:08 a.m.