R/replaceWPX.R

Defines functions replaceWPX

Documented in replaceWPX

replaceWPX<-function(WPX, onepx , ind=1)
  {
    ####  delete members from  WPX list

    dpx = data.frame(WPX, stringsAsFactors = FALSE)
    opx = data.frame(onepx, stringsAsFactors = FALSE)
    
    dpx[ind,] = opx[1,]

    WPX = as.list(dpx)

    return(WPX)
  }

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.