Displaying 8 results from an estimated 8 matches for "gwm".
Did you mean:
gem
2007 May 09
3
Removing a list of Objects
Hi,
I have a simple beginner's question on removing a list of
objects. Say I have objects C243.Daily1, C243.Daily2...C243.Daily5 in my
workspace. I'd like to remove these without using rm five times.
So I write.
> a <- list(paste("C243.Daily",sep="",1:5))
> rm(a)
Obviously this wouldn't work, as it would only remove the object a.
But is there any way
2007 Jun 14
3
Preserving dates in Excel.
Hi,
Quick question: Say I have a date variable in a data frame or
matrix, and I'd like to preserve the date format when using write.table.
However, when I export the data, I get the generic number underlying the
date, not the date per se, and a number such as 11323, 11324, etc are
not meaningful in Excel. Is there any way I can preserve the format of a
date on writing into a text-file?
TIA
2007 Jun 13
5
Confusion with sapply
Hi,
I have some confusion in applying a function over a column.
Here's my function. I just need to shift non-March month-ends to March
month-ends. Initially I tried seq.dates, but one cannot give a negative
increment (decrement) here.
return(as.Date(seq.dates(format(xdate,"%m/%d/%Y"),by="months",len=4)[4])
)
Hence this simple function:
> mydate <-
2007 May 14
6
Conditional Sums for Index creation
Hi,
Apologies for the long mail. I have a data.frame with columns of
price/mcap data for a portfolio of stocks, and the date. To get the
total value of the portfolio on a daily basis, I calculate rowSums of
the data.frame.
> set.seed(1)
> ab <- matrix(round(runif(100)*100),nrow=20,ncol=5)
> ab[1:5,4:5] <- NA
> ab[6:10,5] <- NA
> ac <- as.data.frame(ifelse(ab <=
2007 May 10
3
Quick question on merging two time-series of different frequencies
Hi,
A quick beginner's question. I have two time series, A with
daily data, and another B with data at varying frequencies, but mostly
annual. Both the series are sorted ascending.
I need to merge these two series together in the following way: For any
entry of A, the lookup should match with B until we find an entry of B
that's larger than A's.
For all A[i], i = 1,...,N and B[j],
2007 Jun 05
2
Problems with Merge
Hi,
I have a history dataset, a matrix with about 1590 obs, and 242 cols,
and I need to update this matrix with an 'update' matrix that has about
30 rows, and roughly similar number of columns as the history ds (but
not necessarily equal). The update dataset is read from an Excel ODBC
connection. When I try and merge these datasets, I get counter-intuitive
results.
library(RODBC)
chn
2008 May 21
0
Errors in using gdb (PR#11496)
...3ma6QXeajTwOVPRmLkUAur0hd3H/AUtO/DNrVTPvV
DPlu7LpbZ7Z8tzvUQug1bheT88lM+8f+49fjr99PvwHdc5aoR9PwRP2RJ0kw36um5rAUiz4u
h4BoFtqC9sdP2Pz2cglnfX44I+T9/uhYIpaOg9GjM80eToF+HDNKJ0N+++31CudHLFnQvhdr
x4jYB44CGKZCyMsxMH76HDHVxDIjxiv+r/l8e72qGn4SUAoznJSAwTNLJrdDWya+CPCgtOnu
toDEFGjn7GoXALf95TnUlBIFl8nqQCjORYbXUpJgWMpZSp5rBwxWVgrQDqkyeifx0jh4/GJ9
u1gaw3KWIVZt0HZ8T13K/7j6ZMBMO6Unrrgi8Ik0x+n3z3UiWIhSAVrEkSrcZTgkjLsMZIKv
yEuXebpEhWETh9uLoy5jcYU7NwjQ/uv1XJ2dMn17uQBst2vDCRAD7ATowVWHTeky5jYzKpPN
htURuqBTFMoxAnkW8+dvt9cJr5h52msdSdDO7uIY2fJy/rRHoAtAO6Ukl0X/EJURlXng8JiX
4z8JCC3zbLS55CMhu/J0zaaYHT4ZPRQ+GREs0ns/DxrYdtq0vc...
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