R/bootstrap_ReturnBootstrapData.R

Defines functions returnBootstrapData

returnBootstrapData <-
  function(
    model,
    bootstrap_,
    ...
  ){
    model$data %>%
      dplyr::right_join(
        (model$bootstrap.samples.df %>%
           dplyr::filter(bootstrap %in% bootstrap_)),
        by = model$sample) %>%
      data.table::data.table() %>%
      return()
  }
sysbiosig/FRA documentation built on July 13, 2021, 3:33 p.m.