Skip to content

An error occurred when using "nboots" arguments #9

@zl19990820

Description

@zl19990820

Dear Professor Chao:
I encountered a minor issue while utilizing miNEXT:
I ran the following code: result_inci_crab = Incidence(crab_inci, knots = 20, nboots = 100)
I get an error
Error in sample.int(length(x), size, replace, prob) :
cannot take a sample larger than the population when 'replace = FALSE'
we try to set nboots = 0 (default), and it works well.
I also tested the code with bird data, and it works well too.
I really can't find what's wrong with my data. And What determines the upper limitation of nboots ?
The attached file is the data I used.
crab_inci.csv
Thank you for offering a plethora of user-friendly tools for biodiversity estimation. I anticipate your response.
Zhang, Lin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions