Re: [R] How to remove a package.

2010-11-28 Thread Stefan Grosse
Am 27.11.2010 09:48, schrieb Stephen Liu: I found the datasets of AER cool. detach(package:AER, unload = TRUE) detach(package:AER) works for me. data() still found car there. you mean cars ? This is not part of AER but in a base R installation. install.packages(EcDat) Where can I

Re: [R] Where to download R .xls sample files?

2010-11-28 Thread Stefan Grosse
On Sun, 28 Nov 2010 03:46:45 -0800 (PST) sati...@yahoo.com wrote: SL Hi folks, SL SL Which R packages containing sample .xls files? TIA Help yourself! Create your own! If you do not have Excel use OpenOffice and save as xls! Stefan __

Re: [R] How to create sequence in month

2010-07-12 Thread Stefan Grosse
Am 12.07.2010 20:25, schrieb Bogaso Christofer: library(zoo) seq(as.yearmon(2010-01-01), as.yearmon(2010-03-01), by=1 month) seq(as.Date(2010-01-01), as.Date(2010-03-01), by=1 month) hth Stefan __ R-help@r-project.org mailing list

Re: [R] Drop firms in unbalanced panel if not more than 5 observations in consecutive years for all variables

2010-07-22 Thread Stefan Grosse
Am 22.07.2010 11:18, schrieb Christian Schoder: I use the plm package and work with firm-level data in a panel. I would like to eliminate all firms that do not fulfill the requirement of having an observation in every variable used for at least x consecutive years. There are probably more

Re: [R] Column mapping

2010-07-28 Thread Stefan Grosse
Am 28.07.2010 07:36, schrieb jd6688: DF1 name OTHER ABCO KKKO QQQO DDDO PPPO DF2 name ABC KKK DDD If the names in df1 mapped the names in df2, then add the mapped name to df1 as a separate column, for instance mappedColumn What do you mean by mapped:

Re: [R] xlsx [path input]

2010-07-29 Thread Stefan Grosse
Am 29.07.2010 09:24, schrieb nero: But it doesn´t work. It only works, if i put the file into the xlsx-directory and set a dynamic path. a short example: http://r.789695.n4.nabble.com/file/n2306056/example_loading_xls.png But the file is there... Am i missing something? Lukas, You

Re: [R] Reset R environment through R command

2010-07-29 Thread Stefan Grosse
Am Donnerstag, den 29.07.2010, 13:22 -0400 schrieb Ralf B: Is it possible to remove all variables in the current environment through a R command. Can one do that in R? see ?rm __ R-help@r-project.org mailing list

Re: [R] hi!! please help me

2010-07-31 Thread Stefan Grosse
On Fri, 30 Jul 2010 18:59:50 -0700 (PDT) leepama wrote: L please give me answer! Please do your homework yourself and PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Thanks Stefan

Re: [R] Problem with par and bubble plot

2010-07-31 Thread Stefan Grosse
On Fri, 30 Jul 2010 13:30:35 -0700 (PDT) Filoche wrote: F par(mfcol = c(3,3), mar = c(3,3,3,3), oma = c(0,0,0,0)); F F However, when plotting the bubble plot (gstats package), it plots F the graph on a full page. I tried to plot something else with F plot(x,y) and it works as intended. So I'm

Re: [R] Reshape? I need it?

2010-08-05 Thread Stefan Grosse
Am 05.08.2010 12:57, schrieb spigo: I don't know how to do it. I need to use reshape? how? thanks for your reply. example(reshape) Stefan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] hi!! please help me!

2010-08-06 Thread Stefan Grosse
Am 06.08.2010 07:31, schrieb leepama: I made some anonymous function which performs some process in matlab code.. But I want to perform it in R program... Is there any method??? You have already got answers to this. Please read the posting guide and please stop using an unspecific subject a

Re: [R] wilcox.test construction in r

2009-11-01 Thread Stefan Grosse
On Sun, 1 Nov 2009 00:47:50 -0700 (PDT) jomni jom...@gmail.com wrote: J So do I write the function as wilcox.test(original, test, J alternative=l)? or wlcox.test(original, test, alternative = g)? J or wilcox.test(test, original, alternative=g)? J or wilcox.test(test, original, alternative=l)? J

Re: [R] Blanking out specific cells in a data frame

2010-05-19 Thread Stefan Grosse
Am 19.05.2010 19:36, schrieb Sabatier, Jennifer F. (CDC/OID/NCHHSTP): mydf-data.frame(matrix(rnorm(102), ncol=6) you mean something like: mydf[2:length(mydf[,1]),6]-NA hth Stefan __ R-help@r-project.org mailing list

Re: [R] Blanking out specific cells in a data frame

2010-05-19 Thread Stefan Grosse
Am 19.05.2010 20:08, schrieb Sabatier, Jennifer F. (CDC/OID/NCHHSTP): I do know that you can't actually have unequal column lengths. The reality is I am creating a pretty table to export to EXCEL and it Now that I have Stefan's solution, which turns all the un-needed info into NAs I can use

Re: [R] 2.11.0 on ubuntu (hardy) inadvertently installed

2010-05-28 Thread Stefan Grosse
Am 28.05.2010 17:25, schrieb Cedrick W. Johnson: I now have a bunch of pkgs that aren't loading due to the fact that they were built before 2.10.0 -- There's some *ancient* packages, like (sma) that I was able to figure out what we were using, and pull out the relevant functions and just

Re: [R] median test

2010-05-28 Thread Stefan Grosse
**Disclaimer: I have no idea what your data represents or how (in)appropriate any of these tests may be** R can do the tests you mentioned (and many more). Wilcoxon test: wilcox.test(x=group1, y=group2, paired=FALSE) see ?wilcox.test I am not sure whether it is still valid but in case

Re: [R] setting up zoo objects from a data frame

2010-06-08 Thread Stefan Grosse
Am 08.06.2010 16:52, schrieb Erin Hodgess: I would like to set up 3 time series; one for dog, one for cat, one for tree, such that each runs from 1/1/2000 to 1/3/2000, with 0 if there is no entry for the day. Before using zoo or zooreg you should transform your data.frame as such as

Re: [R] setting up zoo objects from a data frame: solved.

2010-06-08 Thread Stefan Grosse
Am 08.06.2010 17:04, schrieb Erin Hodgess: Here is a particular way to solve the problem: If you solve your own problem then please reply to your own message otherwise things get confused. How should one know what your problem was without knowing your first e-mail - if you reply your own

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-20 Thread Stefan Grosse
Am 20.06.2010 15:31, schrieb Muenchen, Robert A (Bob): I've been fiddling around with various ways to estimate the popularity of R, SAS, SPSS, Stata, JMP, Minitab, Statistica, Systat, BMDP, S-PLUS, R-PLUS and Revolution R. It's not an easy task. You can see what I've come up with so far at

Re: [R] Change the frequency of a ts?

2010-07-03 Thread Stefan Grosse
Am 03.07.2010 13:55, schrieb Nicholas R Frazier: I'm trying to convert a column of a table into a ts object. The data is monthly, so I want the ts frequency to be 12. I did this ... filings.ts = as.ts(Filings.100K, frequency=12) try: filings.ts - ts(Filings.100K, frequency=12) example:

Re: [R] xyplot question

2007-09-11 Thread Stefan Grosse
Original Message Subject: [R] xyplot question From: Leeds, Mark (IED) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 11.09.2007 18:00 load(stocks.dat) pdf('temp.pdf', width=10, height=8) does ist work with postscript? something like: postscript(temp.ps, width = 10.0,

Re: [R] Percentiles in R

2007-09-11 Thread Stefan Grosse
Original Message Subject: Re: [R] Percentiles in R From: Jose Luis Aznarte M. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 11.09.2007 19:09 Thank you all! But the problem is that quantile() returns how many data are greater than p percent, and not a value in the domain

Re: [R] how to obtain the CPU time of my program

2007-09-13 Thread Stefan Grosse
Original Message Subject: [R] how to obtain the CPU time of my program From: gang xu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 13.09.2007 17:16 Dear R users and experts, I am current running a program (a series of commands) in R. such as: A -

Re: [R] Installing add-on packages

2007-09-18 Thread Stefan Grosse
On Tuesday 18 September 2007 07:23:17 [EMAIL PROTECTED] wrote: jp Admittedly, I don't have much experience with R. I have dowloaded and jp installed some add-on packages (leaps, for one). When I try to run the jp leaps function I get the following error: jp jp Error: could not find function

Re: [R] Cutting pasting help examples into script window

2007-09-20 Thread Stefan Grosse
On Thursday 20 September 2007 15:08:45 Muenchen, Robert A (Bob) wrote: MR Hi All, MR MR When I cut paste help file examples into a script window, about half MR the time it pastes as a single long line. MR MR Any ideas? MR MR Thanks, MR Bob MR MR P.S. What would really be slick would be

Re: [R] R routines vs. MATLAB/SPSS Routines

2007-10-03 Thread Stefan Grosse
On Tuesday 02 October 2007 22:54:48 Matthew Dubins wrote: MD in what respects do R routines work faster/more efficiently/more MD accurately than those of MATLAB/SPSS. There has been a benchmark: http://www.sciviews.org/benchmark/index.html but thats quite old old, it would be interesting to

Re: [R] Basic plot question: Figure 1.1 Pinheiro Bates

2007-10-12 Thread Stefan Grosse
On Friday 12 October 2007 17:31:22 David Afshartous wrote: DA All, DA Sorry for overly simplistic question, but I can't seem to remember how to DA create the basic plot shown in Figure 1.1 of Pinheiro Bates (2004; p.4). DA The y-axis delineates a factor (Rail) while the x-axis displays

Re: [R] ERROR while importing data

2007-10-15 Thread Stefan Grosse
On Monday 15 October 2007 06:43:52 pm pintinho wrote: pi I tried lots of methods to import (read.csv, read.table, RODBC, read.delim) pi and the same message appears for all these methods. I think it is a bigger pi problem. pi pi Can anyone help me solving this issue? A little bit more

Re: [R] modal

2007-11-13 Thread Stefan Grosse
On Tuesday 13 November 2007 10:50:11 am elyakhlifi mustapha wrote: em Hello, em I would like to know what's the function to calculate the modal of data. em Thanks. a search of modal value in r-search -- which you might have found more work intense then mailing -- directly points at a wiki

Re: [R] best text editor for Linux?

2008-02-02 Thread Stefan Grosse
On Saturday 02 February 2008 04:06:38 am Wade Wall wrote: WW I know this question has been asked in the past, but I am wondering if WW anyone running R on Linux has any guidance as to a text editor that works WW well with R. Beside the aforementioned emacs+ESS there exists another good editor.

Re: [R] best text editor for Linux?

2008-02-02 Thread Stefan Grosse
On Saturday 02 February 2008 03:21:24 pm Frank E Harrell Jr wrote: FE I have tried installing rkward on three different ubuntu systems and FE have never gotten past this error: FE FE rkward FE /usr/bin/rkward.bin: symbol lookup error: /usr/bin/rkward.bin: undefined FE symbol: R_LastvalueSymbol

Re: [R] best text editor for Linux?

2008-02-02 Thread Stefan Grosse
On Saturday 02 February 2008 07:51:00 pm you wrote: FE I'm using the standard Ubuntu debian repositories. FE Frank FE Try the 0.4.9 etch package from the project: http://sourceforge.net/project/showfiles.php?group_id=50231package_id=43758release_id=568604 for gutsy the latest package is 0.4.7

[R] gcc 4.3 any known issues?

2008-02-11 Thread Stefan Grosse
Hi, Fedora is for Fedora 9 switching to gcc 4.3. Before I test it (rawhide) I want to be sure that R is running. So my question is whether there have been issues compiling R + packages using 4.3? Stefan __ R-help@r-project.org mailing list

Re: [R] Rd to latex

2008-02-20 Thread Stefan Grosse
maybe the xtable package? On Wednesday 20 February 2008 05:42:27 pm Dani Valverde wrote: DV Hello, DV I would like to convert an Rd object to a latex file, so that I can put DV it in my thesis. How can I do it? I tryed latex(), but it only works for DV code... DV Best, DV DV Dani DV

Re: [R] Make plots with GNUplot. Have anyone tried that?

2008-02-29 Thread Stefan Grosse
On Friday 29 February 2008 09:37:26 pm Louise Hoffman wrote: LH Dear readers, LH LH I would like to use GNUplot for the plots, but I can't find any LH information on how to do that. LH LH Have anyone tried that? =) LH LH Hugs, LH Louise LH Try http://gnuplot.info/ there is plenty

Re: [R] Marginal Effects in a Logit Regression

2008-03-05 Thread Stefan Grosse
On Wednesday 05 March 2008 09:25:11 am Paul Sweeting wrote: PS I am carrying out some logit regressions, so have a (0,1) dependent PS , I need to report the marginal effects of Have a look at lrm of the design package. It reports Dxy which is maybe what you want... Stefan

Re: [R] kruskal wallis post hoc test in R

2008-03-06 Thread Stefan Grosse
On Thursday 06 March 2008 10:18:18 am Melanie Müller wrote: MM Hello, MM I need nemenyi-test or any other post-hoc test for kruskal-wallis, but I MM just can't find out how to implement this in R. MM My data set is nitrite concentrations in four different groups which I MM intend to compare. The

Re: [R] (no subject)

2008-03-11 Thread Stefan Grosse
On Tuesday 11 March 2008 04:27:12 pm Aad Termorshuizen wrote: AT # So my QUESTION is: is abline imprecise or am I making errors? Either you are not precise or I did not got your problem. plot(a~b) abline(model) points(10,4336,col=red) as you see the predicted point (red) is exactly at the

Re: [R] smoothest way to upgrade R, say from 2.6.1 to 2.6.2?

2008-03-13 Thread Stefan Grosse
On Thursday 13 March 2008 06:05:15 pm Galkowski, Jan wrote: GJ (1) How do people manage an upgrade, from 2.6.1, say, to 2.6.2? 2.6.2 GJ will create its own subdirectory, obliging a copy of library contents to GJ the new spot. The documents are easier. You forgot to enlighten us about your

Re: [R] read.dta for files from stata 9.0

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 03:33:02 pm K. Elo wrote: KE Seems quite obvious to me: not a stata version 5-8 means, that the 9.0 KE version is not supported. So You should save the file in stata ver. 8 KE format and then give a new try. KE KE Hope this helps, No. I have stata 9.2 and the data import

Re: [R] download.file()

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 04:46:12 pm Paul Evans wrote: PE download.file(fileLink,'/geoDat') I would have expected download.file(fileLink,/geoDat/yourfilename) note that you need your complete path (or use setwd) -- Microeconomics University of Erfurt signature.asc Description: This is a

Re: [R] download.file()

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 04:59:45 pm Henrik Bengtsson wrote: HB Also, you want to download the file in a binary fashion, i.e. use HB argument mode=wb, otherwise your binary tar file will be corrupt. HB HB R-core: I'd suggest to replace the default to mode=wb for file HB transfers. I had no

Re: [R] read.dta for files from stata 9.0

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 05:39:10 pm Prof Brian Ripley wrote: PB Did you check the sources? The source for read.dta explicitly checks for PB VERSION_5 ... VERSION_8 and otherwise says PB PB not a Stata version 5-8 .dta file No, I did not check the sources, but I checked the help file and there

Re: [R] read.dta for files from stata 9.0

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 05:39:10 pm Prof Brian Ripley wrote: PB According to http://www.stata.com/help.cgi?dta, Stata now writes in PB 'format-114'. read.dta expects only versions 113, 111 and earlier. PB There is very little difference between formats 113 and 114, so it should PB be easy to

Re: [R] download.file()

2008-03-18 Thread Stefan Grosse
On Tuesday 18 March 2008 06:32:18 pm Paul Evans wrote: PE Also, is there a method/package (in R) with which I can unpack a tar file PE programatically? I guesses that question when I saw your tar file. Not that you not only need to un-tar but also to un-zip then several other files in that

Re: [R] GNUplot to R conversion?

2008-03-26 Thread Stefan Grosse
On Wednesday 26 March 2008 01:31:46 pm Andreas Tille wrote: AT reasonable converter that takes over plot commands and initial AT settings and put these into R commands Not that I know. But I doubt that someone would make this effort since the capabilities of gnuplot and R are quite different.

[R] (pscl) hurdle model and sandwich: applicable?

2008-03-26 Thread Stefan Grosse
Dear helpeR's, I am estimating a hurdle model with the hurdle function of the pscl package. (negative binomial for the count data and logit for the hurdle). I am interested in robust estimates. In stata I can do this with robust cluster(group). Since R is faster by roughly factor 20 in the

Re: [R] Subset: data frames and factor levels

2008-04-01 Thread Stefan Grosse
On Tuesday 01 April 2008 09:43:00 am Agustin Lobo wrote: AL I'm doing: AL etni - subset(etni, NAMECOM!=Maniquisito) AL AL where etni is a data.frame, NAMECOM a factor and Maniquisito labels AL a row that I want to delete. AL AL The problem is that while the row is deleted, the factor level is

Re: [R] lmer function :method=AGQ

2008-04-01 Thread Stefan Grosse
On Tuesday 01 April 2008 02:20:39 pm Boikanyo Makubate wrote: BM I am using the lmer function from the lme4 package. I wrote the BM following statement, specifying the method to be adaptive Gaussian BM quadrature. I am getting an error saying method = AGQ not yet BM implemented for supernodal

Re: [R] NEW: Sociolects in R

2008-04-01 Thread Stefan Grosse
On Tuesday 01 April 2008 04:18:55 pm Peter Dalgaard wrote: PD The R translation teams have done a great job in making R usable for PD people who do not have English as their mother tongue. However, even PD within English speaking countries, there are groups which have trouble PD with the language,

Re: [R] .... running JGR on a Linux/SuSE system

2009-08-03 Thread Stefan Grosse
Martin Maechler wrote: But there are quite a few others (I do not really know from personal experience), see, e.g., all the projects (listed on the left hand side) of http://www.r-project.org/GUI I personally can recommend rkward which is now available on many platforms and which is

Re: [R] Query about finding correlations

2008-07-31 Thread Stefan Grosse
to understand the problem better. In the meanwhile, we thought we would post the problem on this forum to seek some input from statisticians who possibly do this kind of analyses everyday and hence are possibly more proficient with R and/or any recommended methodologies. Lalitha On 5/2/07, *Stefan

Re: [R] Query about finding correlations

2008-07-31 Thread Stefan Grosse
How about making your homeworks yourselfes? lalitha viswanath wrote: Hi I have a dataframe which has 3 columns of numeric data A,B,C each of which has been obtained independent of the other. We are trying to find out, which of A or B cause C i.e. We are hypothesising that C is the effect

Re: [R] Nonlinear equation

2008-04-02 Thread Stefan Grosse
On Wednesday 02 April 2008 04:58:28 pm [EMAIL PROTECTED] wrote: ro I'm trying to find function that allow me to solve one nonlinear ro equation. Functions that I found are good for optimization problems. You are not very specific. If you want what I guess you should have a look at a CAS program

Re: [R] SVG format from any R graphic GUI?

2008-04-16 Thread Stefan Grosse
On Wed, 16 Apr 2008 13:20:35 +0200 Agustin Lobo wrote: ALI have problems with emf files because OpenOffice does ALa poor job at importing figures in this format. On the other ALhand, imported eps figures are not displayed, just printed. ALIs there any R graphic gui able to export as SVG (or

Re: [R] SVG format from any R graphic GUI?

2008-04-17 Thread Stefan Grosse
On Wed, 16 Apr 2008 18:51:30 +0200 Agustin Lobo wrote: AL 2. I need the figure displayed on the screen, I'm using AL Impress (the equivalent of ppt). Thus EPS is not an option, 1. So what please is wrong with png? I am using it with Word (If for some reasons I cannot use LaTeX -- some coauthors

Re: [R] problem in installing R packages on linux

2008-04-18 Thread Stefan Grosse
On Fri, 18 Apr 2008 01:47:43 -0700 (PDT) man4ish wrote: M The screenshot is not there, but I suspect you want to install M package BARD rather than BART. M M Uwe Ligges M No i am trying to install BART which is valid name , i have 30-40 M times for other packages still facing the same pblm

Re: [R] Vertical bars with barchart

2008-04-18 Thread Stefan Grosse
On Fri, 18 Apr 2008 12:00:13 +0200 G. Draisma wrote: GDbarchart(VADeaths,horizontal=F, GDkey=simpleKey(colnames(VADeaths),points=F,rectangles=T)) GD does not give what I need, Works for me. Do you have the current R (2.6.2) and lattice? btw. it also works with barchart(VADeaths,

Re: [R] Question about graphical UI running R version 2.7.0 (2008-04-22) on Ubuntu Hardy Heron...

2008-05-18 Thread Stefan Grosse
Original Message Subject: Re: [R] Question about graphical UI running R version 2.7.0 (2008-04-22) on Ubuntu Hardy Heron... From: Scionforbai [EMAIL PROTECTED] To: Brian Lunergan [EMAIL PROTECTED] Date: 17.05.2008 23:07 Have a look at RKWard

Re: [R] Producing customized tickmarks when producing a graph using curve

2009-04-28 Thread Stefan Grosse
Dimitri Liakhovitski schrieb: I was wondering, if it's possible to turn off the default tick marks and introduce those tick marks in specific locations. use search. rseek for example. use help. ?axis for example leads you to an example how to do so... (works also for curve) and please try to

Re: [R] JGR

2009-05-06 Thread Stefan Grosse
On Tue, 05 May 2009 15:12:00 +0200 r...@quantide.com r...@quantide.com wrote: RC The point is that one Cpu stays at 100% for all time JGR is up. RC Any ideas? RC Andrea I believe it is a bug with JGR. Unfortunately it is existing for quite some time now. (I am using Fedora Linux since years and

Re: [R] Simulation

2009-05-14 Thread Stefan Grosse
Debbie Zhang schrieb: Now, I am trying to obtain the sample variance (S^2) of the 1000 samples that I have generated before. I am wondering what command I should use in order to get the sample variance for all the 1000 samples. What I am capable of doing now is just typing in

Re: [R] Simulation

2009-05-15 Thread Stefan Grosse
On Fri, 15 May 2009 19:17:37 +1000 Kon Knafelman konk2...@hotmail.com wrote: KK I hve the same problem as the initial one, except i need 1000 KK samples of size 15, and my distribution is Exp(1). I've adjusted KK some of the loop formulas for my n=15, but im unsure how to proceed KK in the

Re: [R] Problems intalling on Suse 10.3 x86_64 OS

2009-05-15 Thread Stefan Grosse
On Thu, 14 May 2009 12:32:18 -0700 (PDT) PDXRugger j_r...@hotmail.com wrote: P P Alright, i am unsure of the posting rules for these types of P questions but i will be as help ful as possible. My windows based P system cant handle a model i am running so i am trying to install R Why? To many

Re: [R] Additional points to scatter plot show up at wrong place

2009-05-15 Thread Stefan Grosse
On Fri, 15 May 2009 15:43:33 +0200 Peter Menzel pmen...@googlemail.com wrote: PM scatterplot(data[,2] ~ data[,1], PM data=data,smooth=F,reg.line=F,xlim=c(0.5,1),ylim=c(0.5,1),ylab=ML,xlab=Freq,cex.lab=1.9,cex.axis=1.8) Side remark: you don't need do data[,2] if you have specified data=data as

Re: [R] (no subject)

2009-05-18 Thread Stefan Grosse
On Mon, 18 May 2009 17:33:51 +1030 Debbie Zhang debbie0...@hotmail.com wrote: DZ Based on a set of binomial sample data, how would you utilize the DZ nlm function in R to estimate the true proportion of the DZ population? Dear Debbie, This is a list that is mainly intended helping people if

Re: [R] Simple plotting errors

2009-05-18 Thread Stefan Grosse
On Mon, 18 May 2009 11:17:50 + Steve Murray smurray...@hotmail.com wrote: SM plot(FeketeJAN[1,2], FeketeFEB[1,2], FeketeMAR[1,2], *through to SM December* type=l) SM What is it that I'm doing wrong?! try plot( c(FeketeJAN[1,2], FeketeFEB[1,2], ...)),type=l) however it is better to create

Re: [R] fitting distribution

2009-05-19 Thread Stefan Grosse
On Tue, 19 May 2009 14:04:19 +1000 Kon Knafelman konk2...@hotmail.com wrote: KK i have the sample variances for 1000 samples, and i want to fit it KK to a chi-squared distribution. KK can someone please help me fit this to a chi-squared distribution KK with n degrees of freedom. Thanks a lot

Re: [R] counting occurrence of text in a dataframe

2009-05-23 Thread Stefan Grosse
On Sat, 23 May 2009 12:44:19 + (GMT) Iain Gallagher iaingallag...@btopenworld.com wrote: IG I am hoping for some help with a relatively simple problem. I have IG a data frame arranged as below. I want to be able to count the IG occurrence of each gene (eg let-7e) by Experiment. In other words

Re: [R] How R connects to the internet

2009-05-26 Thread Stefan Grosse
On Tue, 26 May 2009 12:52:16 +0530 Menezes, Ian ian_mene...@syntelinc.com wrote: MI I'm unable to get R to connect to the internet at work and I'm MI guessing its because of our proxy server. Is there any way to MI change how R connects to the internet? How do I provide it the MI proxy address?

Re: [R] Creating multiple graphs based on one variable

2009-05-26 Thread Stefan Grosse
On Tue, 26 May 2009 02:34:55 -0700 (PDT) Tim Clark mudiver1...@yahoo.com wrote: TC I would like separate plots for Tony, Mike, and Vicky. What is the TC best way to do this? use the lattice package: library(lattice) xyplot(y~x|Name,data=dat) Mr. Sarkar (the author of the package) has

Re: [R] Factor level with no cases shows up in a plot

2009-05-27 Thread Stefan Grosse
Arthur Burke wrote: ... I get the four lines that I expected but the legend includes the Group level cohort 4 . How can I get rid of cohort 4 in Group? This link might be of interest for you: http://wiki.r-project.org/rwiki/doku.php?id=tips:data-manip:drop_unused_levels hth Stefan

Re: [R] can you help me please :)

2009-05-28 Thread Stefan Grosse
On Thu, 28 May 2009 15:47:18 +0300 NOUF AL NUMAIR noufalnum...@hotmail.com wrote: NAN barplot(zz,width = 4,names.arg= xx,axes = TRUE, axisnames = TRUE, NAN main=title,xlab=xlab,ylab=ylab,ylim=c(0,1175),xlim=c(0,226),col = NAN c(for (i in zz){if i70 col= lightblue else col= mistyrose)) NAN NAN

Re: [R] Import ARIMA coefficients

2009-06-04 Thread Stefan Grosse
On Thu, 4 Jun 2009 15:21:52 +0100 Daniel Mail d20...@live.com.pt wrote: DM I need to know how to import ARIMA coefficients. I already DM determined the coefficients of the model with other software, but DM now i need to do the forecast in R. So why then don't you fit the model then in R

Re: [R] ADF test

2009-06-05 Thread Stefan Grosse
koyel chakrabartti wrote: While doing the ADF test in R using the following command I am getting the error and the result.. x.ct=ur.df(rev$REVENUE,start=1,end=length(rev$REVENUE),frequency=1) Error in ur.df(rev$REVENUE, start = 1, end = length(rev$REVENUE), frequency = 1) : unused

Re: [R] Black-Litterman model

2009-06-09 Thread Stefan Grosse
JannaB schrieb: Anyone know where I can obtain an R implementation of the Black- Litterman portfolio model? There is the BLCOP package. hth Stefan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] A MS-VAR Introduction

2009-06-15 Thread Stefan Grosse
On Mon, 15 Jun 2009 14:21:29 -0300 Henrique henrique.coe...@gmail.com wrote: H I'm starting to learn the MS-VAR methodology and I would like to know H what I need to download (e.g. packages) to make MS-VAR estimations H using R. Please, mailing to every mailing list you find does not increase

Re: [R] books on Time series

2009-06-16 Thread Stefan Grosse
On Sun, 14 Jun 2009 22:30:49 -0300 Antonio Olinto aolint...@bignet.com.br wrote: AO I would like to receive any suggestion of which is most appropriate AO for a non-statistician (I am a biologist). Reading only the index I AO could not evaluate it. AO reproducible code. I am an economist but

[R] lattice color problem with symbols: bug?

2008-01-11 Thread Stefan Grosse
Dear useR's, I have a problem with the lattice plotting of some symbols: library(lattice) test-data.frame(x=c(2,3,1,5),u=c(rep(1,2),rep(2,2)),g=c(rep(c(1,2),2))) xyplot(x~u,groups=g, data=test, par.settings=list( superpose.symbol=list(pch=c(22, 23),cex=c(1.7,1.6),col=black) ),

Re: [R] lattice color problem with symbols: bug?

2008-01-11 Thread Stefan Grosse
On Friday 11 January 2008 10:12:03 pm you wrote: DS It's a change in behaviour (in the sense that the default fill is no DS longer transparent). Otherwise there doesn't seem to be any bug. The DS whole point of using par.settings is so that you can use auto.key, and DS DS xyplot(x~u,groups=g, DS

Re: [R] Stationarity of a Time Series

2008-01-21 Thread Stefan Grosse
On Monday 21 January 2008 08:36:13 pm stephen sefick wrote: ss Does anyone know of a test for stationarity of a time series, or like ss all ordination techniques it is a qualitative assessment of a ss quantitative result. Books, papers, etc. suggestions welcome. I recommend the Walter Enders

[R] CRAN down?

2008-01-22 Thread Stefan Grosse
I am having problems to access the r-project.org homepage, someone else as well? (I know there are CRAN mirrors but they link back on the main page if I search something) Stefan __ R-help@r-project.org mailing list

Re: [R] Fedora 10 KDE plasma font rendering issue

2009-04-15 Thread Stefan Grosse
On Tue, 31 Mar 2009 13:02:23 -0700 (PDT) dfermin dfer...@umich.edu wrote: D Has anyone else got this problem? If so do you have a work around or D a solution? D D I'm using R version 2.8.1 installed from the Fedora 10 repositories D if that helps. I have Fedora 10 and R 2.8.1 as well and have

Re: [R] Tinn-R (Version 2.2.0.2) dose not support R 2.9.0 very well

2009-04-18 Thread Stefan Grosse
LI Qi schrieb: I found that Tinn-R (Version 2.2.0.2) dose not support R 2.9.0 very well. Maybe, somebody who have solved this problem can help me. What do you mean with doeas not support very well. I have no problems with Vista + R 2.9.0 + Tinn-R 2.2.0.2 Try to start Rterm instead of

Re: [R] importing spreadsheet data - linera regression - panel data

2009-04-19 Thread Stefan Grosse
Cecilia Carmo schrieb: The objective of my work is to do linear regressions with the variables in the files or with other variables that I can obtain from those by doing some mathematical operations. I’ve already tried to import this information to an array in R, but I’ve seen that the

Re: [R] to extract data

2009-04-20 Thread Stefan Grosse
On Sun, 19 Apr 2009 23:59:43 -0700 (PDT) Roslina Zakaria zrosl...@yahoo.com wrote: RZ I have a set of data from 1958-2009, how do I extract the data from RZ 1927 and 2007? RZ beechworth.dt RZ Year Month  Rain how about: beech.cut-subset(beechworth.dt,(Year1926Year2008)) hth Stefan

Re: [R] R graph into MS Word: which format to use?

2009-04-20 Thread Stefan Grosse
On Mon, 20 Apr 2009 03:01:42 -0700 (PDT) jjh21 jjhar...@gmail.com wrote: J The journal I am publishing in requires MS Word files. What is my J best option for getting a high quality image of a graph done in R J into Word? JPEG? Postscript? I use png or eps. The latter has the better output but

Re: [R] what is R best for; what should one learn in addition to R

2009-04-20 Thread Stefan Grosse
On Mon, 20 Apr 2009 11:49:29 -0400 Juliet Hannah juliet.han...@gmail.com wrote: JH I've been working with R for a couple of years, and I've JH been able to get most of the things done that I needed (sometimes in JH a roundabout way). A few experienced statisticians told me that JH R is best for

[R] Fw: Problems with old version of R

2009-04-23 Thread Stefan Grosse
On Wed, 22 Apr 2009 11:18:17 -0400 Dimitri Liakhovitski ld7...@gmail.com wrote: DL You don't have to uninstall the old version. Just install the new DL version. What I do then - I manually copy (in Windows Explorer) all DL the packages from the folder library that is under your old R DL version

Re: [R] Problems with old version of R

2009-04-23 Thread Stefan Grosse
On Wed, 22 Apr 2009 11:18:17 -0400 Dimitri Liakhovitski ld7...@gmail.com wrote: DL You don't have to uninstall the old version. Just install the new DL version. What I do then - I manually copy (in Windows Explorer) all DL the packages from the folder library that is under your old R DL version

Re: [R] Running Scripting on Linux Machine

2009-04-23 Thread Stefan Grosse
On Thu, 23 Apr 2009 09:31:54 +0100 Bronagh Grimes bronagh.gri...@distinct.ie wrote: BG - But the only way I can run this script is to call the BG whole script using the source() function. BG BG - Does anyone know how I can implement a script that I can BG run as in the Windows

Re: [R] Tinn-R and latex

2009-04-25 Thread Stefan Grosse
On Fri, 24 Apr 2009 22:35:05 -0700 (PDT) Roslina Zakaria zrosl...@yahoo.com wrote: RZ I installed new version of R and Tinn-R and I just wonder why all RZ my latex document change to Tinn-R symbol? Because Tinn-R also is able to edit tex documents and you probably missed the default document

Re: [R] Scatterplot of two groups side-by-side?

2009-04-26 Thread Stefan Grosse
On Sun, 26 Apr 2009 09:29:39 + (GMT) nonu...@yahoo.de nonu...@yahoo.de wrote: ND I'm realy new to R, so I hope you can help me, as I didn't find any ND solution in the common books. Have a look at the online resources at: http://cran.r-project.org/other-docs.html There is also stuff on

Re: [R] Memory issues in R

2009-04-26 Thread Stefan Grosse
On Sun, 26 Apr 2009 09:20:12 -0600 Neotropical bat risk assessments neotropical.b...@gmail.com wrote: NBRA NBRAHow do people deal with R and memory issues? NBRAI have tried using gc() to see how much memory is used at each NBRA step. Scanned Crawley R-Book and all other R books I have

Re: [R] plot3d - could not find function xlim

2008-10-05 Thread Stefan Grosse
On Sun, 05 Oct 2008 19:32:41 +0200 Tomas Lanczos wrote: TL when I tried to apply xlim, ylim, zlim functions to the TL plot3d/decorate3d, inspite all the help documentation I got this TL errormessage: TL TL ERROR: could not find function xlim TL TL Is it a bug or possibly my fault? More

Re: [R] Time plots

2008-11-17 Thread Stefan Grosse
On Mon, 17 Nov 2008 15:30:14 - Lathouri, Maria [EMAIL PROTECTED] wrote: LM I want to do some time plots and actually the dates are in the LM format of dd/mm/. So first I input my dataframe in R in a csv LM form. What I do is DF-read.csv(C:/Documents and Settings/DF.csv) LM

Re: [R] Upgrade R program (version 2.6.2) ???

2009-02-06 Thread Stefan Grosse
On Fri, 6 Feb 2009 10:41:54 -0500 (EST) Nidhi Kohli nid...@umd.edu wrote: NK has numerous packages that I downloaded for my research work. I NK want to upgrade my R program with those packages in it. Is there a NK way I can do this? I would appreciate if someone can help me in NK this issue. A

Re: [R] Problems installing/updating packages in Linux

2009-02-07 Thread Stefan Grosse
On Fri, 6 Feb 2009 19:12:09 -0800 (PST) Paul Heinrich Dietrich paul.heinrich.dietr...@gmail.com wrote: PHD I feel very comfortable with R in Windows, and am trying to switch PHD over to Linux. I have R 2.8.1 on Linux and it works great (so PHD far), except for instalilng/updating packages. For

Re: [R] TinnR Philips Webcam

2009-03-02 Thread Stefan Grosse
On Mon, 2 Mar 2009 12:48:16 -0500 (EST) waterho...@vims.edu wrote: WE Now when I start up TinnR to use with R, it opens the webcam. If I WE manually start up R, Tinn R will no longer synch with it. More detail would help to answer those questions properly. Which Tinn-R are you using, and how

Re: [R] select a subset

2008-11-24 Thread Stefan Grosse
gallon li schrieb: for id 1, i want to select the last row since all censor indicator is 0; for id 2, i want to select the row where censor ==1; for id 3, i also want to select the row where censor==1. So if there is a 1 for censor, then I want to select such a row, otherwise I want to select

  1   2   >