HOPE-UIB-BIO / PastHumanImpact

Reproducible analyses to test the hypothesis that human impact altered the fundamental ecological processes during the Holocene
0 stars 0 forks source link

Trouble shoot get hvar h2 #280

Closed Vivian-Felde closed 6 months ago

Vivian-Felde commented 6 months ago

Find out why H2 fails for Oceania Tropical and Europe Cold_Without_dry_season_Warm_Summer

Relates to issue #275

The original function fails - not our wrapper function. Error message provided for European dataset: Error in dimnames(u) <- list(dnam[[1]], c(axnam, negnam)) : length of 'dimnames' [2] not equal to array extent

dbRDA works, but show the predictor variables are highly correlated, and does not explain the data well. It kind of make sense it is not possible to partition the variation. So it is a data issue.

For these two datasets; dbrda function in vegan did not work for single predictor variables. Quick solution is to fix and save main hp function locally. Issue is solved.

close #275