mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-21 11:20:23 +01:00
re-added include.stratum flag to print_pred_stratum
This commit is contained in:
parent
030f2196d7
commit
5728450087
@ -1,6 +1,6 @@
|
||||
Package: daDoctoR
|
||||
Title: Functions For Health Research
|
||||
Version: 0.21.12
|
||||
Version: 0.21.13
|
||||
Year: 2021
|
||||
Author: Andreas Gammelgaard Damsbo <agdamsbo@pm.me>
|
||||
Maintainer: Andreas Gammelgaard Damsbo <agdamsbo@pm.me>
|
||||
|
@ -16,7 +16,7 @@
|
||||
#' mtcars$am<-factor(mtcars$am)
|
||||
#' print_pred_stratum(meas="mpg",strat="vs",adj=c("disp","wt","am"),data=mtcars,include.stratum=TRUE)
|
||||
|
||||
print_pred_stratum<-function(meas,adj,strat,data,dec=2,n.by.adj=FALSE,p.val=FALSE){
|
||||
print_pred_stratum<-function(meas,adj,strat,data,dec=2,n.by.adj=FALSE,p.val=FALSE,include.stratum = T){
|
||||
require(daDoctoR)
|
||||
require(dplyr)
|
||||
|
||||
|
@ -11,7 +11,8 @@ print_pred_stratum(
|
||||
data,
|
||||
dec = 2,
|
||||
n.by.adj = FALSE,
|
||||
p.val = FALSE
|
||||
p.val = FALSE,
|
||||
include.stratum = T
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
|
Loading…
Reference in New Issue
Block a user