Skip to content
Snippets Groups Projects
Commit 71a28d2a authored by Maria Voigt's avatar Maria Voigt
Browse files

changing name of coeff_weights which I had changed before

but forgotten in one step
parent 821e16c3
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ pred_estimates_sum <- apply(pred_estimates_wcoeffs, 1, sum) ...@@ -129,7 +129,7 @@ pred_estimates_sum <- apply(pred_estimates_wcoeffs, 1, sum)
# check this # check this
# sonst zeroinflated part. wahrscheinlichkeit das null ist durhc 1- --> wahrscheinl das es 1 ist # sonst zeroinflated part. wahrscheinlichkeit das null ist durhc 1- --> wahrscheinl das es 1 ist
# wahrscheinlich macht es auch sinn da prediktoren drin zu haben in zeroinflated part # wahrscheinlich macht es auch sinn da prediktoren drin zu haben in zeroinflated part
pred_estimates_weighted <- pred_estimates_sum * coeff_weights$w_aic pred_estimates_weighted <- pred_estimates_sum * abundMod_results$w_aic
pred_estimates_calc <- sum(pred_estimates_weigthed) pred_estimates_calc <- sum(pred_estimates_weigthed)
return(exp(pred_estimates_calc)) return(exp(pred_estimates_calc))
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment