dp.inputs.adult.art | R Documentation |
Get input numbers or percentages of adults on ART entered into Spectrum by sex and year in long or wide format
dp.inputs.adult.art(
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.
Adult treatment data can be entered into Spectrum as numbers or
percentages. These units can vary from year to year. When
direction="wide"
, the return value will include rows for numbers and
for percentages, with percentages missing in years where numbers were
entered or vice-versa. When direction="long"
, the data frame will
include data for numbers or percentages, but not both, for any year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.