Learn R Programming

btw (version 1.0.0)

btw_this: Describe something for use by an LLM

Description

A generic function used to describe an object for use by LLM.

Usage

btw_this(x, ...)

Value

A character vector of lines describing the object.

Arguments

x

The thing to describe.

...

Additional arguments passed down to underlying methods. Unused arguments are silently ignored.

See Also

Other btw formatting methods: btw_this.character(), btw_this.data.frame(), btw_this.environment()

Examples

Run this code
btw_this(mtcars) # describe the mtcars dataset
btw_this(dplyr::mutate) # include function source

Run the code above in your browser using DataLab