Skip to content

Commit

Permalink
Remove empty K argument
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkellner committed Sep 4, 2024
1 parent 03787d4 commit fef84f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/playRN_AHM1_6-13-1_Simulate_Royle-Nichols_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ umf <- unmarkedFrameOccu(y=y, siteCovs= data.frame(cov2 = data$site.cov[,2],
# Fit data-generating model
fm <- occuRN(~cov3+obscov ~cov2, data=umf)
# Estimate local abundance N and plot against true N (known in simulation)
Nest <- bup(ranef(fm, K = ), "mean")
Nest <- bup(ranef(fm), "mean")
if(show.plots) {
# par(mfrow = c(1,1)) ## leave it alone
tryPlot <- try( {
Expand Down

0 comments on commit fef84f5

Please sign in to comment.