Instruction: Write a command to add a new column to a data frame that calculates the logarithm of an existing column 'A'.
Context: This question checks the candidate's proficiency with basic data frame operations in R. Adding computed columns is a common task in data preparation and analysis, and familiarity with such operations is crucial for efficient data handling.
easy
medium
medium
medium
hard
hard
hard
hard
hard