/* $Id$
$State$
$Log$
+ Revision 1.355 2023/05/22 17:03:18 brouard
+ Summary: 0.99r46
+
+ * imach.c (Module): In the ILK....txt file, the number of columns
+ before the covariates values is dependent of the number of states (16+nlstate): 0.99r46
+
Revision 1.354 2023/05/21 05:05:17 brouard
Summary: Temporary change for imachprax
double ***varpij;
strcpy(fileresprob,"PROB_");
- strcat(fileresprob,fileres);
+ strcat(fileresprob,fileresu);
if((ficresprob=fopen(fileresprob,"w"))==NULL) {
printf("Problem with resultfile: %s\n", fileresprob);
fprintf(ficlog,"Problem with resultfile: %s\n", fileresprob);
kvar=Tvar[TvarFind[kf]]; /* variable name */
/* k=18+Tvar[TvarFind[kf]];/\*offset because there are 18 columns in the ILK_ file but could be placed else where *\/ */
/* k=18+kf;/\*offset because there are 18 columns in the ILK_ file *\/ */
- /* k=19+nlstate+kf;/\*offset because there are 19 columns in the ILK_ file *\/ */
+ /* k=19+kf;/\*offset because there are 19 columns in the ILK_ file *\/ */
k=16+nlstate+kf;/*offset because there are 19 columns in the ILK_ file, first cov Vn on col 21 with 4 living states */
for (i=1; i<= nlstate ; i ++) {
fprintf(ficgp,"\nset out \"%s-p%dj-%d.png\";set ylabel \"Probability for each individual/wave\";",subdirf2(optionfilefiname,"ILK_"),i,kvar);