updateColumns: Update lists and time series

Description Usage Arguments Value See Also

View source: R/updateColumns.R

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


tis documentation built on May 29, 2017, 8:18 p.m.

Search within the tis package
Search all R packages, documentation and source code