Skip to contents

rubias 0.4.1

  • Added enhanced tools to understand whether mixing proportions <1N<\frac{1}{N} are the result of fish in the mixture that actually look like they belong to a certain reporting unit or whether it is from the accumulation of a lot of uncertainty.

rubias 0.4.0

  • Added functionality to simulate from the posterior predictive distribution to better summarize uncertainty on stock-specific total catch.
  • Replaced read_table2() with read_table()

rubias 0.3.4

CRAN release: 2024-01-24

Small patch update to deal with some CRAN check NOTES:

  • removed documented parameter that was not used in a function
  • removed explicit dependence on C++11 in the Makevars
  • updated CITATION format to bibentry

rubias 0.3.3

CRAN release: 2022-02-09

Changes

  • Overhauled haploid vs diploid ploidy determination to deal gracefully with mixture samples that are missing data at all individuals in a locus.
  • Using dplyr::slice_sample() instead of dplyr::sample_n(), as the latter is superseded by the former, and the latter was also causing an error on the new sample.int() sanity check.

rubias 0.3.2

CRAN release: 2021-01-15

Changes

  • Corrected an underflow issues in the self_assign() function with many loci.
  • Edited the DOI address of the paper to be CRAN compliant.

rubias 0.3.1

CRAN release: 2020-04-02

Changes

  • Tiny tweak in one function to fix a breaking change in tibble 3.0.0.

rubias 0.3.0

CRAN release: 2019-06-10

Changes

  • Added option to infer_mixture() for a fully-Bayesian version. In a fully Bayesian version, fish from within the mixture that are allocated (on any particular step of the MCMC) to one of the reference samples have their alleles added to that reference sample.

rubias 0.2.0

CRAN release: 2019-02-02

Changes

  • Added support for haploid markers (#14, @krshedd).

  • Added support for individuals of known origin (i.e. those identified with great accuracy using parentage-based tagging) in the mixtures (#12).

  • Allow user to specify the total weight on the symmetrical Dirichlet prior for the mixing proportions in infer_mixture().

  • Enforced the requirement that fish of sample_type == “mixture” must have NA for their repunit. When things aren’t NA, infer_mixture() would throw an error when method == “PB” because there were extra factor levels floating around. In the process I allow for the repunit column to be either character or logical as setting it to NA will always make it a logical if it is not part of a data frame with other non-missing character values in it.

  • Modified vignette so that we don’t have to put tidyverse in the Suggests

  • Added support for user specified parameters for the Dirichlet prior on mixing proportions

  • Added support for user-specified initial starting values for the pi parameter (the mixing proportions of collections) in the function infer_mixture().

  • Added a simple function, close_matching_samples(), to tabulate pairs of individuals with only a small number of mismatching genotypes. This is useful for identifying accidentally duplicated samples. (#23)

  • Made changes to be compatible with dplyr 0.8.0, which no longer discards empty factor levels. Mostly this involved filtering 0’s after group_by() and tally() or count() calls. It looks like things are all working (passing all tests and building vignettes all right.)

rubias 0.1.0

CRAN release: 2018-01-29

This is the first version submitted to CRAN.