jolly2.Rd
Calculate Jolly II estimate and 95% Confidence Interval
jolly2(species_count, Transect_area, Z = Z)
species_count | the column from the dataset with the species counts in |
---|---|
Transect_area | the column from the dataset with the transect areas in |
Z | the stratum area (the total area that we are extrapolating to) |
dataframe with Jolly II estimate and 95% CI
data=Kulan::sim_kulan_data(n=100,ma=25, p0=0.5, ml=20, w=0.2) jolly2(data$sp_count, data$Trans_area, Z=164*5)#> Error in data.frame(Estimate = Y, lower_CI = Y - CL, upper_CI = Y + CL, SE = se, mean.y = mean(y), SD.y = stats::sd(y), Coef.of.Var.y = (stats::sd(y)/mean(y))): arguments imply differing number of rows: 1, 0