simtimeroot {genealogy} | R Documentation |
~~ A concise (1-5 lines) description of what the function does. ~~
simtimeroot(n, loci, r)
n |
~~Describe n here~~ |
loci |
~~Describe loci here~~ |
r |
~~Describe r here~~ |
~~ If necessary, more details than the __description__ above ~~
~Describe the value returned If it is a LIST, use
comp1 |
Description of `comp1' |
comp2 |
Description of `comp2' |
...
....
~~further notes~~
~~who you are~~
~put references to the literature/web site here ~
~~objects to SEE ALSO as ~~fun~~
, ~~~
##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index) for the standard data sets. ## The function is currently defined as function(n,loci,r) { #__declspec(dllexport) void simulatelinkedSTR(int *n, int *loci, # int *r, double *itheta, int *data) nr_as.integer(length(r)); a_.C("simulatetimeroot", as.integer(n), as.integer(loci), as.double(r), nr, troot=double(loci)); a$troot; }