Displaying 1 result from an estimated 1 matches for "tp2312871p2312909".
2010 Aug 04
3
split / lapply over multiple columns
Hi all,
I have a data frame with column over which I would like to run
repeated functions for data analysis. Currently I am only running
recursively over two columns where I column 1 has two states over
which I split and column two has 3 states. The function therefore runs
2 x 3 = 6 times as shown when running the following code:
mydata <- data.frame(userid = c(5, 6, 5, 6, 5, 6), taskid =