R/bayesx.construct.tensor.smooth.spec.R

Defines functions bayesx.construct.t2.smooth.spec

bayesx.construct.tensor.smooth.spec <- bayesx.construct.t2.smooth.spec <-
function(object, dir, prg, data)
{
  by <- object$term[1L]
  term <- object$term[2L]
  object <- object$margin[[1L]]
  object$term <- term
  object$by <- by
  term <- bayesx.construct(object, dir, prg, data)
  term <- gsub("psplinerw2", "pspline2dimrw2", term)
  term <- gsub("psplinerw1", "pspline2dimrw1", term)

  return(term)
}

Try the R2BayesX package in your browser

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

R2BayesX documentation built on Oct. 20, 2023, 3:01 p.m.