show_olivetti_face | R Documentation |
Display an image from the Olivetti faces dataset.
show_olivetti_face(df, face, pose, col = grDevices::gray(1/12:1))
df |
Data frame containing the Olivetti faces. |
face |
Face index of the image to display. Must be an integer between 1 and 400. |
pose |
Pose index of the image to display. Must be an integer between 1 and 10. |
col |
List of colors to use in the display. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.