R CMD check.@examples added or corrected across 3 help pages. Each runs
offline in seconds, writes nothing outside tempdir(), and is executed by
R CMD check; anything needing a device, a download or an optional backend is
fenced with the reason stated.doseResponse(): therapy dose-response model relating a continuous/ordinal
dose (hours/repetitions/sessions) to an outcome or change-from-baseline, with
confounder adjustment, optional subject random intercepts (via
fitMixedModel()), and linear / log / natural-spline / Emax dose forms. Returns
an AnalysisResult with the dose effect, a predicted dose-response curve and
the coefficient table. Honest scope: every coefficient is estimated from the
data (no hard-coded slope), associational unless dose was randomised.causalMediation(), a guarded mediation::mediate() workflow that
verifies retained model rows, preserves the caller's RNG state, reports
control, treated, and average ACME/ADE estimates, and records supported
medsens() diagnostics.targetTrialProtocol() for explicit seven-component target-trial
declarations with a separate time-zero rule and provenance representations
for static and dynamic strategies.targetTrialEmulate() for intention-to-treat and per-protocol
clone-censor-weight analyses of long person-period data. Raw and truncated
weights, censor reasons, positivity and balance diagnostics, and
clone-clustered robust uncertainty are retained in the result.These workflows estimate contrasts only under their stated consistency, exchangeability, positivity, time-zero, and model assumptions. They do not turn observational data into a randomized trial or prove a biological mechanism.
Initial release of PhysioClinStats as a standalone package in the x-biosignal ecosystem. This package provides the clinical inference layer for rehabilitation and physiological signal studies, with heavy modelling backends kept as optional, guarded dependencies.
clinStatsBackends() reports availability of the optional modelling
backends (mmrm, emmeans, lme4, and SingleCaseES) as a named
logical vector, letting callers check support before running an analysis.requireBackend() asserts that a named optional backend is installed and
otherwise stops early with an actionable install message.