R/olivetti.R
show_olivetti_face.Rd
Display an image from the Olivetti faces dataset.
show_olivetti_face(df, face, pose, col = grDevices::gray(1/12:1))
Data frame containing the Olivetti faces.
Face index of the image to display. Must be an integer between 1 and 40.
Pose index of the image to display. Must be an integer between 1 and 10.
List of colors to use in the display.