daDoctoR/man/strobe_diff_twodim.Rd
2021-03-30 13:31:17 +02:00

36 lines
1.0 KiB
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/strobe_diff_twodim.R
\name{strobe_diff_twodim}
\alias{strobe_diff_twodim}
\title{OBSOLETE - USE print_reg_diff_bin}
\usage{
strobe_diff_twodim(meas, group, var = NULL, adj, data, dec = 2)
}
\arguments{
\item{meas}{outcome meassure variable name in data-data.frame as a string. Can be numeric or factor. Result is calculated accordingly.}
\item{group}{groups to compare, as string.}
\item{var}{Default is NULL}
\item{adj}{variables to adjust for, as string.}
\item{data}{dataframe of data.}
\item{dec}{decimals for results, standard is set to 2. Mean and sd is dec-1.}
}
\description{
Print regression results according to STROBE
}
\details{
Printable table of regression analysis by group for meas. Detects wether to perform logistic or linear regression.
output is list of
}
\examples{
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)
}
\keyword{strobe}