# NOT RUN {
# log+a transform
get_transform(iris$Sepal.Length, "log+a")
if (requireNamespace("forecast", quietly = TRUE)) {
# Box-Cox transform
get_transform(iris$Sepal.Length, "Box-Cox")
# Yeo-Johnson transform
get_transform(iris$Sepal.Length, "Yeo-Johnson")
} else {
cat("If you want to use this feature, you need to install the forecast package.\n")
}
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab