From e0680d41c05b5c7f2257a2a4afb6b33c85d8c98f Mon Sep 17 00:00:00 2001 From: XueqingYin <83759494+XueqingYin@users.noreply.github.com> Date: Fri, 29 Sep 2023 10:39:23 +0100 Subject: [PATCH] Use retrieve_tutorial_data to retrieve the data first before loading Add a line of code that uses the ```fdmr::retrieve_tutorial_data``` function to retrieve the data first from fdmr data store before loading in the data --- vignettes/Simulation_PoissonDat.Rmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vignettes/Simulation_PoissonDat.Rmd b/vignettes/Simulation_PoissonDat.Rmd index 46cb59bd..3f168283 100644 --- a/vignettes/Simulation_PoissonDat.Rmd +++ b/vignettes/Simulation_PoissonDat.Rmd @@ -19,9 +19,10 @@ In this tutorial, we'll start by generating some simulated spatio-temporal data, # Data simulation -First we simulate some Poisson distributed data observed at 55 spatial locations in Bristol, UK and across 6 time points. We use the `load_tutorial_data function` to load in the geographical information for the spatial locations in Bristol. +First we simulate some Gaussian distributed data observed at 55 spatial locations in Bristol, UK and across 6 time points. We use the `fdmr::retrieve_tutorial_data` function and the `fdmr::load_tutorial_data` function to retrieve and load in the geographical information for the spatial locations in Bristol from the `fdmr` example data store. ```{r loadsp} +fdmr::retrieve_tutorial_data(dataset = "priors") sp_data <- fdmr::load_tutorial_data(dataset = "priors", filename = "spatial_dataBris.rds") ```