R/getnodes.R

Defines functions getnodes

getnodes =  function(qrf, data) {
  class(qrf) = "ranger"
  nodes = stats::predict(qrf, data = data, predict.all = TRUE)$predictions
  return(nodes)
}

Try the quantregRanger package in your browser

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

quantregRanger documentation built on May 2, 2019, 3:26 a.m.