From: N. Brouard Date: Mon, 22 May 2023 17:03:18 +0000 (+0000) Subject: Summary: 0.99r46 X-Git-Tag: imach-099s7~45 X-Git-Url: https://henry.ined.fr/git/?a=commitdiff_plain;h=788efc0f986c6895042f2fb3b32bf8e7fe5fb7da;p=.git 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 --- diff --git a/src/imach.c b/src/imach.c index fbbde0c..b69bbdf 100644 --- a/src/imach.c +++ b/src/imach.c @@ -1,6 +1,9 @@ /* $Id$ $State$ $Log$ + Revision 1.354 2023/05/21 05:05:17 brouard + Summary: Temporary change for imachprax + Revision 1.353 2023/05/08 18:48:22 brouard *** empty log message *** @@ -8440,7 +8443,8 @@ void printinggnuplot(char fileresu[], char optionfilefiname[], double ageminpar, 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+kf;/*offset because there are 19 columns in the ILK_ file */ + /* k=19+nlstate+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); fprintf(ficgp,"unset log;\n# For each simple dummy covariate of the model \n plot \"%s\"",subdirf(fileresilk));