Most of the time, the input to a model should be flexible enough to capture
a number of different input types from the user.
on capturing the flexibility in the outcome.
The outcome. This can be:
standardize() is called from
mold() when using an XY interface (i.e.
y argument was supplied).
All possible values of
y are transformed into a
standardization. Vectors are transformed into a
a single column named
standardize(1:5) standardize(factor(letters[1:5])) mat <- matrix(1:10, ncol = 2) colnames(mat) <- c("a", "b") standardize(mat) df <- data.frame(x = 1:5, y = 6:10) standardize(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.