setup: Setup the parameters of a Negative Binomial regression model...

View source: R/newFit.R

setupR Documentation

Setup the parameters of a Negative Binomial regression model There are different type of starting values: 1.You can set all values to 0. 2.You can sample values from a gaussian distribution or a chisq distibution for the dispersion parameters,

Description

It creates different shared object and epxort them to the father and the child process.

Usage

setup(cluster, model, random_start, children, random_init, verbose, Y_sh)

Arguments

cluster

the PSOCK cluster object

model

The model of class newmodel

random_start

if TRUE the setup of parameters is a random samplig(default FALSE)

children

Number of child process.

random_init

if TRUE no initializations is done(default FALSE)

verbose

Print helpful messages(default FALSE).

Y

matrix of counts

Value

A object of class newModel


fedeago/NewWave documentation built on March 28, 2022, 5:46 a.m.