Table formatting in NONMEM7- can I skip the "Table No." header row?

10 messages 10 people Latest: May 19, 2011
Dear fellow Nmus, Does anyone know whether I can make an output table with $TABLE skipping the "Table No. 1" row and going straight to the row with the actual column headers? The purpose is to ease import of the output table to other applications, particularly SAS. I think that should be possible, but maybe some dirty tricks are required? I consider this somewhat related to Sebastiens Q below. Thanks in advance, Andreas Andreas Velsing Groth Modelling Scientist Quantitative Clinical Pharmacology Novo Nordisk A/S Denmark
Quoted reply history
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sebastien Bihorel Sent: 2. december 2010 15:58 To: nmusers Subject: [NMusers] Table formatting in NONMEM7 Dear NMusers, I was wondering if there is a way to change the default format of output tables in NONMEM7. I know that the FORMAT option allows the user to override the default format at each $TABLE statement, but adding this option in every control stream can become a very burdensome task. I'd like to change the default format globally... maybe by changing an installation setting file? I have tried to look in the manual and on the web but did not find anything relevant (wrong keywords???) I would appreciate any feedback for the group. Thank you Sebastien
In R you don't need to worry about the "Table No. 1" if you use the "skip" argument of the read.csv() command. For example data<-data.frame(read.csv(paste(dir,run.name,".csv",sep=""),header=TRUE,sep=",",stringsAsFactors=F,skip=1)) using skip=1 as above will cause R to jump over the first line, which is "Table No. 1". I suspect that SAS has a similar command.
Quoted reply history
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of AVG (Andreas Velsing Groth) Sent: Tuesday, May 17, 2011 9:09 AM To: 'Sebastien Bihorel'; nmusers Subject: [NMusers] Table formatting in NONMEM7- can I skip the "Table No." header row? Dear fellow Nmus, Does anyone know whether I can make an output table with $TABLE skipping the "Table No. 1" row and going straight to the row with the actual column headers? The purpose is to ease import of the output table to other applications, particularly SAS. I think that should be possible, but maybe some dirty tricks are required? I consider this somewhat related to Sebastiens Q below. Thanks in advance, Andreas Andreas Velsing Groth Modelling Scientist Quantitative Clinical Pharmacology Novo Nordisk A/S Denmark -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sebastien Bihorel Sent: 2. december 2010 15:58 To: nmusers Subject: [NMusers] Table formatting in NONMEM7 Dear NMusers, I was wondering if there is a way to change the default format of output tables in NONMEM7. I know that the FORMAT option allows the user to override the default format at each $TABLE statement, but adding this option in every control stream can become a very burdensome task. I'd like to change the default format globally... maybe by changing an installation setting file? I have tried to look in the manual and on the web but did not find anything relevant (wrong keywords???) I would appreciate any feedback for the group. Thank you Sebastien
Dear Andreas, I guess its easy to skip this problem by using FIRSTOBS=3 option in the INFILE statement when you read your data in SAS. Regards, István István Németh PhD Biostatistician Developmental Drug Metabolism & Pharmacokinetics Pharmacological and Drug Safety Research Gedeon Richter Plc Tel: 00 36 1 505 7082 Fax: 00 36 1 889 8526
Quoted reply history
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of AVG (Andreas Velsing Groth) Sent: Tuesday, May 17, 2011 3:09 PM To: 'Sebastien Bihorel'; nmusers Subject: [NMusers] Table formatting in NONMEM7- can I skip the "Table No." header row? Dear fellow Nmus, Does anyone know whether I can make an output table with $TABLE skipping the "Table No. 1" row and going straight to the row with the actual column headers? The purpose is to ease import of the output table to other applications, particularly SAS. I think that should be possible, but maybe some dirty tricks are required? I consider this somewhat related to Sebastiens Q below. Thanks in advance, Andreas Andreas Velsing Groth Modelling Scientist Quantitative Clinical Pharmacology Novo Nordisk A/S Denmark -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sebastien Bihorel Sent: 2. december 2010 15:58 To: nmusers Subject: [NMusers] Table formatting in NONMEM7 Dear NMusers, I was wondering if there is a way to change the default format of output tables in NONMEM7. I know that the FORMAT option allows the user to override the default format at each $TABLE statement, but adding this option in every control stream can become a very burdensome task. I'd like to change the default format globally... maybe by changing an installation setting file? I have tried to look in the manual and on the web but did not find anything relevant (wrong keywords???) I would appreciate any feedback for the group. Thank you Sebastien
In SAS you can do the same thing by using infile statement with FIRSTOBS option which specifies the row number that SAS uses to start reading data records. Also, You have to specify names of the columns as part of the INPUT statement which should match the column names of your output table file. Hope it helps. data test; infile 'Location of datafile' FIRSTOBS=3 ; INPUT ID TIME TAD DOSE DV PRED RES WRES; RUN; Regards Nitin Mehrotra Division of Pharmacometrics Office of Clinical Pharmacology US Food and Drug Administration "The contents of this message are mine personally and do not necessarily reflect any position of the Government or the Food and Drug Administration."
Quoted reply history
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael Fossler Sent: Tuesday, May 17, 2011 9:37 AM To: AVG (Andreas Velsing Groth); 'Sebastien Bihorel'; nmusers Subject: RE: [NMusers] Table formatting in NONMEM7- can I skip the "Table No." header row? In R you don't need to worry about the "Table No. 1" if you use the "skip" argument of the read.csv() command. For example data<-data.frame(read.csv(paste(dir,run.name,".csv",sep=""),header=TRUE,sep=",",stringsAsFactors=F,skip=1)) using skip=1 as above will cause R to jump over the first line, which is "Table No. 1". I suspect that SAS has a similar command. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of AVG (Andreas Velsing Groth) Sent: Tuesday, May 17, 2011 9:09 AM To: 'Sebastien Bihorel'; nmusers Subject: [NMusers] Table formatting in NONMEM7- can I skip the "Table No." header row? Dear fellow Nmus, Does anyone know whether I can make an output table with $TABLE skipping the "Table No. 1" row and going straight to the row with the actual column headers? The purpose is to ease import of the output table to other applications, particularly SAS. I think that should be possible, but maybe some dirty tricks are required? I consider this somewhat related to Sebastiens Q below. Thanks in advance, Andreas Andreas Velsing Groth Modelling Scientist Quantitative Clinical Pharmacology Novo Nordisk A/S Denmark -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sebastien Bihorel Sent: 2. december 2010 15:58 To: nmusers Subject: [NMusers] Table formatting in NONMEM7 Dear NMusers, I was wondering if there is a way to change the default format of output tables in NONMEM7. I know that the FORMAT option allows the user to override the default format at each $TABLE statement, but adding this option in every control stream can become a very burdensome task. I'd like to change the default format globally... maybe by changing an installation setting file? I have tried to look in the manual and on the web but did not find anything relevant (wrong keywords???) I would appreciate any feedback for the group. Thank you Sebastien
Andreas, NONMEM7 seems to have improved regarding $TABLES and the use of the ONEHEADER statement in $TABLE (see the help below), thus, you should able to use the content of the previous 4 mails. However, for those still using NOMMEM6 a work around would be to use the NOHEADER statement in $TABLE and then import the table file in to R- and using the colnames command to insert the column name from $TABLE in " " this should give you a table file without a new column name row in row 901,1801.. etc. when using ONEHEADER (See example below). NONMEM7 help $TABLE NOHEADER Used only with the FILE option. No header lines are included in the table file. ONEHEADER Used only with the FILE option. Only the first line of the table is a header line. NONMEM6 help $TABLE NOHEADER Used only with the FILE option. No header lines are included in the table file. ONEHEADER Used only with the FILE option. Only the first 900-record seg- ment of the table is preceded by header lines. Ex. NONMEM6 $TABLE ID TIME DOSE NOPRINT NOHEADER FILE=sdtab1 R- command DATA<- read.delim("sdtab1", header=F, sep="", as.is=T) # Read the NM6 table into R- colnames(DATA) <- c("ID","TIME","DOSE", "DV,"PRED","RES","WRES") # Insert Column Names write.table(DATA, "sdtab1.csv", col.names=T, row.names=F, quote=F, sep=",",eol='\n') # Create a new .csv table file NB. The last 4 columns are automatically added if NOAPPAND is not used in $TABLE NOAPPEND Requests that items DV, PRED, RES, WRES not appear automatically. Regards, Kim Kristensen Senior Pharmacokinetisist, M.Sc.(pharm), PhD _____________________________________________________________________ AstraZeneca Clinical Pharmacology & DMPK AstraZeneca R&D Lund, SE-221 87, Lund, Sweden, -------------------------------------------------------------------------- Confidentiality Notice: This message is private and may contain confidential and proprietary information. If you have received this message in error, please notify us and remove it from your system and note that you must not copy, distribute or take any action in reliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful.
Quoted reply history
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of AVG (Andreas Velsing Groth) Sent: 17. maj 2011 15:09 To: 'Sebastien Bihorel'; nmusers Subject: [NMusers] Table formatting in NONMEM7- can I skip the "Table No." header row? Dear fellow Nmus, Does anyone know whether I can make an output table with $TABLE skipping the "Table No. 1" row and going straight to the row with the actual column headers? The purpose is to ease import of the output table to other applications, particularly SAS. I think that should be possible, but maybe some dirty tricks are required? I consider this somewhat related to Sebastiens Q below. Thanks in advance, Andreas Andreas Velsing Groth Modelling Scientist Quantitative Clinical Pharmacology Novo Nordisk A/S Denmark -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sebastien Bihorel Sent: 2. december 2010 15:58 To: nmusers Subject: [NMusers] Table formatting in NONMEM7 Dear NMusers, I was wondering if there is a way to change the default format of output tables in NONMEM7. I know that the FORMAT option allows the user to override the default format at each $TABLE statement, but adding this option in every control stream can become a very burdensome task. I'd like to change the default format globally... maybe by changing an installation setting file? I have tried to look in the manual and on the web but did not find anything relevant (wrong keywords???) I would appreciate any feedback for the group. Thank you Sebastien
Hi, The ONEHEADER option was introduced some time ago (NONMEM V?) to get rid of the repeat of the TABLE and header record after every 900 records within the same table (I think this was a 'feature' in the days of actual printing files on paper). It would be nice if this was the default because I cannot image anybody who wants those extra records in the file today. When I run either NONMEM 6 or NONMEM 7 with ONEHEADER and FILE with multiple tables (e.g. $SIM with NSUB>1) in the output then I get a TABLE NO. record followed by the header record with every table. I can't discern any difference between NONMEM 6 and NONMEM 7 in their table behaviour despite the change in the HELP description. If you use R or SAS to skip the first TABLE and header records you still need to figure out how to process the subsequent TABLE and header records if you your table file has multiple tables as it often does when it is created by simulation. It would be nice if NONMEM had the option to just print the TABLE and/or header info just once per table file. Nick
Quoted reply history
On 18/05/2011 10:06 a.m., Kristensen, Kim wrote: > Andreas, > NONMEM7 seems to have improved regarding $TABLES and the use of the > ONEHEADER statement in $TABLE (see the help below), thus, you should > able to use the content of the previous 4 mails. > However, for those still using NOMMEM6 a work around would be to use > the NOHEADER statement in $TABLE and then import the table file in to > R- and using the colnames command to insert the column name from $TABLE > in " " this should give you a table file without a new column name row > in row 901,1801.. etc. when using ONEHEADER (See example below). > > NONMEM7 help $TABLE > > NOHEADER > Used only with the FILE option. No header lines are included in > the table file. > > ONEHEADER > Used only with the FILE option. Only the first line of the table > is a header line. > > NONMEM6 help $TABLE > > NOHEADER > Used only with the FILE option. No header lines are included in > the table file. > > ONEHEADER > Used only with the FILE option. Only the first 900-record seg- > ment of the table is preceded by header lines. > > Ex. NONMEM6 > > $TABLE ID TIME DOSE NOPRINT NOHEADER FILE=sdtab1 > > R- command > > DATA<- read.delim("sdtab1", header=F, > sep="", as.is=T) # Read the NM6 > table into R- > colnames(DATA)<- c("ID","TIME","DOSE", > "DV,"PRED","RES","WRES") # Insert Column Names > write.table(DATA, "sdtab1.csv", col.names=T, row.names=F, > quote=F, sep=",",eol='\n') # Create a new .csv > table file > > NB. The last 4 columns are automatically added if NOAPPAND is not used > in $TABLE > > NOAPPEND > Requests that items DV, PRED, RES, WRES not appear automatically. > > Regards, > > Kim Kristensen > Senior Pharmacokinetisist, > M.Sc.(pharm), PhD > _____________________________________________________________________ > AstraZeneca > Clinical Pharmacology& DMPK > AstraZeneca R&D Lund, > SE-221 87, Lund, Sweden, > > -------------------------------------------------------------------------- > Confidentiality Notice: This message is private and may contain confidential > and proprietary information. If you have received this message in error, please > notify us and remove it from your system and note that you must not copy, > distribute or take any action in reliance on it. Any unauthorized use or > disclosure of the contents of this message is not permitted and may be unlawful. > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > On Behalf Of AVG (Andreas Velsing Groth) > Sent: 17. maj 2011 15:09 > To: 'Sebastien Bihorel'; nmusers > Subject: [NMusers] Table formatting in NONMEM7- can I skip the "Table > No." header row? > > Dear fellow Nmus, > > Does anyone know whether I can make an output table with $TABLE skipping > the "Table No. 1" row and going straight to the row with the actual > column headers? The purpose is to ease import of the output table to > other applications, particularly SAS. > > I think that should be possible, but maybe some dirty tricks are > required? > > I consider this somewhat related to Sebastiens Q below. > > Thanks in advance, > Andreas > > Andreas Velsing Groth > Modelling Scientist > Quantitative Clinical Pharmacology > Novo Nordisk A/S > Denmark > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Sebastien Bihorel > Sent: 2. december 2010 15:58 > To: nmusers > Subject: [NMusers] Table formatting in NONMEM7 > > Dear NMusers, > > I was wondering if there is a way to change the default format of output > tables in NONMEM7. I know that the FORMAT option allows the user to > override the default format at each $TABLE statement, but adding this > option in every control stream can become a very burdensome task. I'd > like to change the default format globally... maybe by changing an > installation setting file? > I have tried to look in the manual and on the web but did not find > anything relevant (wrong keywords???) > > I would appreciate any feedback for the group. > > Thank you > > Sebastien -- Nick Holford, Professor Clinical Pharmacology Dept Pharmacology& Clinical Pharmacology University of Auckland,85 Park Rd,Private Bag 92019,Auckland,New Zealand tel:+64(9)923-6730 fax:+64(9)373-7090 mobile:+64(21)46 23 53 email: [email protected] http://www.fmhs.auckland.ac.nz/sms/pharmacology/holford
On 5/18/2011 11:22 AM, Nick Holford wrote: > If you use R or SAS to skip the first TABLE and header records you still > need to figure out how to process the subsequent TABLE and header > records if you your table file has multiple tables as it often does when > it is created by simulation. I keep forgetting how to do this efficiently... this is one way to read nonmem simulation results (with ONEHEADER NOPRINT FILE=sdtab101): res.101<-read.table("sdtab101",head=T,skip=1,fill=T,as.is=T) res.101<-res.101[!is.na(as.numeric(res.101[,1])),] The important arguments to read.table are "fill", which makes R accept non-rectangular data, and "as.is", which prevents R from converting character data to factors. Later, res.101 should probably be converted to numeric, but that's a different story... (maybe somebody knows a more elegant solution to this?) -- Paul Matthias Diderichsen, PhD Quantitative Solutions B.V. +31 624 330 706
Hi, I second what Nick said. When I run either NONMEM 6 or NONMEM 7 with ONEHEADER and FILE with multiple tables (e.g. $SIM with NSUB>1) in the output then I get a TABLE NO. record followed by the header record with every table. What I did was to generate one simulation table with header, and multiple simulation table (subprobs>1) without header. Then the header of the first data file is transferred to the second data file in R. It would be nice if NONMEM can provide option with just one header per table with subprobs>1. Best regards, Shelley ======================================== Xiao Hu (Shelley), Ph.D. Senior Scientist, Clinical Pharmacology and Pharmacometrics Biogen Idec, Inc. 14 Cambridge Center Cambridge, MA 02142 Nick Holford <[email protected]> Sent by: [email protected] 18-May-2011 05:22 AM Message Size: 16.7 KB To nmusers <[email protected]> cc Subject Re: [NMusers] Table formatting in NONMEM7- can I skip the "Table No." header row? Hi, The ONEHEADER option was introduced some time ago (NONMEM V?) to get rid of the repeat of the TABLE and header record after every 900 records within the same table (I think this was a 'feature' in the days of actual printing files on paper). It would be nice if this was the default because I cannot image anybody who wants those extra records in the file today. When I run either NONMEM 6 or NONMEM 7 with ONEHEADER and FILE with multiple tables (e.g. $SIM with NSUB>1) in the output then I get a TABLE NO. record followed by the header record with every table. I can't discern any difference between NONMEM 6 and NONMEM 7 in their table behaviour despite the change in the HELP description. If you use R or SAS to skip the first TABLE and header records you still need to figure out how to process the subsequent TABLE and header records if you your table file has multiple tables as it often does when it is created by simulation. It would be nice if NONMEM had the option to just print the TABLE and/or header info just once per table file. Nick
Quoted reply history
On 18/05/2011 10:06 a.m., Kristensen, Kim wrote: Andreas, NONMEM7 seems to have improved regarding $TABLES and the use of the ONEHEADER statement in $TABLE (see the help below), thus, you should able to use the content of the previous 4 mails. However, for those still using NOMMEM6 a work around would be to use the NOHEADER statement in $TABLE and then import the table file in to R- and using the colnames command to insert the column name from $TABLE in " " this should give you a table file without a new column name row in row 901,1801.. etc. when using ONEHEADER (See example below). NONMEM7 help $TABLE NOHEADER Used only with the FILE option. No header lines are included in the table file. ONEHEADER Used only with the FILE option. Only the first line of the table is a header line. NONMEM6 help $TABLE NOHEADER Used only with the FILE option. No header lines are included in the table file. ONEHEADER Used only with the FILE option. Only the first 900-record seg- ment of the table is preceded by header lines. Ex. NONMEM6 $TABLE ID TIME DOSE NOPRINT NOHEADER FILE=sdtab1 R- command DATA<- read.delim("sdtab1", header=F, sep="", as.is=T) # Read the NM6 table into R- colnames(DATA) <- c("ID","TIME","DOSE", "DV,"PRED","RES","WRES") # Insert Column Names write.table(DATA, "sdtab1.csv", col.names=T, row.names=F, quote=F, sep=",",eol='\n') # Create a new .csv table file NB. The last 4 columns are automatically added if NOAPPAND is not used in $TABLE NOAPPEND Requests that items DV, PRED, RES, WRES not appear automatically. Regards, Kim Kristensen Senior Pharmacokinetisist, M.Sc.(pharm), PhD _____________________________________________________________________ AstraZeneca Clinical Pharmacology & DMPK AstraZeneca R&D Lund, SE-221 87, Lund, Sweden, -------------------------------------------------------------------------- Confidentiality Notice: This message is private and may contain confidential and proprietary information. If you have received this message in error, please notify us and remove it from your system and note that you must not copy, distribute or take any action in reliance on it. Any unauthorized use or disclosure of the contents of this message is not permitted and may be unlawful. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of AVG (Andreas Velsing Groth) Sent: 17. maj 2011 15:09 To: 'Sebastien Bihorel'; nmusers Subject: [NMusers] Table formatting in NONMEM7- can I skip the "Table No." header row? Dear fellow Nmus, Does anyone know whether I can make an output table with $TABLE skipping the "Table No. 1" row and going straight to the row with the actual column headers? The purpose is to ease import of the output table to other applications, particularly SAS. I think that should be possible, but maybe some dirty tricks are required? I consider this somewhat related to Sebastiens Q below. Thanks in advance, Andreas Andreas Velsing Groth Modelling Scientist Quantitative Clinical Pharmacology Novo Nordisk A/S Denmark -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sebastien Bihorel Sent: 2. december 2010 15:58 To: nmusers Subject: [NMusers] Table formatting in NONMEM7 Dear NMusers, I was wondering if there is a way to change the default format of output tables in NONMEM7. I know that the FORMAT option allows the user to override the default format at each $TABLE statement, but adding this option in every control stream can become a very burdensome task. I'd like to change the default format globally... maybe by changing an installation setting file? I have tried to look in the manual and on the web but did not find anything relevant (wrong keywords???) I would appreciate any feedback for the group. Thank you Sebastien -- Nick Holford, Professor Clinical Pharmacology Dept Pharmacology & Clinical Pharmacology University of Auckland,85 Park Rd,Private Bag 92019,Auckland,New Zealand tel:+64(9)923-6730 fax:+64(9)373-7090 mobile:+64(21)46 23 53 email: [email protected] http://www.fmhs.auckland.ac.nz/sms/pharmacology/holford
Hi, One workaround (with $SIM, SUBP>1) is to use the option NOHEADER. Then NONMEM does not have any TABLE NO: records for the first or any subsequent subproblems. I just read that table file in R and name the columns. You dont even need to skip any lines in this case. Best wishes Navin Goyal GSK
Quoted reply history
On Wed, May 18, 2011 at 7:39 AM, Xiao Hu <[email protected]> wrote: > > Hi, > I second what Nick said. > > When I run either NONMEM 6 or NONMEM 7 with ONEHEADER and FILE with > multiple tables (e.g. $SIM with NSUB>1) in the output then I get a TABLE NO. > record followed by the header record with every table. > > What I did was to generate one simulation table with header, and multiple > simulation table (subprobs>1) without header. Then the header of the first > data file is transferred to the second data file in R. It would be nice if > NONMEM can provide option with just one header per table with subprobs>1. > > Best regards, > Shelley > > ======================================== > Xiao Hu (Shelley), Ph.D. > Senior Scientist, > Clinical Pharmacology and Pharmacometrics > Biogen Idec, Inc. > 14 Cambridge Center > Cambridge, MA 02142 > > > > *Nick Holford <[email protected]>* > Sent by: [email protected] > > 18-May-2011 05:22 AM > > Message Size: *16.7 KB* > To > nmusers <[email protected]> > cc > Subject > Re: [NMusers] Table formatting in NONMEM7- can I skip the "Table No." > header row? > > > > > Hi, > > The ONEHEADER option was introduced some time ago (NONMEM V?) to get rid of > the repeat of the TABLE and header record after every 900 records within the > same table (I think this was a 'feature' in the days of actual printing > files on paper). It would be nice if this was the default because I cannot > image anybody who wants those extra records in the file today. > > When I run either NONMEM 6 or NONMEM 7 with ONEHEADER and FILE with > multiple tables (e.g. $SIM with NSUB>1) in the output then I get a TABLE NO. > record followed by the header record with every table. > > I can't discern any difference between NONMEM 6 and NONMEM 7 in their table > behaviour despite the change in the HELP description. > > If you use R or SAS to skip the first TABLE and header records you still > need to figure out how to process the subsequent TABLE and header records if > you your table file has multiple tables as it often does when it is created > by simulation. > > It would be nice if NONMEM had the option to just print the TABLE and/or > header info just once per table file. > > Nick > > On 18/05/2011 10:06 a.m., Kristensen, Kim wrote: > Andreas, > NONMEM7 seems to have improved regarding $TABLES and the use of the > ONEHEADER statement in $TABLE (see the help below), thus, you should > able to use the content of the previous 4 mails. > However, for those still using NOMMEM6 a work around would be to use > the NOHEADER statement in $TABLE and then import the table file in to > R- and using the colnames command to insert the column name from $TABLE > in " " this should give you a table file without a new column name row > in row 901,1801.. etc. when using ONEHEADER (See example below). > > > NONMEM7 help $TABLE > > NOHEADER > Used only with the FILE option. No header lines are included in > the table file. > > ONEHEADER > Used only with the FILE option. Only the first line of the table > is a header line. > > NONMEM6 help $TABLE > > NOHEADER > Used only with the FILE option. No header lines are included in > the table file. > > ONEHEADER > Used only with the FILE option. Only the first 900-record seg- > ment of the table is preceded by header lines. > > > Ex. NONMEM6 > > $TABLE ID TIME DOSE NOPRINT NOHEADER FILE=sdtab1 > > R- command > > DATA<- read.delim("sdtab1", header=F, > sep="", as.is=T) # Read the NM6 > table into R- > colnames(DATA) <- c("ID","TIME","DOSE", > "DV,"PRED","RES","WRES") # Insert Column Names > write.table(DATA, "sdtab1.csv", col.names=T, row.names=F, > quote=F, sep=",",eol='\n') # Create a new .csv > table file > > > NB. The last 4 columns are automatically added if NOAPPAND is not used > in $TABLE > > NOAPPEND > Requests that items DV, PRED, RES, WRES not appear automatically. > > > Regards, > > > Kim Kristensen > Senior Pharmacokinetisist, > M.Sc.(pharm), PhD > _____________________________________________________________________ > AstraZeneca > Clinical Pharmacology & DMPK > AstraZeneca R&D Lund, > SE-221 87, Lund, Sweden, > > > > > -------------------------------------------------------------------------- > Confidentiality Notice: This message is private and may contain > confidential and proprietary information. If you have received this message > in error, please notify us and remove it from your system and note that you > must not copy, distribute or take any action in reliance on it. Any > unauthorized use or disclosure of the contents of this message is not > permitted and may be unlawful. > > -----Original Message----- > From: *[email protected]* <[email protected]> [* > mailto:[email protected]* <[email protected]>] > On Behalf Of AVG (Andreas Velsing Groth) > Sent: 17. maj 2011 15:09 > To: 'Sebastien Bihorel'; nmusers > Subject: [NMusers] Table formatting in NONMEM7- can I skip the "Table > No." header row? > > Dear fellow Nmus, > > Does anyone know whether I can make an output table with $TABLE skipping > the "Table No. 1" row and going straight to the row with the actual > column headers? The purpose is to ease import of the output table to > other applications, particularly SAS. > > I think that should be possible, but maybe some dirty tricks are > required? > > I consider this somewhat related to Sebastiens Q below. > > Thanks in advance, > Andreas > > Andreas Velsing Groth > Modelling Scientist > Quantitative Clinical Pharmacology > Novo Nordisk A/S > Denmark > > -----Original Message----- > From: *[email protected]* <[email protected]> [* > mailto:[email protected]* <[email protected]>] > On Behalf Of Sebastien Bihorel > Sent: 2. december 2010 15:58 > To: nmusers > Subject: [NMusers] Table formatting in NONMEM7 > > Dear NMusers, > > I was wondering if there is a way to change the default format of output > tables in NONMEM7. I know that the FORMAT option allows the user to > override the default format at each $TABLE statement, but adding this > option in every control stream can become a very burdensome task. I'd > like to change the default format globally... maybe by changing an > installation setting file? > I have tried to look in the manual and on the web but did not find > anything relevant (wrong keywords???) > > I would appreciate any feedback for the group. > > Thank you > > Sebastien > > > > > -- > Nick Holford, Professor Clinical Pharmacology > Dept Pharmacology & Clinical Pharmacology > University of Auckland,85 Park Rd,Private Bag 92019,Auckland,New Zealand > tel:+64(9)923-6730 fax:+64(9)373-7090 mobile:+64(21)46 23 53 > email: *[email protected]* <[email protected]> > http://www.fmhs.auckland.ac.nz/sms/pharmacology/holford > -- Navin Goyal
<Resending with attachment removed, so the webinar is no longer this afternoon but is will be able to be viewed in the archive in a few days once it's uploaded.> Just thought I'd mention that if NONMEM runs are initiated from a Phoenix session then the tables are automatically extracted from NONMEM runs and you can then post-process them in either Phoenix or tools of your choice including Xpose and PSN. (importing NONMEM log files executed externally will also perform the same extracts). There is a free webinar this afternoon that will demonstrate some of these Connect functions; 18 May: Time: 11AM New York (8AM San Francisco, 4PM London, 5PM Paris https://pharsight.webex.com/pharsight/onstage/g.php?t=a&d=927440301 (if you can't make the time a recording and copy of the slides will be posted within a few days (e .g. http://www.pharsight.com/events/eventsonline_archive.php#replay_047 ) With the release of Phoenix 6.2; with this release I think we've incorporated a lot of feedback from the previous releases in enhancing our interactions with third-party applications including R, PSN, NONMEM etc. via Connect as well as our own analytical engines. Local and remote grid runs are supported. For those of you attending PAGE, there is also a Phoenix Connect & NLME course prior to PAGE on the 6-7th June. Full details can be found at ; http://www.pharsight.com/training/course_display_new.php?details_id=81 and you can sign up through this page. A full Phoenix license will be provided for the course until the end of June. Please let Lindsay ([email protected]) or myself know if you have any questions, it would be great to meet you all for a few minutes during the meeting in Athens so please try to stop by our booth if you get the chance. Best regards, Simon. ___________________________________ Senior Scientific Consultant Pharsight- A Certara(tm) Company 31 March Phoenix 6.2, including the IVIVC toolkit is released, get tips and discuss Pharsight products with other users; http://www.pharsight.com/extranet ___________________________________ http://www.pharsight.com/training/training_upcoming.php Population analysis with Phoenix v6.1 NLME : 6-7 Jun 2011, Athens, Greece (Before PAGE) Introduction to Phoenix v6.x: 12-14 September 2011 Amsterdam, NL. IVIVC toolkit Phoenix v6.x: 14-15 September 2011 Amsterdam, NL.
Quoted reply history
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of AVG (Andreas Velsing Groth) Sent: Tuesday, May 17, 2011 2:09 PM To: 'Sebastien Bihorel'; nmusers Subject: [NMusers] Table formatting in NONMEM7- can I skip the "Table No." header row? Dear fellow Nmus, Does anyone know whether I can make an output table with $TABLE skipping the "Table No. 1" row and going straight to the row with the actual column headers? The purpose is to ease import of the output table to other applications, particularly SAS. I think that should be possible, but maybe some dirty tricks are required? I consider this somewhat related to Sebastiens Q below. _________________________________________________________________