Displaying 1 result from an estimated 1 matches for "317314".
Did you mean:
317,14
2009 Mar 03
4
Writing R package and do.call
Dear R-Help,
I have written a function, which in simplified format can be represented as:
temp.fn <- function(my.mean,my.sd){
Parameters <- list(mean = my.mean, sd = my.sd)
curve(do.call(dnorm,c(list(x), Parameters)), from = my.mean-my.sd,
to = my.mean+my.sd)
}
This works as I want it do. Wishing to immortalise this function into
my very own package however, results in the following