Skip to contents

Extracts the formula used to train a pprf model.

Usage

# S3 method for class 'pprf'
formula(x, ...)

Arguments

x

A pprf model.

...

(unused) other parameters typically passed to formula.

Value

The formula used to train the model.

See also

Examples

model <- pprf(Type ~ ., data = iris)
formula(model)
#> Type ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width - 
#>     1
#> <environment: 0x558a0000fc50>