predictCounts {demest} | R Documentation

## Use results from function estimateCounts to make predictions.

### Description

Not written yet.

### Usage

    predictCounts(
      filenameEst,
      filenamePred,
      along = NULL,
      labels = NULL,
      n = NULL,
      exposure = NULL,
      data = list(),
      aggregate = list(),
      lower = list(),
      upper = list(),
      nBurnin = 0L,
      parallel = TRUE,
      outfile = NULL,
      verbose = FALSE,
      useC = TRUE
    )

### Arguments

`filenameEst` | Filename used to `estimateModel`.
`filenamePred` | Filename to be used by `predictModel`.
`along` | Name or index along which prediction should occur.
`labels` | Labels of new categories.
`n` | Number of new categories. Can only be used when predicting along `"time"`, `"age"`, or `"cohort"` dimensions, and when the units have equal length.
`exposure` | A `Counts` object specifying exposure or sample size.
`data` | A named list containing future values of covariates.
`aggregate` | An object of class `SpecAggregate`.
`lower` | A lower bound for estimates of data-level rates, probabilities, or means.
`upper` | An upper bound for estimates of data-level rate, probabilities, or means.
`nBurnin` | Number of iteration discarded before recording begins.
`parallel` | Logical. If `TRUE` (the default), parallel processing is used.
`outfile` | Where to direct the ‘stdout’ and ‘stderr’ connection output from the workers when parallel processing. Passed to function `[parallel]{makeCluster}`.
`verbose` | Logical. If `TRUE` (the default) a message is printed at the end of the calculations.
`useC` | Logical. If `TRUE` (the default), the calculations are done in C. Setting `useC` to `FALSE` may be useful for debugging.

[Package demest version 0.0.0.3.1 Index]