% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sarc_f_score.R
\name{sarc_f_score}
\alias{sarc_f_score}
\title{SARC-F Sarcopenia Screening Score}
\usage{
sarc_f_score(
  data,
  col_map = NULL,
  na_action = c("keep", "omit", "error", "ignore", "warn"),
  verbose = TRUE
)
}
\arguments{
\item{data}{A data.frame or tibble with SARC-F questionnaire responses.}

\item{col_map}{Named list mapping the five SARC-F components to columns:
strength, walking, chair, stairs, falls.}

\item{na_action}{One of c("keep","omit","error","ignore","warn").}

\item{verbose}{Logical; if TRUE (default), emits progress messages.}
}
\value{
A tibble with:
\itemize{
\item sarc_f_score (numeric 0-10; NA if any component is NA)
\item sarc_f_high_risk (logical; TRUE if score >= 4, NA if score is NA)
}
}
\description{
Computes the SARC-F questionnaire score, a quick screening tool for sarcopenia risk.
}
\details{
SARC-F has 5 items: Strength, Assistance in walking, Rise from a chair,
Climb stairs, and Falls. Each item is scored 0 (no difficulty) to 2 (high difficulty).
Total SARC-F score ranges 0-10. A score >= 4 indicates high risk of sarcopenia
and suggests further assessment.
}
\examples{
df <- data.frame(Strength = c(1, 2, 0), Walking = c(0, 1, 2),
                 Chair = c(1, 1, 2), Stairs = c(0, 2, 2), Falls = c(0, 1, 1))
sarc_f_score(df)
}
\references{
\insertRef{malmstrom2013sarcf}{HealthMarkers}
\insertRef{malmstrom2016sarcf}{HealthMarkers} (SARC-F validation and functional outcome prediction; background)
}
