-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
got rid of testing functions, started on the R interface documentation
- Loading branch information
Showing
5 changed files
with
66 additions
and
392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,18 @@ | ||
# Generated by using Rcpp::compileAttributes() -> do not edit by hand | ||
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
lpTestL <- function(yVec, iSigVec, repFac, lnFac, paramValues, d) { | ||
.Call(`_MuGaMix_lpTestL`, yVec, iSigVec, repFac, lnFac, paramValues, d) | ||
} | ||
|
||
lpTestLI <- function(yVec, iSigVec, repFac, lnFac, paramValues, i, d, mar) { | ||
.Call(`_MuGaMix_lpTestLI`, yVec, iSigVec, repFac, lnFac, paramValues, i, d, mar) | ||
} | ||
|
||
gradTestL <- function(yVec, iSigVec, repFac, lnFac, paramValues, d, idx) { | ||
.Call(`_MuGaMix_gradTestL`, yVec, iSigVec, repFac, lnFac, paramValues, d, idx) | ||
} | ||
|
||
gradTestLI <- function(yVec, iSigVec, repFac, lnFac, paramValues, d, idx, mar) { | ||
.Call(`_MuGaMix_gradTestLI`, yVec, iSigVec, repFac, lnFac, paramValues, d, idx, mar) | ||
} | ||
|
||
lpTestS <- function(yVec, iSigVec, repFac, lnFac, paramValues, d) { | ||
.Call(`_MuGaMix_lpTestS`, yVec, iSigVec, repFac, lnFac, paramValues, d) | ||
} | ||
|
||
gradTestS <- function(yVec, iSigVec, repFac, lnFac, paramValues, d, idx) { | ||
.Call(`_MuGaMix_gradTestS`, yVec, iSigVec, repFac, lnFac, paramValues, d, idx) | ||
} | ||
|
||
testLocSampler <- function(yVec, lnFac, Npop, d, Nadapt, Nsamp) { | ||
.Call(`_MuGaMix_testLocSampler`, yVec, lnFac, Npop, d, Nadapt, Nsamp) | ||
#' Run the sampler | ||
#' | ||
#' Runs the sampler on the data assuming no fixed effects or missing trait data and one replication level. | ||
#' | ||
#' @param yVec vectorized data matrix | ||
#' @param lnFac factor relating data points to lines | ||
#' @param Npop number of populations | ||
#' @param Nadapt number of adaptation (burn-in) steps | ||
#' @param Nsamp number of sampling steps | ||
#' @param Nthin thinning number | ||
#' | ||
runSampler <- function(yVec, lnFac, Npop, Nadapt, Nsamp, Nthin) { | ||
.Call(`_MuGaMix_runSampler`, yVec, lnFac, Npop, Nadapt, Nsamp, Nthin) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.