Learn R Programming

highlight (version 0.3.2)

simple_detective: Simple detective

Description

This detective only uses semantic information to make its investigation.

Usage

simple_detective(x, ...)

Arguments

x
output of the parser. The detective is only interested in the token.desc column of the data.
...
Ignored

Value

  • a vector of styles grouping similar tokens together

See Also

dummy_detective

Examples

Run this code
p <- parser( text = deparse( jitter ) )
simple_detective( p )

Run the code above in your browser using DataLab