Displaying 20 results from an estimated 100 matches similar to: "Two Column-group names using Latex(Hmisc)"
2009 Mar 22
5
If statement generates two outputs
Hi,
How do I tell an if statement to generate two seperate outputs.
E.g If X>5 I want to create df1 and df2:
if (X>5) {df1<-c(4,5,6,7,8) AND df2<-c(9,10,11,12,13)}
Thanks,
James
--
View this message in context: http://www.nabble.com/If-statement-generates-two-outputs-tp22650844p22650844.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jan 09
0
Graph Script/X-axis label Problem
Hi, I created the script below to plot multiple graphs. It seems to work
pretty well (see BYX7) except when the max value for catch or TACC is very
small. In this case the x-axis labels are removed from the x-axis (see
BYX10). I can't figure out why given that y co-ordinate for the text
function is par("usr")[1] - 0. Shouldn't this mean that it is flush to the
x-axis? Can
2006 Mar 13
1
Formatting an anova table using latex
Hi r-helpers,
When I issue the command
latex(anova(raw1.lmer0, raw1.lmer, raw1.lmerI), file = 'raw1.tex',
rownamesTexCmd = c('baR', 'addit', 'multip'), longtable = F, dcolumn
= T, booktabs = T, t able.env = F, colheads = NULL, colnamesTexCmd = c
('', 'df', 'aic', 'bic', 'logl', 'chisq', 'chisqdf',
2006 Nov 29
1
simple R question
Hi,
I am new to this, can anyone help.
I am working with matrices, with stocknames as colNames and dates as
rowNames.
The data coontains percentile ranking for the stocks.
Date IBM MSFT 20061122 12 4 20061115 12 4
20061108
12 4 20061101 12 4 20061025 12 4 20061018 12 4 20061011
11 3 20061004 12 3 20060927 10 3
I would like to calculate the
2006 Oct 28
1
(kein Betreff)
Frank Harrell rote in a message dating from Oct 8th:
> n.group is an argument to latex.default in the Hmisc package
I must admit that I can't find it in the function head,
which reads on my installation:
function (object, title = first.word(deparse(substitute(object))),
file = paste(title, ".tex", sep = ""), append = FALSE, label = title,
rowlabel = title,
2011 Aug 31
1
Hmisc Latex Question: column headings and Major Column Headings not properly alligned
Dear R users:
When I create a table without Major Column headings, my *regular* column headings appear correct in the typeset latex file. The major row heading and row groups are as they should.
w <- latex(mytab,title="",file="tab/my.tex",ctable=TRUE,caption="Descriptive statistics by
2009 Feb 11
1
Table Formatting
Dear R-Users
I have created the following table in R:
Year TACC.SNA1 Catch.SNA1 TACC.SNA2 Catch.SNA2 TACC.SNA3
Catch.SNA3
111 1985-86 9396 18595 1860 530
1486 16727
112 1986-87 3155 12195 9506 7067
4991 2300
113 1987-88 6913 2074 3740
2009 Jan 07
1
Bar Plot with Connected Points on 1 Y-Axis
Hi Everyone,
Have created a bar plot of the data below using the following code:
barplot(TACC,space=0,names.arg=Year). I now want to add a series of
connected points to represent the catch. I tried to do this using
line(Catch) or points(Catch), however both of these commands result in each
data point being aligned with the right edge of each bar. I need them to be
solid points in the centre of
2009 Jan 07
2
Plotting a graph for every Level of a Factor
Hello,
I'm sorry if this seems similar to my last post but I thought it was
significantly different to warrent a new thread. Using the dataset below,
is there a way to generate a bar/line plot for the TACC/Catch of every lvl
of stock? i.e. OR1,OR3,OR5. The picture at the bottom of this post is an
example of the bar/line plot for OR1 which was generated when OR1 was the
only stock in the
2009 Feb 24
4
Help with Latex (Hmisc)
Dear R Users,
I have three questions.
1) Is there a way to get the output tex file to include
\documentclass{report}
\begin{document}
and
\end{document}
so I can generate a PDF straight away. (I am trying to generate hundreds of
these and don't want to have to manually type this in every time I load a
tex file).
2) When I have have a table of greater than 9 columns, the columns to
2007 Feb 01
1
xtable and column headings
When I generate a LaTeX table using xtable I have been setting column names
to strings with LaTeX code in order to get features like subscripts in the
column headings. I recently had to reinstall xtable and discovered that all
my LaTeX column headings were printing out in LaTeX code rather than with
LaTeX formatting. For example, with the older xtable I could give my column
a name something like
2013 Feb 15
1
file copy to password protected network drive
I am trying to copy files to a password protected drive which is "Ranch" at
TACC from another network drive. I am logged in to the source drive and can
run R there. The following code does not even find the destination folder.
file.copy("sourcedrive/file.tar", "
username@ranch.tacc.utexas.edu/uniqueID/destinationfolder/file.tar",
overwrite = FALSE)
Thanks in
2011 Sep 12
0
[LLVMdev] llvm-gfortran problems
I see. And what's the purpose for outputting bitcode into *.o and *.a
files? Do you want to perform an LLVM pass on linking step?
2011/9/13 Ashay Rane <ashay.rane at tacc.utexas.edu>:
> Hmm.. I didn't explain the problem completely last time. I am creating a
> drop-in replacement for gcc and gfortran that runs an additional pass on the
> bitcode before generating the native
2008 Jul 31
0
Sperman Correlation with rcorr (Hmisc)
Hello R-User!
I have a data.frame with 82 variables (columns) and 290 rows.
The variables are set to classes factor, ordered factor and numeric.
I used the following code
Matrix.My.data<-as.matrix(Df.My.Data[2:82])
Matrix.My.data.rcorr<-rcorr(Matrix.My.data, type="spearman")
and got the following message:
Fehler in storage.mode(x) <- if (.R.) "double" else
2011 Sep 12
1
[LLVMdev] llvm-gfortran problems
No, I am running the LLVM pass at the compilation step. So by the time I
reach the link step, the transformed bitcode has been generated.
Ashay
On Mon, Sep 12, 2011 at 4:12 PM, Dmitry N. Mikushin <maemarcus at gmail.com>wrote:
> I see. And what's the purpose for outputting bitcode into *.o and *.a
> files? Do you want to perform an LLVM pass on linking step?
>
> 2011/9/13
2011 Sep 12
0
[LLVMdev] llvm-gfortran problems
Sorry, at what step do you need archive? llc emits binary, it does not
perform any linking, thus it does not need anything except the input
bytecode file. Then during linking you can link whatever archives of
binaries you want.
2011/9/13 Ashay Rane <ashay.rane at tacc.utexas.edu>:
> Thats correct. But using llc becomes a problem when I have archives (.a
> files). I could, in theory,
2005 Nov 14
0
optimized BLAS
As a few of you will know, Dr Goto's BLAS is now available again
(http://www.tacc.utexas.edu/resources/software/software.php), but only for
academic use and only for Linux (at least in binary form, and source-code
licenses are not yet available).
http://www.netlib.org/lapack pointed me to AMD's ACML
(http://www.amd.com/acml). This has a less restrictive licence, and seems
at least
2011 Mar 17
0
[LLVMdev] Operating on contents of virtual registers
On Wed, Mar 16, 2011 at 10:44 PM, Ashay Rane <ashay.rane at tacc.utexas.edu> wrote:
> Thanks Eli, that worked!
> For the record, I had to make one change though. I had to bitcast to i32*
> (instead of i8*) otherwise I was seeing errors like:
> Instruction referencing instruction not embedded in a basic block!
> %retval = alloca i32
> <badref> = bitcast i32*
2011 Sep 12
2
[LLVMdev] llvm-gfortran problems
Hmm.. I didn't explain the problem completely last time. I am creating a
drop-in replacement for gcc and gfortran that runs an additional pass on the
bitcode before generating the native binary. Here's whats happening: If the
source code compilation process builds a static library (.a archive file), I
need a means to link the `.a' file statically into the application. So if
the
2011 Aug 31
0
[LLVMdev] llvm-gfortran problems
Hi Ashay,
Do you need specifically llvm-gfortran that is based on gcc 4.2? Since
that, DragonEgg has been introduced - a powerful plugin to gcc that
makes it possible to utilize regular gcc compilers as frontends to
llvm: http://dragonegg.llvm.org/
It generates Fortran90 programs for me very well.
- D.
2011/9/1 Ashay Rane <ashay.rane at tacc.utexas.edu>:
> Hello,
> I have been