simtimeroot {genealogy}R Documentation

~~function to do ... ~~

Description

~~ A concise (1-5 lines) description of what the function does. ~~

Usage

simtimeroot(n, loci, r)

Arguments

n ~~Describe n here~~
loci ~~Describe loci here~~
r ~~Describe r here~~

Details

~~ If necessary, more details than the __description__ above ~~

Value

~Describe the value returned If it is a LIST, use

comp1 Description of `comp1'
comp2 Description of `comp2'

...

WARNING

....

Note

~~further notes~~

Author(s)

~~who you are~~

References

~put references to the literature/web site here ~

See Also

~~objects to SEE ALSO as ~~fun~~, ~~~

Examples

##---- 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;
  }

[Package genealogy version 0.01 Index]