2018-10-10 11:49:52 +02:00
|
|
|
% 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}
|
2021-03-30 13:31:17 +02:00
|
|
|
\title{OBSOLETE - USE print_reg_diff_bin}
|
2018-10-10 11:49:52 +02:00
|
|
|
\usage{
|
2021-03-30 13:31:17 +02:00
|
|
|
strobe_diff_twodim(meas, group, var = NULL, adj, data, dec = 2)
|
2018-10-10 11:49:52 +02:00
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{meas}{outcome meassure variable name in data-data.frame as a string. Can be numeric or factor. Result is calculated accordingly.}
|
|
|
|
|
2021-03-30 13:31:17 +02:00
|
|
|
\item{group}{groups to compare, as string.}
|
|
|
|
|
|
|
|
\item{var}{Default is NULL}
|
|
|
|
|
2018-10-10 11:49:52 +02:00
|
|
|
\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{
|
2021-03-30 13:31:17 +02:00
|
|
|
Print regression results according to STROBE
|
|
|
|
}
|
|
|
|
\details{
|
2018-10-10 11:49:52 +02:00
|
|
|
Printable table of regression analysis by group for meas. Detects wether to perform logistic or linear regression.
|
2021-03-30 13:31:17 +02:00
|
|
|
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)
|
2018-10-10 11:49:52 +02:00
|
|
|
}
|
2018-10-10 11:52:02 +02:00
|
|
|
\keyword{strobe}
|