How to perform 'Grayscale Image' in R.
# Task: Grayscale Image
# Language: R
function grayscale_image() {
# Implementation for Grayscale Image
# TODO: Implement core logic here
# Step 1: Prepare data
# Step 2: Process Grayscale Image
print("Done");
}