mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-22 03:40:23 +01:00
29 lines
862 B
R
29 lines
862 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/strobe_diff_bygroup.R
|
|
\name{strobe_diff_bygroup}
|
|
\alias{strobe_diff_bygroup}
|
|
\title{Print regression results according to STROBE}
|
|
\usage{
|
|
strobe_diff_bygroup(meas, var, group, 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{var}{exposure variable to compare against (active vs placebo). As string.}
|
|
|
|
\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.}
|
|
|
|
\item{groups}{groups to compare, as string.}
|
|
}
|
|
\description{
|
|
Printable table of linear regression analysis of group vs var for meas. By group.
|
|
}
|
|
\examples{
|
|
strobe_diff_bygroup()
|
|
}
|
|
\keyword{cpr}
|