Skip to content

Commit

Permalink
Use retrieve_tutorial_data to retrieve the data first before loading
Browse files Browse the repository at this point in the history
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
  • Loading branch information
XueqingYin authored Sep 29, 2023
1 parent c1f9704 commit e0680d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vignettes/Simulation_PoissonDat.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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")
```

Expand Down

0 comments on commit e0680d4

Please sign in to comment.