В Tue, 18 Jul 2023 09:28:30 -0400 Joseph Lucke <jfluck...@gmail.com> пишет:
> Error in qnbinom(1 - tol, size = q, prob = r) : > pRsq.Rhosq <- function(x, n, p, Rhosq,tol=tol){ It looks like you're not passing the `tol` parameter, and its default value unfortunately refers to itself: (function(x = x) x)() # Error in (function(x = x) x)() : # promise already under evaluation: recursive default argument # reference or earlier problems? -- Best regards, Ivan ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.