search for: incrementby

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

Did you mean: increment
2008 Nov 12
5
function that uses a variable name as the parameter
Hello dear R people! Several times it occurred to me that a function that uses a variable name as a parameter would be helpful, but I did not find out how to write such a function. I have experience in several programming language, but I did not come across a helpful trick... What I want to have is... a <- 12 # starting value add <- function(variable,increment) { variable <-