dp.inputs.hiv.abortion | R Documentation |
Get input data on the number of pregnancies among HIV-positive women terminated by abortion
dp.inputs.hiv.abortion(
dp.raw,
direction = "wide",
first.year = NULL,
final.year = NULL
)
dp.raw |
DemProj module data in raw format, as returned by
|
direction |
Request "wide" (default) or "long" format data. |
first.year |
First year of the projection. If |
final.year |
Final year of the projection. If |
A data frame.
Abortion data can be entered in Spectrum as numbers or percentages
of HIV-positive women. These units can vary from year to year. When
direction="wide"
, the return value includes separate rows
numbers and percentages. When direction="long"
, the data frame
will include one row per year with the unit indicated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.