% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scores_nt_fitbit.R
\name{check_params_compute_fitbit_activity_table}
\alias{check_params_compute_fitbit_activity_table}
\title{Check parameters for compute_fitbit_activity_table}
\usage{
check_params_compute_fitbit_activity_table(
  data_activity,
  data_daily,
  hr_low,
  hr_high,
  hr_rep_day,
  hr_rep_sleep,
  bin_minutes,
  append_daily_fitbit_qc,
  qc_threshold,
  offset,
  min_actv_minutes
)
}
\arguments{
\item{data_activity}{tbl. Data frame with \code{dtt} (timestamp), \code{hrate}
(heart rate), \code{steps}, \code{intnst} (intensity), \code{mets} and \code{is_slp} (sleep flag)
variables.}

\item{data_daily}{tbl. Daily-level Fitbit-generated summary data containing
\code{hrate_rest_fitb} (resting heart rate) and optionally step counts
(steps_fitb).}

\item{hr_low}{numeric. Lower bound threshold for valid heart rate values.}

\item{hr_high}{numeric or NULL. Optional upper bound threshold for valid
heart rate values.
If NULL, no upper threshold is applied.}

\item{hr_rep_day}{numeric. Threshold (number of epochs) for identifying
repeated heart rate
values during wake/activity periods.}

\item{hr_rep_sleep}{numeric. Threshold (number of epochs) for identifying
repeated heart rate
values during sleep periods.}

\item{bin_minutes}{numeric. Number of minutes used to bin activity data when
computing intensity scores (e.g., 1440 for daily aggregation).}

\item{append_daily_fitbit_qc}{logical. If TRUE, add Fitbit-provided step
count and QC measures.}

\item{qc_threshold}{numeric, between 0 and 1. Minimum percentage of Fitbit
step count that must be met by computed active step count for QC to pass
(Default: 0.8).}

\item{offset}{character. Time of day (HH:MM) cutoff.}

\item{min_actv_minutes}{numeric. Minimum number of active minutes required
for a day to pass quality control. Used to create a \code{{qc_Xmin}} flag
column in the output.}
}
\value{
NULL. Called for its side effects (parameter validation).
}
\description{
Validates all input parameters for \code{\link{compute_fitbit_activity_table}},
including data frame structure, required column presence, and numeric
parameter constraints.
}
\keyword{internal}
