diff --git a/vignettes/AddingCustomFeatureEngineering.Rmd b/vignettes/AddingCustomFeatureEngineering.Rmd index 0ec7c921..8d16e4b1 100644 --- a/vignettes/AddingCustomFeatureEngineering.Rmd +++ b/vignettes/AddingCustomFeatureEngineering.Rmd @@ -143,8 +143,8 @@ implementAgeSplines <- function(trainData, featureEngineeringSettings, model = N ) ) - attr(trainData$covariateData, "metaData")$featureEngineering <- listAppend( - attr(trainData$covariateData, "metaData")$featureEngineering, + attr(trainData, "metaData")$featureEngineering <- listAppend( + attr(trainData, "metaData")$featureEngineering, featureEngineering )