format.call: Format method for 'call' objects

View source: R/format.call.R

format.callR Documentation

Format method for call objects

Description

Format method for call objects

Usage

## S3 method for class 'call'
format(x, as.html = FALSE, class = "rtcode", ...)

Arguments

x

call object

as.html

Logical: If TRUE, output HTML span element

class

Character: CSS class to assign to span containing code

...

Not used

Author(s)

E.D. Gennatas

Examples

## Not run: 
irmod <- elevate(iris,
  mod = "cart",
  maxdepth = 2:3,
  n.resamples = 9,
  train.p = .85
)
format(irmod$call) |> cat()

## End(Not run)

egenn/rtemis documentation built on Dec. 17, 2024, 6:16 p.m.