Represents an object using a particular type.

represent(x, type, ...)

# S3 method for default
represent(x, type, ...)

# S3 method for corpus
represent(x, type, ...)

# S3 method for vec
represent(x, type, ...)

# S3 method for coded_vec
represent(x, type, ...)

# S3 method for list
represent(x, type, ...)

Arguments

x

Input object.

type

Target type (see type).

...

Further arguments to pass to represent().