If I understand what you need,
> Number=2
> x <- paste("NameOfFunction",as.character(Number),sep="")
> x
[1] "NameOfFunction2"And you can use do.call(x, ...) to "get" your function. Hope it helps, Scionforbai ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
