[R] Help with Dates

2007-07-19 Thread Alex Park
R I am taking an excel dataset and reading it into R using read.table. (actually I am dumping the data into a .txt file first and then reading data in to R). Here is snippet: > head(data); Date Price Open.Int. Comm.Long Comm.Short net.comm 1 15-Jan-86 673.25175645 65910 28

[R] Repeated measures in Classification and Regresssion Trees

2007-02-23 Thread Andrew Park
issue of the independence of several data points measured on the same subject, or from the same plot over time. Any perspectives will be welcome, Andy Park (Assistant Professor) Centre for Forest Interdisciplinary Research (CFIR), Department of Biology, University of Winnipeg, 515 Portage Avenue

[R] Plot with Julian dates.

2006-08-09 Thread C. Park
be the same as plot( jdat, miles, log=""). The figures are the same, but the one with type="p" option yields a warning message. Do you think it is a R bug? Thanks for your valuable time. C. Park Note: I used the following R version platfo

[R] Boxplot Help for Neophyte

2006-02-20 Thread Alex Park
h=TRUE etc. I managed to figure that ok. However, I could not figure out how to get the labels myData1, myData2, and myData3 on the boxplot x-axis to denote which box was which (though I knew by looking). Can anybody help with this? I trawled through my downloaded R pdfs but cou

[R] Need help on ARIMA (time series analysis)

2005-10-04 Thread park
Hi, I am so novice in using R. I have some problems in my R script below which fits time series data and predict it one-step ahead. Here is a brief explanation on what I try to achieve Th16k is time series data (500 data points). The size of window for fitting and predicting is 50 (data point

[R] Binary Logit Regression with R

2005-09-29 Thread Johann Park
Hi to all, I am a PH.D Student doing statistical analysis. I am totally new to R. I previously use Stata and am changing into R. I ususally do with logit regression with binary dependent variable (war occurence:1 or 0). I just want to know command to do that. More sepcifically, Let say, my

[R] Abrupt shut down of R session

2005-06-10 Thread Park, Kyong H Mr. RDECOM
Dear R users, I'm using R 2.1.0 with Windows 2000. In the middle of a R session, an error message pops up saying Rgui.exe generated errors and shuts down the R session. How can I correct this problem? Appreciate your help. Kyong [[alternative HTML version deleted]]

[R] Replies of the question about robustness of segmented regression

2005-06-10 Thread Park, Kyong H Mr. RDECOM
I appreciate to Roger Koenker, Achim Zeileis and Vito Muggeo for their informative answers. Listed below is unedited replies I got followed by the question I posted. Kyong 1. Roger Koenker: You might try rqss() in the quantreg package. It gives piecewise linear fits for a nonparametric form of

[R] Robustness of Segmented Regression Contributed by Muggeo

2005-06-08 Thread Park, Kyong H Mr. RDECOM
Hello, R users, I applied segmented regression method contributed by Muggeo and got different slope estimates depending on the initial break points. The results are listed below and I'd like to know what is a reasonable approach handling this kinds of problem. I think applying various initial break

[R] segmented regression

2005-05-20 Thread Park, Kyong H Mr. RDECOM
Hi, do you have any luck in fitting the regression? If so can you share with me? I appreciate your help. Kyong [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE d

[R] A bug in ternaryplot (vcd)

2004-08-26 Thread Jong Hee Park
, pch=".") I can't put these two figures in the same page. Does anyone have a good idea about this? Jong Hee Park Department of Political Science Washington University in St.Louis Campus Box 1063 One Brookings Drive St. Louis, MO

[R] Replies for Importing Excel File

2004-07-08 Thread Park, Kyong H Mr. RDECOM
I really appreciate all the helpful answers from Richard Müller, Marc Schwartz, Adaikalavan Ramasamy, Vito Ricci. I tried Marc's simple suggestion which was to copy only the data area and paste to a new excel sheet, and that solved my problem. I'll try other suggestions while I'm learning more abou

[R] Sorry forgot to mention about OS system in an previous email

2004-07-07 Thread Park, Kyong H Mr. RDECOM
Sorry for not mentioning about OS for importing an excel file in an previous email. I'm using R 1.9.1 with Windows 2000. Kyong [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinf

[R] Importing an Excel file

2004-07-07 Thread Park, Kyong H Mr. RDECOM
Hello, R users, I am a very beginner of R and tried read.csv to import an excel file after saving an excel file as csv. But it added alternating rows of fictitious NA values after row number 16. When I applied read.delim, there were trailing several commas at the end of each row after row number 1

[R] Help: Strange MDS behavior

2003-11-13 Thread Youngser Park
Hi! I have a dissimilarity matrix X and try to compare it with X' = dist(cmdscsale(X,k)). If I increase k, I should expect that the error (or fit) should monotonically decrease, right. Here is a sample code; library(mva) set.seed(12345) x <- as.matrix(dist(matrix(rnorm(100),ncol=10,byrow=