stan-dev / stan-dev/rstanarm

I have problem in stan_surv function

Open
#472 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
401
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Hi,
I installed rstanarm package. and I activated it. and I also installed Rstan package too.
when I tried to use stan_surv function. it keeps telling me that the function is not existed.

==> Error in stan_surv(formula = Surv(time, event) ~ treatment, data = stats, :
could not find function "stan_surv"

Can you please help me I need this so bad.
Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The reported entry point is stan_surv, called with Surv(time, event) ~ treatment. Start by checking whether the installed rstanarm version exports stan_surv and compare it with the package documentation, then reproduce the shown call. Done means identifying why the function is unavailable or documenting the supported invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.