After running all the chain with absolutely no errors and when I go to data > explorer tab in the app I find that the variables I created on the chain do actually exist (for example density, basal area, etc.) but they are completely empty. It happens the same when I export the data to an excel file. Anyone experienced something similar? Bests

asked 2 days ago

Juak's gravatar image

Juak
362
accept rate: 33%


Dear Juak,

can you please check in RStudio project that 1) you have given the area scripts in the /sampling folder, and that 2) none of the result attributes is containing just NAs. If any of variables in your chain contains only NAs, then persists-results.R fails. Also 3) after running system/calculate-results.R, that "per hectare" result variables are ok, (i.e., if in your chain you have tree$tree_basal_area, there will be a new variable tree$tree_basal_area_ha)

I just test one of my chains and persists-results.R worked. If the problem gets not solved, please contact us again so we can look at your case in detail.

regards, Lauri (OF Arena Team)

permanent link

answered 2 days ago

Lauri%20%28OF%29's gravatar image

Lauri (OF) ♦♦
8402916
accept rate: 20%

Hi Lauri,

thanks for your fast reply. I answer to your question one by one:

  • area scripts are there
  • there are some variables with some NAs but no variable contains only NAs
  • in my entity tree (example) when I check it on R I obtain satisfactory results in the variable called tree$basal__area__ha

My problem is that in R everything looks nice and when I run persist-results.R everything goes smooth but then nothing gets into my survey back in Arena.

Best regards, Jokin

permanent link

answered 2 days ago

Juak's gravatar image

Juak
362
accept rate: 33%

Hi Jokin, try to replace all remaining NAs with 0.

-Lauri

(2 days ago) Lauri (OF) ♦♦ Lauri%20%28OF%29's gravatar image

Hi Lauri, I cleaned all the tables generated in R, example (treeResults) and no NAs are found there... I don't know what else to do.

(2 days ago) Juak Juak's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×102

question asked: 2 days ago

question was seen: 76 times

last updated: 2 days ago