Displaying 2 results from an estimated 2 matches for "tabletwo".
Did you mean:
tablet
2000 Mar 31
1
Cutting vectors
I have one factor with say five levels (fact) of different size and a corresponding variable (var). I randomly generate five new levels (nfact ex. 2,2,1,5,4). What I would like to do is to extract the corresponding variable values into a new variable (nvar). I did try the following, why doesn't it work? nvar<-var[fact==nfact[ ]]
Patrik Waldmann
2010 Dec 14
1
Forcing standard notation in Sweave tables
...e displayed -- for some tables, they will be in standard notation, e.g.
11±26
while in others, it uses exponential notation, e.g.
1.1e+01±2.6e+01
I am using code such as the following; note I have specified "digits=2". There does not appear to be an argument for notation.
latex(tabletwo,
file='',
where='!h',
digits=2,
prmsd=TRUE,
caption='Time to events',
exclude1=FALSE,
long=TRUE)
This has been driving me insane for a couple hours now, so I'm hoping there is an easy answer.
Thanks in advance,
cf
[[alternative HTML version deleted]]