Description Usage Arguments Value Examples
For noncanonical links, simulating the covariance matrix is sometimes the easiest way to get an estimate of the covariance matrix. Even for the canonical links, simulating the covariance matrix may be desirable, as theoretical covariance matrices are based off of asymptotic properties which may not hold for small sample sizes.
1 2 3 4 5 6 7 8 9 10 11 12 13 
doses 
A numerical vector of doses, corresponding to the theoretical response values provided. 
resp 
A numeric vector of response values corresponding to the doses.
This should be on the link scale (e.g. 
nSample 
An integer if 
Ntype 
One of "arm", "total", or 'actual". See documentation for

nSim 
An integer specifying the number of simulations used to estimate the covariance matrix. 
alRatio 
Vector describing the relative patient allocations to the dose
groups up to proportionality, e.g. 
family 
A character string containing the error distribution to be used in the model. 
link 
A character string specifying the link to be using when modeling the glm. 
modelPar 
A numeric vector containing the additional parameters for the family argument. If the family is negative binomial, the dispersion parameter should be supplied. If the family is binomial, no model parameter should be supplied. 
placEff 
A numeric value specifying the mean response at the placebo
This is required if 
verbose 
A logical specifying whether the patient allocation should be printed, in addition to the results. 
Numeric containing the estimated covariance matrix.
1 2 3 4 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.