param_character | R Documentation |
Define a character parameter.
param_character(
id,
type = "character",
default = NULL,
alternatives,
force = FALSE,
description = NULL,
process = "simulation",
function_name
)
id |
A parameter name. |
type |
The type of parameter. Must be characters. |
default |
The default values. Length to one or more. |
alternatives |
Options that can be chosen. |
force |
Logical, whether this parameter must be needed or not. |
description |
The description information of this parameter. |
process |
Two options, simulation or estimation. Which process does this parameter involved in. |
function_name |
The function name where the parameter exists. |
A list.
dimension_method <- param_character(
id = 'dimension_method',
default = "UMAP",
process = "estimation",
alternatives = c("UMAP", "TSNE", "PCA"),
force = TRUE,
description = "The algorithm to use for dimension reduction."
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.