2018-10-05 10:22:02 +02:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
2018-10-05 13:36:56 +02:00
|
|
|
% Please edit documentation in R/strobe_diff1.R
|
|
|
|
\name{strobe_diff1}
|
|
|
|
\alias{strobe_diff1}
|
2018-10-05 10:22:02 +02:00
|
|
|
\title{Print regression results according to STROBE}
|
|
|
|
\usage{
|
2018-10-05 13:36:56 +02:00
|
|
|
strobe_diff1(meas, var, group, adj, data, dec = 2)
|
2018-10-05 10:22:02 +02:00
|
|
|
}
|
|
|
|
\arguments{
|
2018-10-05 12:39:29 +02:00
|
|
|
\item{meas}{outcome meassure variable name in data-data.frame as a string. Can be numeric or factor. Result is calculated accordingly.}
|
2018-10-05 10:22:02 +02:00
|
|
|
|
|
|
|
\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.
|
|
|
|
}
|
|
|
|
\examples{
|
2018-10-05 13:36:56 +02:00
|
|
|
strobe_diff1()
|
2018-10-05 10:22:02 +02:00
|
|
|
}
|
|
|
|
\keyword{cpr}
|