Git Product home page Git Product logo

capwire's Issues

question about confidence intervals and estimate of population size

Hi,

I hope question about TIRM, I hope this is the correct venue.
Can you imagine a case where TIRM population size estimate would not be included in the confidence interval?

> bootstrapCapwire (fit = FTirm, bootstraps = 50)
$ml.pop.size
[1] 778

$conf.int
   2.5%   97.5% 
815.225 966.425 

Cheers,
Roman

Error in if (class(x) != "data.frame" & class(x) != "matrix") stop("data must be entered as either a 'data.frame' or 'matrix'") :

Hey there,

Not sure if this package is maintained anymore, but I am running into an issue running bootstrapCapwire

I've successfully run Capwire before, with this same code as well, so I'm wondering if it's an issue from other packages/R updates.

Any wisdom?

Example code:

mnz_cols <- c(6, 5, 2, 1, 1, 1, 1,1)

captable <- buildClassTable(mnz_cols)

res.tirm <- fitTirm(data=captable, max.pop=1000)

res.bootstrap <- bootstrapCapwire(res.tirm, bootstraps = 100)

Yields error:

Error in if (class(x) != "data.frame" & class(x) != "matrix") stop("data must be entered as either a 'data.frame' or 'matrix'") : 
  the condition has length > 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.