Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

README.md tutorial, output turning out null. #8

Open
Falnesio opened this issue Jan 29, 2019 · 1 comment
Open

README.md tutorial, output turning out null. #8

Falnesio opened this issue Jan 29, 2019 · 1 comment

Comments

@Falnesio
Copy link

Is this suppose to turn out like this?

> predictions <- na.omit(output$model_output[[1]])
Warning message:
In is.na(object) : is.na() applied to non-(list or vector) of type 'NULL'
> output
[[1]]
[[1]]$params
   E tau tp nn
1 10   1  1 11

[[1]]$model_output
    time     obs     pred pred_var
1      2   309.6      NaN      NaN
2      3   312.7      NaN      NaN
3      4   312.2      NaN      NaN
4      5   316.1      NaN      NaN
5      6   318.2      NaN      NaN
6      7   317.8      NaN      NaN
7      8   320.2      NaN      NaN
8      9   324.2      NaN      NaN
@ha0ye
Copy link
Owner

ha0ye commented May 4, 2019

@Falnesio, can I ask what version of the package you're running? It looks like you may be using an older version, and we've changed how the outputs are structured.

My recommendation is to install the latest version directly from GitHub:

# install.packages("remotes")
remotes::install_github("ha0ye/rEDM")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants