[R] trouble with exiting loop if condition is met

Kelly Wu kekwu @end|ng |rom ucd@v|@@edu
Fri Jun 29 23:56:09 CEST 2018

Hi Jim & Don,

I was trying to use the break command originally before posting but for some reason it was making almost all of the p-values in the replications non significant. I think I am going to change the flow of the loop so I don’t have to use a break, such as the code Jim wrote. Thanks for your detailed response! 


> On Jun 28, 2018, at 3:18 PM, Jim Lemon <drjimlemon using gmail.com> wrote:
> " as sequential observations, it
> will only require a minor modification.
> Jim
> On Fri, Jun 29, 2018 at 5:53 AM, Kelly Wu <kekwu using ucdavis.edu> wrote:

	[[alternative HTML version deleted]]

More information about the R-help mailing list