Skip to content

Commit

Permalink
Version with JSS (website rebuilt)
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoFerrari committed Oct 12, 2023
1 parent 19a4494 commit 7055b60
Show file tree
Hide file tree
Showing 69 changed files with 1,281 additions and 827 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: hdpGLM
Title: Hierarchical Dirichlet Process Generalized Linear Models
Version: 1.0.2
Version: 1.0.3
Authors@R: c(person(given="Diogo", family="Ferrari", email="diogoferrari@gmail.com", role=c("aut", "cre")))
Description: Implementation of MCMC algorithms to estimate the Hierarchical Dirichlet Process Generalized Linear Model (hdpGLM) presented in the paper Ferrari (2020) Modeling Context-Dependent Latent Heterogeneity, Political Analysis <DOI:10.1017/pan.2019.13> and <doi:10.18637/jss.v107.i10>.
Depends: R (>= 3.3.3)
Expand Down Expand Up @@ -35,7 +35,7 @@ Imports: coda,
tibble,
tidyr,
tidyverse
RoxygenNote: 7.1.2
RoxygenNote: 7.2.3
Suggests:
knitr,
rmarkdown
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# hdpGLM (development version)

# hdpGLM 1.0.3

- This is a minor release with typos corrected and the inclusion of information regarding the publication of the package in the Journal of Statistical Software (10.18637/jss.v107.i10)

# hdpGLM 1.0.2

- The MCMC tunning parameters of the function `hdpGLM()`, namely `epsilon`, `leapFrog`, and `hmc_iter` were removed from that function's signature. Now, when the users want to tune those parameters, they must provide it as part of the named list that is used for the argument `mcmc`. It makes the code and the function signature cleaner.
Expand Down
4 changes: 2 additions & 2 deletions R/src_r_version.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## {{{ print acceptance rate }}}

print.accept.rate <- function(mh.accept.info, accepted, Z, n.display, iter, mcmc, K, Khat, family)
print_accept_rate <- function(mh.accept.info, accepted, Z, n.display, iter, mcmc, K, Khat, family)
{
## update acceptance rate
mh.accept.info$trial = mh.accept.info$trial + 1
Expand Down Expand Up @@ -520,7 +520,7 @@ dpGLM_mcmc_xxr <- function(y, X, weights, K, fix, family, mcmc, epsilon,
## print message with acceptance rate
accepted = theta.tmp$accepted
Khat = max(Khat,length(table(Z)))
mh.accept.info = print.accept.rate(mh.accept.info, accepted, Z, n.display, iter, mcmc, K, Khat, family)
mh.accept.info = print_accept_rate(mh.accept.info, accepted, Z, n.display, iter, mcmc, K, Khat, family)


}
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# hdpGLM <img src='man/figures/hdpGLM_logo.png' align="right" height="139" style="float:right; height:139px;" />

[![CRAN status](https://www.r-pkg.org/badges/version/hdpGLM?color=green)](https://cran.r-project.org/package=hdpGLM)
[![](https://travis-ci.org/DiogoFerrari/hdpGLM.svg)](https://travis-ci.org/DiogoFerrari/hdpGLM)

Overview
========
Expand Down
4 changes: 2 additions & 2 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

681 changes: 377 additions & 304 deletions docs/articles/hdpGLM.html

Large diffs are not rendered by default.

Binary file modified docs/articles/hdpGLM_files/figure-html/unnamed-chunk-10-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/hdpGLM_files/figure-html/unnamed-chunk-11-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/hdpGLM_files/figure-html/unnamed-chunk-6-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 14 additions & 10 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7055b60

Please sign in to comment.