mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-11-23 21:40:22 +01:00
23 lines
486 B
R
23 lines
486 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/mfi_calc.R
|
|
\name{multi_rev}
|
|
\alias{multi_rev}
|
|
\title{Reverses relevant MFI subscores}
|
|
\usage{
|
|
multi_rev(d, var)
|
|
}
|
|
\arguments{
|
|
\item{d}{data frame or tibble}
|
|
|
|
\item{var}{numeric vector of indices of columns to reverse}
|
|
}
|
|
\value{
|
|
data.frame or tibble depending on input
|
|
}
|
|
\description{
|
|
Reverses relevant MFI subscores
|
|
}
|
|
\examples{
|
|
# rep_len(sample(1:5),length.out = 100) |> matrix(ncol=10) |> multi_rev(2:4)
|
|
}
|