print.covariate_drift {drifter}R Documentation

Print Covariate Drift Data Frame

Description

Print Covariate Drift Data Frame

Usage

## S3 method for class 'covariate_drift'
print(x, max_length = 25, ...)

Arguments

x

an object of the class 'covariate_drift'

max_length

length of the first column, by default 25

...

other arguments, currently ignored

Value

this function prints a data frame with a nicer format

Examples

library("DALEX")
# here we do not have any drift
d <- calculate_covariate_drift(apartments, apartments_test)
d
# here we do have drift
d <- calculate_covariate_drift(dragons, dragons_test)
d


[Package drifter version 0.2.1 Index]