access-set: Write access population or transition arrays generated by...

access<-R Documentation

Write access population or transition arrays generated by JHEEM by dimension names

Description

Write access population or transition arrays generated by JHEEM by dimension names

Usage

access(
  arr,
  age = NULL,
  race = NULL,
  subpopulation = NULL,
  sex = NULL,
  risk = NULL,
  non.hiv.subset = NULL,
  continuum = NULL,
  cd4 = NULL,
  hiv.subset = NULL,
  age.from = NULL,
  race.from = NULL,
  subpopulation.from = NULL,
  sex.from = NULL,
  risk.from = NULL,
  non.hiv.subset.from = NULL,
  continuum.from = NULL,
  cd4.from = NULL,
  hiv.subset.from = NULL,
  age.to = NULL,
  race.to = NULL,
  subpopulation.to = NULL,
  sex.to = NULL,
  risk.to = NULL,
  non.hiv.subset.to = NULL,
  continuum.to = NULL,
  cd4.to = NULL,
  hiv.subset.to = NULL,
  year = NULL
) <- value

Arguments

arr

An array generated by a jheem-class object, usually by a call to get.XXX.skeleton (eg get.population.skeleton or get.transition.array.skeleton.hiv.negative)

age

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

race

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

subpopulation

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

sex

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

risk

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

non.hiv.subset

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

continuum

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

cd4

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

hiv.subset

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

age.from

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

race.from

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

subpopulation.from

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

sex.from

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

risk.from

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

non.hiv.subset.from

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

continuum.from

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

cd4.from

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

hiv.subset.from

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

age.to

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

race.to

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

subpopulation.to

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

sex.to

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

risk.to

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

non.hiv.subset.to

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

continuum.to

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

cd4.to

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

hiv.subset.to

For each possible array dimension, the values within that dimension (either numeric indices or character names) to subset

value

The value to overwrite the array subset with. If dimnames(value) is not null, access<- will overwrite the values in arr such that the dimnames of the subset of arr being overwritten match with the dimnames of value

See Also

Other functions to access JHEEM arrays: access()


tfojo1/jheem documentation built on Oct. 7, 2022, 1:24 p.m.