mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-22 03:40:23 +01:00
27 lines
839 B
R
27 lines
839 B
R
% 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{
|
|
strobe_pred(meas, adj, data, dec = 2, n.by.adj = FALSE)
|
|
}
|
|
\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.}
|
|
|
|
\item{n.by.adj}{flag to indicate wether to count number of patients in adjusted model or overall for outcome meassure not NA.}
|
|
}
|
|
\description{
|
|
Printable table of logistic regression analysis according to STROBE.
|
|
}
|
|
\examples{
|
|
strobe_pred()
|
|
}
|
|
\keyword{logistic}
|