Displaying 1 result from an estimated 1 matches for "purp".
Did you mean:
pure
2012 Sep 06
1
use of ddply() within function
Dear all,
I am encountering problems with the application of ddply within the body of a self-defined function.
The script is the following:
moncostcarmoto <- function(costtype){
costaux_result <- data.frame()
for (purp in PURPcount){for (per in PERcount){
costcarin = paste(c("CS_",costtype,"CAR"),collapse="")
costmotoin = paste(c("CS_",costtype,"MOTO"),collapse="")...