Displaying 1 result from an estimated 1 matches for "costcarin".
2012 Sep 06
1
use of ddply() within function
...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="")
browser()
COSTaux_AVCAR <- ddply(...