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
Arguments
- vector
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
index of the vector to alter (integer)
- value
value to set the vector at the given index (SWAP-FORTRAN compatible)
- variable
optional, only required if passing a list of multiple vectors. (string)
- verbose
print status? (flag)
Details
@seealso load_swap_vectors()
change_swap_vector()
change_swap_table()