Skip to content

Commit

Permalink
Prepare data_test for package compilation (#9)
Browse files Browse the repository at this point in the history
* Documentation of the visualisation and modelling modules

* automatic documentation of the visualisation and modeling modules

* minor changes to the documentation. Typos and minor bugs corrected.

* feat: define a preliminar version of the minimal dataset needed to use the library, now stored in data/data.RDS (data/data_bu.RDS is backup of the old dataset). The prepare_data() function in seroprevalence_data process the dataset creating 5 columns needed for the analysis (age_mean_f, sample_size, prev_obs, prev_obs_lower and prev_obs_upper). This function is tested in test/test_minimal_data and implemented in test_individual_models.

* fix: remove unused functions from all modules in preparation for a compiltation test. Remove the corresponding documentation files. Remove the folder R/stantmodels (it's redundant with inst/extdata/stanmodels). Update dependencies in DESCRIPTION (epitrix and cowplot removed).

* fix: prepare data_test for compilation of the package

Co-authored-by: megamezl <[email protected]>
  • Loading branch information
ntorresd and MiguelGamezL authored Jan 25, 2023
1 parent 93185c8 commit 5c0c8cd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
Binary file removed data/dat_plot.RDS
Binary file not shown.
Binary file added data/data.RData
Binary file not shown.
15 changes: 15 additions & 0 deletions data/data_test.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#' Seroprevalence data on serofoi
#'
#' Data from a serological surveys
#'
#' @docType data
#'
#' @usage data_test
#'
#' @format An object of class \code{"cross"}; see \code{\link[qtl]{read.cross}}.
#'
#' @keywords datasets
#'
#' @examples
#' data_test
"serofoi"
Empty file removed data/tmp.txt
Empty file.

0 comments on commit 5c0c8cd

Please sign in to comment.