| fp_scale | R Documentation |
This is a utility function mostly for internal use.
fp_scale(fp, fct)
fp |
The factorial plan object |
fct |
The standard name of the factor as a string (e.g. |
A vector representing the factor range in scaled units; scales
must have been added with fp_add_scale. If scales are not
available, the range in coded units is returned (i.e. c(-1,1))
fp_add_scale()
df <- fp_design_matrix(2) %>%
fp_add_names(A="Temperature", B="Pressure") %>%
fp_add_scale(A=c(20,30), B=c(3, 7))
fp_scale(df, "A")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.