A few suggestions: Change your acTest function so that it actually accepts a data. Frame as a parameter. Otherwise you'll have lots of problems with the function looking for (and modifying) objects named DateA and Usage in the global environment acTest Union(a1,id,a2) mgFun = acTest).
A few suggestions: Change your acTest function so that it actually accepts a data. Frame as a parameter. Otherwise you'll have lots of problems with the function looking for (and modifying) objects named DateA and Usage in the global environment.
AcTest Lapply(drugList,FUN=acTest) Finally, you can do tasks like this without storing each data frame as a separate list element by using tools like ddply (among others) that split a data frame using one variable, apply a function to each piece and then reassemble them into a single data frame again. In your case, that would look something like: ddply(AB,.(Drug),. Fun = acTest).
Thanks joran. Works perfectly. – John Jul 6 at 3:07.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.