Hi Phillip,
You have chosen one of the best methods to learn any computer language
(and many other things) by using it to do something that you want to
do. Start with your "change of date" problem. As you saw, different
people suggested different ways to get the same result. If I remember
correctly
Hello,
A logical index seems right. (And even intuitive?)
Create an index based on the conditions, multiplying 0/1 (FALSE/TRUE) by
the condition number. If all conditions are false, the index will be 0.
Then use ifelse() to update 'code'.
new_values <- c(1, 5, 10)
i <- apply(phdf[-6], 1, fun
A call for proposals to host useR! 2021 has been published on the R project
web site:
https://www.r-project.org/useR-2021_call.html
For reasons of sustainability and accessibility we are looking to develop a
distributed conference model with one venue hosting the main useR!
conference and “useR!
3 matches
Mail list logo