R/std.mod.table.R

Defines functions std.mod.table

# standard model summary table --------------------------------------------

std.mod.table = function(x){
  summary(x) %>% .$coefficients %>% data.frame %>% round(6) %>%
    select(Estimate = 1,Pval = ncol(.)) %>%
    mutate(p.sign = pToSign(Pval),Parameters = rownames(.)) %>%
    select(Parameters,Estimate,Pval,p.sign)
}
douve/viRievac documentation built on Nov. 26, 2020, 2:39 a.m.