Alters a SWAP vector with the given value at the given index. Can optionally
pass a list of vectors as returning by load_swap_vectors()
, and the variable
name, and rswap will find the right vector for you
change_swap_vector(vector, index, value, variable = NULL, verbose = F)
dataframe of vector to alter. (Optionally, one can pass a list
of vectors as returned by load_swap_vectors()
and then also pass the variable name)
index of the vector to alter (integer)
value to set the vector at the given index (SWAP-FORTRAN compatible)
optional, only required if passing a list of multiple vectors. (string)
print status? (flag)
the same vector or vector list as passed, but with the modified value
@seealso load_swap_vectors()
change_swap_vector()
change_swap_table()