Skip to content

Commit

Permalink
Update pwr.r.test.R (#9)
Browse files Browse the repository at this point in the history
* Add repository metadata

[ci skip]

* Update pwr.r.test.R

increased the limit for n
  • Loading branch information
adianandkumar authored and heliosdrm committed Oct 6, 2016
1 parent 15a7dd9 commit f3f0d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pwr.r.test.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ r<--r
power <- eval(p.body)
else if (is.null(n))
n <- uniroot(function(n) eval(p.body) - power, c(4 +
1e-10, 1e+07))$root
1e-10, 1e+09))$root
else if (is.null(r))
{
if(tside==2){r <- uniroot(function(r) eval(p.body) - power,
Expand Down

0 comments on commit f3f0d69

Please sign in to comment.