[R] rlnorm(n, meanlog = 0, sdlog = 1)
ruipbarradas at sapo.pt
Fri May 10 18:03:33 CEST 2013
R is open source, you can download the sources and then grep rlnorm to see
rlnorm <- function(n, meanlog=0, sdlog=1)
.External(C_rlnorm, n, meanlog, sdlog)
And file rlnorm.c is in src/nmath. It returns exp(rnorm(meanlog, sdlog))
So you'll have to write rnorm (file in the same directory) in c#.
Hope this helps,
Em 10-05-2013 16:42, Dr. Alireza Zolfaghari escreveu:
> Hi list,
> Does anyone know the code behind rlnorm(n, meanlog = 0, sdlog = 1)? I am
> going to write it in c#.
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help