Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SISIR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SFCB
SISIR
Commits
b4d915ed
Commit
b4d915ed
authored
2 years ago
by
Nathalie Vialaneix
Browse files
Options
Downloads
Patches
Plain Diff
added truffles dataset to the package
parent
d700fa23
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
R/data.R
+45
-0
45 additions, 0 deletions
R/data.R
data/truffles.rda
+0
-0
0 additions, 0 deletions
data/truffles.rda
with
45 additions
and
0 deletions
R/data.R
0 → 100644
+
45
−
0
View file @
b4d915ed
################################################################################
# Documentation for the dataset "truffles"
################################################################################
#' @title Dataset "Truffles"
#' @name truffles
#'
#' @description Yearly truffles production and corresponding monthly rainfall
#' information of the Perigord black truffle in the Vaucluse (France) between
#' 1924 and 1949.
#'
#' @docType data
#'
#' @format 3 datasets are provided: \itemize{
#' \item \code{rainfall}: a data frame with 15 columns (months from January
#' Year n to March Year n+1) and 25 rows (production years from 1924/1925 to
#' 1948/1949). Data correspond to cumulated rainfall in mm;
#' \item \code{truffles}: a vector with 25 values corresponding to the total
#' production (in kg) of truffles in the truffle patch of T. melanosporum de
#' Pernes-Les-Fontaines (Vaucluse, France);
#' \item \code{beta}: 0/1 vector with 15 values indicated the months during
#' which the rainfall has the most important influence on the truffle
#' production, as provided by experts.
#' }
#'
#' @details This dataset has been made available by courtesy of the authors of
#' the publication [Baragatti \emph{et al.}, 2019]. Meteorological data have
#' been provided by Meteo France https://meteofrance.com (Orange meteorological
#' station) and truffle production data are courtesy of the truffle patch.
#'
#' @references
#' Baragatti M., Grollemund P.M., Montpied P., Dupouey J.L., Gravier J., Murat
#' C., Le Tacon F. (2019) Influence of annual climatic variations, climate
#' changes, and sociological factors on the production of the Perigord black
#' truffle (\emph{Tuber melanosporum Vittad.}) from 1903-1904 to 1988-1989 in
#' the Vaucluse (France), \emph{Mycorrhiza}, \strong{29}(2), 113-125.
#'
#' @examples
#' data(truffles)
#' \dontrun{
#' summary(truffles)
#' plot(1:15, rainfall[1, ], type = "l", xlab = "month", ylab = "rainfall (mm)")
#' }
NULL
\ No newline at end of file
This diff is collapsed.
Click to expand it.
data/truffles.rda
0 → 100644
+
0
−
0
View file @
b4d915ed
File added
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment