Update lists and time series

Share:

Description

updateList compares the names of oldlist and newlist, deletes the matching elements from a copy of oldlist, then returns the result of concatenating that list with newlist.

updateColumns updates columns of first series from same-named columns of second series using mergeSeries(). If second series has columns with names not found in colnames of first series, those columns are cbind() 'ed onto first series.

Usage

1
2
updateColumns(oldmat, newmat)
updateList(oldlist, newlist)

Arguments

oldmat

a multivariate tis series

newmat

a multivariate tis series

oldlist

a list

newlist

a list

Value

updateList returns the updated list.

updateColumns returns a multivariate tis series

See Also

tis, mergeSeries, cbind.tis

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.