🛠️ R Functions

Functions in R are reusable blocks of code that take inputs, perform actions, and return results. You define functions using the function() keyword.

📖 Basic Syntax

📝 Example: Simple Function

Console output will appear here...
💡 Tip: You can assign default parameter values in R functions like function(name = "Guest").