daDoctoR/man/strobe_diff_byvar.Rd

29 lines
850 B
Plaintext
Raw Normal View History

2018-10-05 10:22:02 +02:00
% Generated by roxygen2: do not edit by hand
2018-10-05 14:28:27 +02:00
% Please edit documentation in R/strobe_diff_byvar.R
\name{strobe_diff_byvar}
\alias{strobe_diff_byvar}
2018-10-05 10:22:02 +02:00
\title{Print regression results according to STROBE}
\usage{
2018-10-05 14:28:27 +02:00
strobe_diff_byvar(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{
2018-10-05 14:28:27 +02:00
Printable table of linear regression analysis of group vs var for meas. By var.
2018-10-05 10:22:02 +02:00
}
\examples{
2018-10-05 14:28:27 +02:00
strobe_diff_byvar()
2018-10-05 10:22:02 +02:00
}
\keyword{cpr}