Displaying 20 results from an estimated 400 matches similar to: "Column Selection"
2009 Jul 10
3
strange strsplit gsub problem 0 is this a bug or a string length limitation?
I was working with the rmetrics portfolioBacktesting function and dug into
the code to try to find why my formula with 113 items, i.e. A1 thru A113,
was being truncated and I only get 85 items, not 113.
Is it due to a string length limitation in R or is it a bug in the strsplit
or gsub functions, or in my string?
I'd very much appreciate any suggestions
============Input script:
2006 Jun 16
2
Yahoo data download problem
Hi all R-Experts,
I'm facing one problem in yahoo data downloading. I'm suing Windows XP, R 2.2.0, and i'm using yahoo.get.hist.quote function to download data. I need 500 companies of S&P index daily 'closing price' data for last ten years. My questions are:
1) I have all the ticker names of S&P 500 companies in a .csv format. I'm reading those names in R and
2005 Apr 17
1
nls segmented model with unknown joint points
Hello,
I am interested in fitting a segmented model with unknown joint points
in nls and perhaps eventually in nlme. I can fit this model in sas (see
below, joint points to be estimated are a41 and a41), but am unsure how
to specify this in the nlm function. I would really appreciate any
suggestions or example code. Thanks a lot. -andy
proc nlin data=Stems.Trees;
params b41=-3 b42=1.5
2006 May 11
2
Break Matrix
Hi All,
I have a (331*12) matrix. I wan t to braek it into 28 parts each window having 12 rows, so that each matrix become (12*12) matrix. How can i do this.
Thanks,
Sumanta.
---------------------------------
Send instant messages to your online friends - NOW
[[alternative HTML version deleted]]
2006 May 12
2
Basic function help
Hi All,
Can you please tell me if i write a function, and want to return certain object, can "R" work on it? I know this works in S-Plus.
function(x)
{ .......
a<-......
reaturn(a)
}
Does this work in "R"?
Thanks,
Sumanta.
---------------------------------
What makes Sachin India's highest paid sports celebrity?, Share your knowledge on Yahoo! India Answers
2006 Jul 11
1
Plot Date
Hi R-Users,
First of all i apologize if this is too simple for you. I want to plot an index of which i have daily data for 10 years. I want to plot specific dates in X axis, like 20/05/91 20/12/92 20/07/94 etc..... and the index value in Y axis. Please suggest me.
Thanks,
Sumanta.
---------------------------------
Find out what India is talking about on Yahoo! Answers India.
2006 May 15
1
Object call
Hi All,
I have a function like this:
windowlength<-function(x)
{
mat <- matrix(rnorm(331*12),331,12)
z <- rep(seq(0,331,by=11)+1, each=2)
zz <- z[-c(1,length(z))]
ind <- as.data.frame(matrix(zz, nr=2))
lapply(ind, function(x) mat[x[1]:x[2],])
cat("For",x/4,"month i.e",x,"week, number of windows is = ",length(ind),"\n")
2004 Sep 08
4
WellGate 3504A with Asterisk SIP authentication and config
hey * folk,
am trying to configure a WellGate 3504A FXS SIP ATA
(http://www.welltech.com.tw/products_ea01.htm) with asterisk. i've set
up two SIP clients in sip.conf as follows:
[general]
port = 5060 ; Port to bind to
bindaddr = 0.0.0.0 ; Address to bind SIP channel to
context = default ; Default context for incoming calls
[1235]
host = dynamic
secret = somepass
context = default
type
2010 Nov 16
1
Office 2007: can't run vb code from Access (and Excel)
Hi,
My config:
Debian squeeze
Linux 2.6.32-5-686
Dell Latitude E4300
Wine version 1-1-42
I have setup MS-Office 2007 without problem
Winecfg gives for the libraries
*gdiplus (native)
*msvcr80 (native, int?gr?e)
*msxml3, 4, 6 (native, int?gr?e)
*odbc32 (native, int?gr?e)
odbccp32 (native, int?gr?e)
riched20 (native, int?gr?e)
odbc32 (native, int?gr?e)
riched20 (native, int?gr?e)
usp10 (native,
2006 Apr 28
3
Break into Parts
Hi R-Experts,
I have a vector of length 72. I want to break it into 12 parts and want to take standerd deviation of each group. Please help me in this regard.
Thanks,
Sumanta.
---------------------------------
[[alternative HTML version deleted]]
2006 Mar 07
3
Boxplot Help Needed
Hi R-Experts,
How can I show all the relevant measures like mean, median, min. value,
max. value, outlier in a single boxplot diagram?
Suppose I have a data set c(2,4,5,7,12,14,15,13,8,5,23,98,11)
Sumanta Basak.
[[alternative HTML version deleted]]
2006 Feb 08
3
Bloomberg Data Import to R
Hi R-Experts,
Can anyone tell me how Bloomberg data can be directly downloaded to R?
Is there any package?
Sumanta Basak.
-------------------------------------------------------------------------------------------------------------------
This e-mail may contain confidential and/or privileged infor...{{dropped}}
2006 Nov 17
2
Large data Problem
Hi R-Experts,
I'm having a problem with reading a large data file which is
in .csv format and size is 120 MB (app.). I was trying to use RODBC
package but I found RODBCconnectExcel function only. And can I convert
this file to .dbf format? How can I read this file? And also let me
know if this was a file in .sas7bdat format, what should I do? Thanks in
advance.
2006 May 08
3
GARCH SIMULATION
Hi All,
I,m trying to do a GARCH simulation in R 2.3.0 release
in Windows XP. I've seen garchsim function but that is
for garch (1,1) and ?garch gives an example for ARCH
simulation. Can anyone help me how can i extend the
help shown in ?garch to GARCH simulation? Please help
me in this regard.
Thanks,
Sumanta Basak.
2005 Oct 18
2
FIGARCH
Hi All,
Currently I'm working in FIGARCH process [Fractionally Integrated
Generalized Autoregressive Conditional Heteroscedasticity]. I've already
got the codes to do the process in S-Plus. Can anyone help me to do it
in R?
Thanks,
SUMANTA BASAK.
-------------------------------------------------------------------------------------------------------------------
This e-mail may
2006 Apr 06
2
Sort Problem
Hi All,
I have certain combinations for which I have some value, e.g.
0 1 20
0 2 15
1 1 40
1 2 52
Now I need to sort this list for which I'll get the combination against the
lowest value. In this case, 15, and the combination will be 0 2.
--
SUMANTA BASAK.
[[alternative HTML version deleted]]
2006 May 12
2
Help In Function
Hi All,
I need a basic help from you. I've built a function like this,
windowlength<-function(x)
{
z <- rep(seq(0,331,by=x-1)+1, each=2)
zz <- z[-c(1,length(z))]
ind <- as.data.frame(matrix(zz, nr=2))
j<-lapply(ind, function(x) mat[x[1]:x[2],])
cat("For",x/4,"month
2006 Jan 03
2
KALMAN FILTER HELP
Hi All,
Currently I'm using DSE package for Kalman Filtering. I have a dataset
of one dependent variable and seven other independent variables. I'm
confused at one point. How to declare the input-output series using
TSdata command. Because the given example at page 37 showing some error.
rain <- matrix(rnorm(86*17), 86,17)
radar <- matrix(rnorm(86*5), 86,5)
mydata <-
2006 May 29
1
TsayData
Hi,
I'm trying to work with TsayData in fSeries package.
How can i fetch any time series data of this package.
Please advice.
Thanks,
Sumanta Basak.
Send instant messages to your online friends http://in.messenger.yahoo.com
2006 Jan 02
1
Use Of makeARIMA
Hi R-Experts,
Currently I'm using an univariate time series in which I'm going to
apply KalmanLike(),KalmanForecast (),KalmanSmooth(), KalmanRun(). For I
use it before makeARIMA () but I don't understand and i don't know to
include the seasonal coefficients. Can anyone help me citing a suitable
example? Thanks in advance.
------------------------------------------