transform_symbols: Transform symbols

View source: R/generics.R

transform_symbols.coded_vecR Documentation

Transform symbols

Description

Transforms the symbols within an object.

Usage

## S3 method for class 'coded_vec'
transform_symbols(x, f, type, ...)

## S3 method for class 'corpus'
transform_symbols(
  x,
  f,
  type,
  progress = if (interactive()) "text" else "none",
  ...
)

transform_symbols(x, f, type, ...)

## S3 method for class 'vec'
transform_symbols(x, f, type, ...)

Arguments

x

Object to transform.

f

Function to apply to each symbol.

type

Character scalar identifying the new symbol type.

...

Further arguments to be passed to methods.

progress

(Scalar character) Progress bar type, to be passed to llply.

Value

The transformed object.


pmcharrison/hrep documentation built on Feb. 18, 2024, 2:33 a.m.