search for: add_five

Displaying 1 result from an estimated 1 matches for "add_five".

Did you mean: add_file
2023 Aug 31
2
How to create an R input
R Help Trying to figure out how to create a simple program that will as the user from a value input and simply add 5 units to that value then ask the user for another value and add 45 units to it and on and on. Then how does one exit the loop of program? # Create a function called `add_five` add_five <- function(x) { # Add 5 to the input value x + 5 } readline(prompt = "Enter a number: ") Jeff [[alternative HTML version deleted]]