Problem: I have been scripting in JMP for years and I am accustomed to using the Wait statement when the JMP scripting language gets ahead of itself in calculations or otherwise errors out. In this case the script runs perfect if I highlight the first half, run it, highlight the second half, run it. Although, together they will not run, a wait in between does not fix it. It appears to be a problem in plotting / survival analysis plot. This will not run unless it is run individually. Any suggestions?
The following code must be run separately. The top code will bomb out at this point wait does not work. wait(5); Weibull1 = Survival( Y( :Name( "Sum(ADJTOW)" ) ), Censor( :Name( "Sum(Suspension)" ) ), Failure Plot( 0 ), Survival Plot( 1 ), Weibull Fit( 1 ), Fitted Quantile( 1 ), by( :Name( "WUC of outCalcTOW By (WUC, PN, SN, RemInt)" ) ) );
weibullreport = weibull1 << report; weibulloutput = weibullreport[tablebox(2)] << make combined data table;