| save_mpi | R Documentation |
Save the MPI output to an Excel file using the tsg package for publication-ready table formatting.
save_mpi(
mpi_output,
mpi_specs,
...,
filename = NULL,
include_specs = FALSE,
overall_label = "Overall",
facade = tsg::get_tsg_facade()
)
mpi_output |
An object derived from compute_mpi. |
mpi_specs |
MPI specifications defined in
|
... |
Reserved; passing old dotted names triggers a helpful error. |
filename |
Output filename. The |
include_specs |
Whether to include MPI specification as a separate
sheet. Defaults to |
overall_label |
Overall label to assign when grouping is defined in |
facade |
|
Returns the normalized file path of the generated Excel file.
## Not run:
mpi_result <- compute_mpi(df_household, mpi_specs = specs, deprivations = deps)
save_mpi(mpi_result, mpi_specs = specs, filename = "MPI Sample Output")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.