Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.8%) to scientific vocabulary
Repository
Model-averaged renewal process
Basic Info
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
marp
<!-- badges: end -->
An R package to apply model-averaging on renewal process.

Install
You can install the released version of marp from GitHub with:
``` r if(!require(devtools)){ install.packages("devtools") library(devtools) }
devtools::install_github("kanji709/marp") ```
Example
Here is a basic example which shows you how to use marp:
``` r
load R package - marp
library(marp)
generate a small dataset
data <- rgamma(100,3,0.01)
set parameters
m <- 10 # number of iterations for MLE optimization t <- seq(100,200,by=10) # time intervals B <- 99 # number of bootstraps BB <- 99 # number of double-bootstrapps alpha <- 0.05 # confidence level y <- 304 # cut-off time point for probablity estimation model_gen <- 2 # specifying the data generating model (if known)
step one: fitting differnt renewal models
res1 <- marp::poissonrp(dat,t,y) res2 <- marp::gammarp(dat,t,m,y) res3 <- marp::loglogisrp(dat,t,m,y) res4 <- marp::weibullrp(dat,t,m,y) res5 <- marp::lognormrp(dat,t,y) res6 <- marp::bptrp(dat,t,m,y)
step two: model selection and obtain model-averaged estimates
res <- marp::marp(dat,t,m,y,which.model = 2)
step three: construct different confidence intervals (including model-averaged CIs)
ci <- marp::marpconfint(dat,m,t,B,BB,alpha,y,modelgen) ```
Owner
- Name: Jie Kang
- Login: kanji709
- Kind: user
- Twitter: KangJOtago
- Repositories: 2
- Profile: https://github.com/kanji709
GitHub Events
Total
- Member event: 2
- Push event: 27
Last Year
- Member event: 2
- Push event: 27
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 9
- Average time to close issues: N/A
- Average time to close pull requests: about 4 hours
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- chrisdjscott (9)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 191 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: marp
Model-Averaged Renewal Process
- Homepage: https://github.com/kanji709/marp
- Documentation: http://cran.r-project.org/web/packages/marp/marp.pdf
- License: MIT + file LICENSE
- Status: removed
-
Latest release: 0.1.0
published almost 4 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 2.15 depends
- VGAM * imports
- gtools * imports
- statmod * imports
- stats * imports
- devtools * suggests
- knitr * suggests
- roxygen2 * suggests
- testthat >= 3.0.0 suggests
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/check-r-package v1 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v1 composite