R/plot.bgeva.r

plot.bgeva <- function(x, ...){
   
    ss.plot <- x$gam.fit
    ind <- 1:length(ss.plot$coefficients)                         
    ss.plot$coefficients <- x$coefficients[ind]
    ss.plot$Vp <- x$Vb[ind,ind]
    ss.plot$edf <- diag(x$F)[ind]

    #ss.plot$smooth[[select]]$term
    
    plot.gam(ss.plot, ...)
          
}
   

Try the bgeva package in your browser

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

bgeva documentation built on May 1, 2019, 7:23 p.m.