Displaying 3 results from an estimated 3 matches for "stocknames".
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.
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 c...
2009 Mar 03
0
Two Column-group names using Latex(Hmisc)
Hi,
Using the following code I can generate the attachment "Original.pdf":
latex(test, file="C:/Documents and Settings/darej/My
Documents/James/READY.tex",
title = "",
rowname = NULL,
cgroup = c("Fishstock", stocknames),
n.cgroup = c(1, rep(2,nostocks)),
colheads = c("Year", rep(c("Catch", "TACC"),
nostocks),landscape=TRUE))
Is there a way to add another row of column group names (see QMA's row in
"desired.pdf"). Thanks for your help.
Regards,
James
ht...