R/editDB.R

Defines functions editDB

Documented in editDB

editDB<-function(DB, w)
  {
##############   edit the data base by removing or selecting parts
    NDB = DB
    len1 = length(DB$yr)


    lens =   lapply(DB, length)

    w2 = which(lens == len1)

    for(i in 1:length(w2))
      {
        k = DB[[w2[i] ]]
        NDB[[w2[i] ]] = k[w] 
        
      }

    invisible(NDB)


  }

Try the RSEIS package in your browser

Any scripts or data that you put into this service are public.

RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.