Description Usage Arguments Value Examples
View source: R/display_profile.R
This function display profiles of 3 dimensions (day, hour, number of observations). It has been created to display
profiles from the nmfem
package data.
1 2 3 4 5 6 7 | display_profile(
profile,
numclient = FALSE,
color = "Blues",
language = "en",
theme = "dark"
)
|
profile |
a vector or a matrix row containing the profile to display. The day/hour data are contained in the column names. |
numclient |
logical. Whether the first value of the row is an identifier. |
color |
color of the display. Possibilities are the ones provided by http://colorbrewer2.org. |
language |
in which language the day/hour names are written. For now, the possibilities are "en" for english and "fr" for french. |
theme |
A theme to use. The only valid values are "" and "dark". |
Creates a 3D-heatmap displayed in the Viewer tab.
1 | display_profile(travelers[sample(nrow(travelers),1), ], numclient = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.