similar to: help with subset

Displaying 20 results from an estimated 8000 matches similar to: "help with subset"

2008 May 06
1
split and subset
Dear list: I ask for your help in a simple problem in which I'm not figuring out the solution My data looks like: dat<- data.frame(date=c("12/12/1980", "03/11/1994", "15/11/1999", "31/10/2000", "20/03/2007", "05/01/2001"), var1=c("A", "A", "B", "D", "C", "A"),
2008 Jul 10
1
odfWeave problem in 7.1?
Max & Friends, I've run into a problem with odfWeave 0.7.5 running under R 2.7.1 (Windows XP, SP2) doing some monthly production reports. Under 2.7.1 I'm getting various parsing errors after Sweaving starts, e.g.: Sweaving content.Rnw Writing to file content_1.xml Processing code chunks ... Error in parse(text = cmd) : unexpected input in "" > Above case works
2008 Jul 22
2
randomForest Tutorial
I am new to R and I'd like to use the randomForest package for my thesis (identifying important variables for more detailed analysis with other software). I have found extremely well written and helpful information on the usage of R. Unfortunately it seems to be very difficult to find similarly detailed tutorials for randomForest, and I just can't get it work with the information on
2007 Jul 06
5
Text Mining
Hi everybody, I am a new R user. Is there any package devoted to "text mining" analysis in R ? Thanks Gilles lepape.gilles at neuf.fr
2008 Apr 13
2
[Fwd: Re: Response to R across the university]
Well, I downloaded the install JGR package for Windows and that seemed to work fine, after the installation I ended up with a modified R window which looked nice and uncluttered. Which I like. Very much. On the other hand, I cannot see how to launch the thing again once I have closed that window. There is supposed to be a launcher somewhere (JGR.exe?), but I have not been able to find it. It
2007 Oct 01
3
"continuous" boxplot?
I have two vectors x and y, which I would like to plot against each other. I am also displaying other data in this plot. However, I have about 1 million points to plot, and just plotting them x againt y is not very informative. What I'd like to do is to do sort of a continuous box plot. My x values goes from -1 to 1 and my y values from 0 to 1, so I?d like to plot the median and quantiles,
2008 Jun 30
4
Problem reading a CSV
Hi, I have a CSV file where each row has at least 20 columns and some rows have up to 30 columns of data. When I use the command, Pathways<-read.table('MetaCycSample3.csv',sep=',',header=FALSE,quote='"') anything past the 21st column gets kicked down to a new row. How can I fix this? Thanks, -Nina
2012 Jun 23
3
Event Studies in R
Dear all I tried finding a package for event studies but unfortunately without success. Does anyone know which package suits best for such an analysis? Thank you in advance. Regards [[alternative HTML version deleted]]
2008 Apr 25
4
Equivalent of Excel pivot tables in R
Can somebody tell me how to do the equivalent of a pivot table in R ? For example, if I have : var1 var2 var3 a x 10 b y 20 a z 10 b z 20 a z 10 b z 20 I could have : x y z a 1 0 2 b 0 1 2 where entries in the table are counts of var3.
2008 Jun 24
4
running R-code outside of R
R 2.7.0, WinXP Hi list, I have written some code in R that I would like to share with others who are not R-users. Is there a way to compile the code so it will run outside of R? The best thing would be a functionality to compile the code into a ".exe" file that does not require the user to have R installed or to know how to use R. The persons I would like to make the program available
2007 Aug 29
5
Month end calculations
Hi R users, Is there a function in R, which does some calculation only for the month end in a daily data?... In other words, is there a command in R, equivalent to "last." function in SAS? BR, Shubha [[alternative HTML version deleted]]
2009 Jan 26
1
suppressing time shift in plot of POSIXct object?
Friends, I have a POSIXct vector "located" in EST timezone. When I plot against it here in PST, the time axis is shifted 3 hours back in time. IOW, plot adjusts for time zone difference. Now that's really great, if that's what one wants. However, I want time axis to use actual times in object (without any shift). For example: n <- 360 y <- rnorm(n) t <- seq(from =
2007 Oct 10
3
(no subject)
Hello, I problem is in the format of the date, my time series is like this: 2006070100 1244 61 62 2006070101 1221 60 60 2006070102 1214 60 60 2006070103 1194 59 59 2006070104 1182 58 58 2006070105 1178 58 58 2006070106 1176 58 58 2006070107 1173 58 58
2008 Jul 28
4
RODBC to query an Oracle table
Hello all, I am having trouble running a count function in R using RODBC to query a table I created in Oracle. It may very well be that my SQL coding is incorrect; I just started learning it. But if someone could point me in the right direction or tell me if I am going about this the correct way that would be greatly appreciated! The script I have right now is: >require(RODBC)
2008 Aug 01
5
viewing data in something similar to 'R Data Editor'
Hi, I would like to view matrices I am working with in a clean, easy to read, separate window. A friend showed me how to do something like I want with edit(). I can view the matrix in the 'R Data Editor': For a sample matrix: > mat=matrix(1:15,ncol=3) > mat [,1] [,2] [,3] [1,] 1 6 11 [2,] 2 7 12 [3,] 3 8 13 [4,] 4 9 14 [5,] 5 10 15
2007 Dec 18
9
Scatterplot Showing All Points
Hello all, I'm trying to graph a scatterplot of a large (5,000 x,y coordinates) of data with the caveat that many of the data points overlap with each other (share the same x AND y coordinates). In using the usual "plot" command, > plot(education, xlab="etc", ylab="etc") it seems that the overlap of points is not shown in the graph. Namely, there are
2008 Jul 07
1
Interest in a Use R Group in San Francisco area?
All, Tuesday week (July 15th) Mike Driscoll & I will be presenting "A Gentle Introduction to R and its Applications in Business Intelligence" at the SDForum Business Intelligence SIG in Palo Alto, California. One motivation is to judge interest in starting a Use R Group in the Bay Area. We will have an informal organizational meeting after the talk. We hope all local R
2007 Mar 21
1
any way to append a table in SQL server
Dear Lister, Is there an interface in R with SQL server that allows me to append records to table in the DB? Might I do that using RODBC? Thanks a lot. -- WenSui Liu A lousy statistician who happens to know a little programming (http://spaces.msn.com/statcompute/blog)
2010 Jan 25
2
Microsoft SQL Server and R
I have a client running Microsoft SQL Server. I am interested in ways of accessing data from this server using R. I would welcome any information about how this can be done. I have a reasonable grasp of SQL and have experience with MySQL and RODBC but don't know anything much about Microsoft SQL Server. David Scott -- _________________________________________________________________
2009 Feb 06
1
Cluster analysis question
Hello All, I have data where each feature data point is a vector, and my distance measurement is a weighted dot product between vectors. I would like to use R to perform a cluster analysis on this data. Does one of the R cluster analysis routines provide for a user provided distance function? Dan Stanger Eaton Vance Management 255 State Street Boston, MA 02109 617 598 8261