From 44da0fb839a09c9b13cad2f3e32331e2aef80309 Mon Sep 17 00:00:00 2001 From: egillax Date: Tue, 26 Nov 2024 17:12:57 +0100 Subject: [PATCH] fix FE example --- vignettes/AddingCustomFeatureEngineering.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 )