Description Usage Arguments Details Value Author(s) Examples
Builds basis function used to evaluate RNA concentrations.
1 | buildBasisFunction(snm.obj)
|
snm.obj |
An object of class snm |
Builds the basis spline function used to evaluate RNA concentrations.
Basis spline matrix.
Brig Mecham <brig.mecham@sagebase.org>
1 2 3 4 5 6 7 8 9 10 11 12 | ##---- 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 (snm.obj)
{
lower <- min(rowMeans(snm.obj$dat))
upper <- max(rowMeans(snm.obj$dat))
basisSplineFunction <- ns(seq(lower,upper,length=100), df = snm.obj$spline.dim,
Boundary.knots = c(lower - 1, upper + 1))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.