Re: [R] Parametrizing heading in tables package

2013-11-20 Thread Duncan Murdoch
On 20/11/2013 9:17 AM, Jean-Louis Abitbol wrote: Dear R-Helpers, I am using the (great) tables package in a function this way: parplot <- function (x){ test <- pkqps[pkqps$estimate == x,] #some plotting # tab <- tabular((Heading("Analyte")*(analyte) * Heading(Site)* (fsite))

[R] Parametrizing heading in tables package

2013-11-20 Thread Jean-Louis Abitbol
Dear R-Helpers, I am using the (great) tables package in a function this way: parplot <- function (x){ test <- pkqps[pkqps$estimate == x,] #some plotting # tab <- tabular((Heading("Analyte")*(analyte) * Heading(Site)* (fsite)) ~ (n=1)+ Justify(c)*Heading(substitute(test$estima