I want to install rstanarm from GitHub to use 'stan_surv' function.
Description:
I am trying to perform Bayesian survival analysis on my data, so I install rstanarm package by the following command:
install.packages("rstanarm")
But when I use "stan_surv" command, R reminded me that the function doesn't exist. As a result, I looked up information online to solve this problem. Then I learned that to use 'stan_surv', rstanarm package should be installed by:
I ran the command above in my Rstudio. However, I still can't use "stan_surv"function, and the same error occurred again. I was so confused that I kept on trying to solve the problem. Then I found that the same question have been asked before in GitHub, the man who answered the question said that you have to install rstanarm package from GitHub. So I installed the rstan package and C++ toolchain for rstanarm package from GitHub. I ran the cmmamds in RStudio and R from GitHub:
Summary:
I want to install rstanarm from GitHub to use 'stan_surv' function.
Description:
I am trying to perform Bayesian survival analysis on my data, so I install rstanarm package by the following command:
But when I use "stan_surv" command, R reminded me that the function doesn't exist. As a result, I looked up information online to solve this problem. Then I learned that to use 'stan_surv', rstanarm package should be installed by:
I ran the command above in my Rstudio. However, I still can't use "stan_surv"function, and the same error occurred again. I was so confused that I kept on trying to solve the problem. Then I found that the same question have been asked before in GitHub, the man who answered the question said that you have to install rstanarm package from GitHub. So I installed the rstan package and C++ toolchain for rstanarm package from GitHub. I ran the cmmamds in RStudio and R from GitHub:
But it occoured such errior:
Is there anyone encountered the same issue and solve such problem? Could you please help me? Appreaciate it!