View source: R/strobe_diff_twodim.R
| strobe_diff_twodim | R Documentation | 
Print regression results according to STROBE
strobe_diff_twodim(meas, group, var = NULL, adj, data, dec = 2)
meas | 
 outcome meassure variable name in data-data.frame as a string. Can be numeric or factor. Result is calculated accordingly.  | 
group | 
 groups to compare, as string.  | 
var | 
 Default is NULL  | 
adj | 
 variables to adjust for, as string.  | 
data | 
 dataframe of data.  | 
dec | 
 decimals for results, standard is set to 2. Mean and sd is dec-1.  | 
Printable table of regression analysis by group for meas. Detects wether to perform logistic or linear regression. output is list of
  data('mtcars')
  mtcars$vs<-factor(mtcars$vs)
  mtcars$am<-factor(mtcars$am)
  strobe_diff_twodim(meas="am",group="vs",adj=c("disp","wt"),data=mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.