specific predict, fitted, coef, vcov, summary, ... for mhurdle objects. In particular, these methods enables to extract the several parts of the model

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | ```
## S3 method for class 'mhurdle'
coef(
object,
which = c("all", "h1", "h2", "h3", "h4", "sd", "corr", "tr", "pos"),
...
)
## S3 method for class 'mhurdle'
vcov(
object,
which = c("all", "h1", "h2", "h3", "h4", "sd", "corr", "tr", "pos"),
...
)
## S3 method for class 'mhurdle'
logLik(object, naive = FALSE, ...)
## S3 method for class 'mhurdle'
print(
x,
digits = max(3, getOption("digits") - 2),
width = getOption("width"),
...
)
## S3 method for class 'mhurdle'
summary(object, ...)
## S3 method for class 'summary.mhurdle'
coef(
object,
which = c("all", "h1", "h2", "h3", "sd", "corr", "tr", "pos"),
...
)
## S3 method for class 'summary.mhurdle'
print(
x,
digits = max(3, getOption("digits") - 2),
width = getOption("width"),
...
)
## S3 method for class 'mhurdle'
fitted(object, which = c("all", "zero", "positive"), mean = FALSE, ...)
## S3 method for class 'mhurdle'
predict(object, newdata = NULL, what = c("E", "Ep", "p"), ...)
## S3 method for class 'mhurdle'
update(object, new, ...)
## S3 method for class 'mhurdle'
nobs(object, which = c("all", "null", "positive"), ...)
## S3 method for class 'mhurdle'
effects(
object,
covariate = NULL,
data = NULL,
what = c("E", "Ep", "p"),
reflevel = NULL,
mean = FALSE,
...
)
``` |

`object, x` |
an object of class |

`which` |
which coefficients or covariances should be extracted
? Those of the selection ( |

`...` |
further arguments. |

`naive` |
a boolean, it |

`digits` |
see |

`width` |
see |

`mean` |
if |

`newdata, data` |
a |

`what` |
for the |

`new` |
an updated formula for the |

`covariate` |
the covariate for which the effect has to be computed, |

`reflevel` |
for the computation of effects for a factor, the reference level, |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.