tests/testthat/_snaps/print.md

print - formula

Code
  mold(Species ~ Sepal.Length, iris)$blueprint
Output
  Formula blueprint:

  # Predictors: 1 
    # Outcomes: 1 
     Intercept: FALSE 
  Novel Levels: FALSE 
   Composition: tibble 
    Indicators: traditional 
Code
  mold(~Sepal.Length, iris)$blueprint
Output
  Formula blueprint:

  # Predictors: 1 
    # Outcomes: 0 
     Intercept: FALSE 
  Novel Levels: FALSE 
   Composition: tibble 
    Indicators: traditional

print - default

Code
  mold(iris[, c("Sepal.Length"), drop = FALSE], iris$Species)$blueprint
Output
  XY blueprint:

  # Predictors: 1 
    # Outcomes: 1 
     Intercept: FALSE 
  Novel Levels: FALSE 
   Composition: tibble

print - recipe

Code
  mold(recipes::recipe(Species ~ Sepal.Length, iris), iris)$blueprint
Output
  Recipe blueprint:

  # Predictors: 1 
    # Outcomes: 1 
     Intercept: FALSE 
  Novel Levels: FALSE 
   Composition: tibble


Try the hardhat package in your browser

Any scripts or data that you put into this service are public.

hardhat documentation built on March 31, 2023, 10:21 p.m.