daDoctoR/man/strobe_pred.Rd

27 lines
811 B
Plaintext
Raw Normal View History

2018-10-11 16:31:46 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/strobe_pred.R
\name{strobe_pred}
\alias{strobe_pred}
\title{Logistic regression of predictors according to STROBE}
\usage{
2018-10-12 11:26:20 +02:00
strobe_pred(meas, adj, data, dec = 2, n.by.adj = FALSE)
2018-10-11 16:31:46 +02:00
}
\arguments{
\item{meas}{binary outcome meassure variable, column name in data.frame as a string. Can be numeric or factor. Result is calculated accordingly.}
\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.}
2018-10-12 11:26:20 +02:00
\item{n.by.adj}{flag to indicate wether to count number of patients in adjusted model or overall.}
2018-10-11 16:31:46 +02:00
}
\description{
Printable table of logistic regression analysis according to STROBE.
}
\examples{
strobe_pred()
}
\keyword{logistic}