Learn R Programming

MInt (version 1.0.1)

mint: Construct MInt object

Description

Constructs a MInt object that maintains the data and parameter estimates for the underlying Poisson-multivariate normal hierarchical model.

Usage

mint(y, x, fmla = ~1)

Arguments

y
A file path to the response matrix.
x
A file path to the design matrix.
fmla
An object of class ``formula'' (or one that can be coerced to that class): a symbolic description of the model to be fitted.

Value

mint A MInt object.

Examples

Run this code
x <- system.file("extdata", "x.txt", package="MInt");
y <- system.file("extdata", "y.txt", package="MInt");
m <- mint(y,x,fmla = ~feature1 + feature2)

Run the code above in your browser using DataLab