Displaying 8 results from an estimated 8 matches for "xom".
Did you mean:
com
2011 Mar 12
3
pass character vector in instrument field of get.hist.quote function
I am new to R so I apologize if my question is trivial. I have not been able
to figure out whether what I want to do is even possible.
I have a data frame of stock ticker symbols which I store into R space from
a txt file as follows:
tickers <- read.csv("stocks.txt", header=FALSE, sep=",")
tickers <- tickers[1] / the tickers are stored in the first column
>
2011 May 23
2
Passing function arguments to dataset names
...custom function in the name of a dataset in R?
For example, I have the function:
MyF <- function(Tic, price){
xxxxx
xxxxx
xxxxx
Ratio.Tic<- SharpeRatio.annualized(roc)
}
I would like to have a dataset that's labelled Ratio.MSFT, Ratio.XOM,
Ratio.IBM...etc. The objective is to append multiple Ratio.Tic datasets that
contains all the ratios in one single data.
Thanks in for your time!
Mateo
--
View this message in context: http://r.789695.n4.nabble.com/Passing-function-arguments-to-dataset-names-tp3545567p3545567.html
Sent from the...
2011 May 18
1
Grouped bar plot
Hi,
I am trying to produce a grouped bar plot from a data.frame and I'm
having difficulties figuring out how to do so. My data is 500 rows by
4 columns and basically looks like so:
> head(x)
V1 V2 V3 V4
1 XOM 0.2317915 0.1610068 1.6941637
2 AAPL 0.6735488 0.7433611 0.1594102
3 GE 1.2554160 0.9237384 1.6767711
4 IBM 1.6296938 0.3730387 0.5858115
5 CVX 0.9194169 0.4785705 0.1803601
6 PG 0.7768241 1.7622060 0.7640163
. . .
I would like to produce something similar to what is found at:
http://www.st...
2007 Nov 13
1
compile error in hp-ux 11.23PA system with OpenSSH4.7p1
Hi all,
I am compiling the OpenSSH4.7p1 on hp-ux PA11.23 system, however, it gives the following bug:
cc +DD64 -I. -I. -I../include/openssl -I../include/tcpwrap -I../include/zlib -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -I/usr/local/include -I../include/gssapi -DSSHDIR=\"/opt/ssh/etc\" -D_PATH_SSH_PROGRAM=\"/opt/ssh/bin/ssh\"
2010 Jan 27
2
Merge: sort=F not preserving order?
...- merge(data1,data2, by.x="index", by.y="index2", sort=FALSE)
I want to preserve the order of data1 by setting sort=FALSE, however
the output I get is:
?? index ? tic
1 ?008823 PHM
2 ?008823 PHM
3 ?012689 KBH
4 ?012689 KBH
5 ?012689 KBH
6 ?012689 KBH
7 ?012689 KBH
8 ?004503 XOM
9 ?002991 CVX
10 002845 CTX
11 002845 CTX
12 012395 TOL
13 009302 RYL
14 009302 RYL
15 006669 LEN
16 025340 DHI
which has not preserved the order of data1, and also does not have a
clear relationship to the order of data2 that I can see. I also tried
converting both index fields from chars to ints...
2012 May 16
1
Getting reliable financial ratios
Hello all,
I am having some trouble finding a good csv file or even any kind of table
with the financial ratios (i.e. P/E ratio, ROI, ROA etc.) from the Internet.
I was able to find a good source with poor information. That wouold be
Finviz.com.
Another option would be creating a XML function loop to go through
YahooFinance website, get the information and store it in a variable. This,
however,
2011 Jul 13
3
How to compile OpenSSH on HP-UX10
I did this as a project back in the early 2002, and I had a nice
little how-to to walk me through it. Many work places and moves, and
I've lost it. I have a friend who asked me about this recently, and I
can't seem to find anything on the web, or the how-to I used (not
surprised).
If I remember correctly, you needed an up-to-date zlib, egd (or prng),
OpenSSL, tcpwrappers, and OpenSSH.
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking