Skip to content

Align survFit docs with centered linear predictor behavior for newdata = NULL#123

Closed
fabian-s with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-code-for-review-comment
Closed

Align survFit docs with centered linear predictor behavior for newdata = NULL#123
fabian-s with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-code-for-review-comment

Conversation

Copilot AI commented Jul 23, 2026

Copy link
Copy Markdown

This addresses the review comment on PR #122 highlighting a documentation/behavior mismatch in survFit. The docs previously said newdata = NULL computes survival for “mean covariates,” while the implementation centers the linear predictor.

  • What changed

    • Updated man/survFit.Rd (\details{}) to describe newdata = NULL behavior as based on a centered linear predictor rather than “mean of the covariates.”
    • Kept scope strictly to the referenced review comment; no code-path changes.
  • Doc wording adjustment

    - hazards model is computed for the mean of the covariates used in the
    + hazards model is computed for a centered linear predictor based on the

Copilot AI changed the title [WIP] Fix code as per review comment Align survFit docs with centered linear predictor behavior for newdata = NULL Jul 23, 2026
Copilot AI requested a review from fabian-s July 23, 2026 11:42
@fabian-s fabian-s closed this Jul 23, 2026
fabian-s pushed a commit to fabian-s/mboost that referenced this pull request Jul 23, 2026
…behavior

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HqB9XX7JjdQJ1vah4eyWv9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants