transform_output | R Documentation |
Transforms parameters from the real scale on which they are estimated to the correct parameter-space scale using the appropriate link functions and covariate formulas
transform_output(GAIoutput, DF = data.frame(), provide_A = F)
GAIoutput |
The output of the fit_GAI function, a fitted model |
DF |
A data.frame containing rows of covariate values for which transformed parameter values should be obtained. It is important that the names of columns in this data.frame are identical to those that were specified in the options argument of the fit_GAI function. A blank data.frame is provided by default, which is assumed in a no covariate model. |
provide_A |
If TRUE, will also return the A matrix for the supplied. It should be noted that the A matrix this function returns is not scaled by site population totals, since these are unavailable for new data. points |
A named vector of parameters, on the parameter-space scale
fit_GAI(c(0, 0), example_data, "mixture") %>% transform_output(DF = example_data[1, ])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.