fit_prog_gsynth attempts to transform two variables to numeric. However, because the transformations are not saved to df_long, they have no end effect and the function continues on with character vectors instead of numeric vectors.
|
transform(long_df, time = as.numeric(time)) |
(Also, FWIW, the documentation for transform warns against using it in anything other than interactive use)
fit_prog_gsynthattempts to transform two variables to numeric. However, because the transformations are not saved todf_long, they have no end effect and the function continues on with character vectors instead of numeric vectors.augsynth/R/outcome_models.R
Line 198 in 664c0c7
(Also, FWIW, the documentation for
transformwarns against using it in anything other than interactive use)