Skip to content

sim.arg error when rho is high #182

Description

@WongDWai

Had this warning when increasing rho above 3:
sim.arg ERROR: missing value where TRUE/FALSE needed
Warning messages: 1: In rhyper(1, count, p.size - count, b.size) : NAs produced

Checking the values:
Browse[1]> count
[1] 202
Browse[1]> p.size
[1] 100
Browse[1]> b.size
[1] 1
Browse[1]> n.transfer
[1] NA
Browse[1]> recipient$get.name()
[1] "I_27"
Browse[1]> rhyper(1, count, p.size-count, b.size)
[1] NA

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions