similar to: Merging and sorting multiple data.frame

Displaying 20 results from an estimated 1000 matches similar to: "Merging and sorting multiple data.frame"

2003 Jul 15
3
clearing some part of a graph
Hi R lovers 2 questions: 1) I'd like to know how to clean the title, the sub title or the labels of a graph. I know how to redefine it with the function title() but it overwrites the previous title and do not replace it 2) How could I clear a whole plot (for example in a multiple figure environment) thanks for your help vincent
2003 Jul 03
4
Generating a vector for breaks in a histogram
Hi I have two lots of numbers which I would like to histogram using the hist() function. For comparative reasons, I want them to be on the same scale, which I can use the xlim and ylim options to achieve. However, having them on the same scale is meaningless unless they have the same "breaks". Consulting the documentation, there are 4 ways of defining the number of breaks, only one
2003 Jul 21
3
Confidence Band for empirical distribution function
Hi, I was trying to draw an empirical distribution function with uniform confidence bands. So I tried to find a way to calculate values of the Kolmogorov-Smirnov Distribution but failed. I guess it must be hidden somewhere (since the ks-test is implemented), but I was unable to find it. Is there any way to do this? Thanks Leif Boysen
2003 May 08
3
R crashes with package SJava; was Memory leakage?
Dear all, Maybe this has something to do with R crashing? When my R version crashes, there is Rgui.exe still running in the background (i.e. W2K's task manager recognises it only as a process, which apparently is using almost 100% of the CPU). I can reproduce that by "using" the SJava package (from Brian Ripley's homepage, as suggested on http://www.omegahat.org/RSJava/).
2003 Jun 06
1
layout problem
Hello, I have a question about using the layout command within a function. I've written function that uses layout to create a figure from 2 plots. This works fine to create a figure. When I use par(mfrow = c(2,2)) to create multiple plots, it seems that the layout command resets the mfrow parmeter. Is there a way for me to avoid this problem? For example practice<- function() {
2003 Jun 23
1
Smooth of a temporal serie
Hello all, I'm a new member in this list and, also, a new R user and need some information about Resistant Smooth (using medians). The method I need of Resistant Smooth is the 4253H one and I didn't found how to perform that in R. Does anybody have an idea? Thanks, Henrique.
2003 Aug 12
3
Sorting a dataframe
Undoubtedly a simple question: I've looked at order() and sort() in the help pages for R1.7.1. It doesn't appear that these functions are immediately suited to doing the same thing as PROC SORT DATA = BLAH; BY X Y Z; RUN; in SAS. I have also checked Frank Harrell's Hmisc library. Could someone point me in the right direction so I can sort by the levels of Z within the levels of
2003 Jun 05
6
dynamics of functions
Dear list, I would like to study the dynamics of functions using R (instead of mathematica e.g.), i.e. the behavior of points under iteration of a function. So I tried (in vain) writing a function myfunction <- function(f,n,x){...} in order to compute f^{n}(x), f^{n}(x) being the function f composed with itself n-1 times. n is a natural number, and the argument x is the abscissa of the point I
2003 Aug 20
2
grid Graphics by Paul Murrell
Dear All, I've been trying to format a plot output using par() with mfrow, fin, mai, etc and basically it's proving to be a pain. I searched on google and found that Paul Murrell had written a grid Graphics program which seems perfect. However, when I try and use say viewport() I just get a function not found error. Can someone tell me what I'm doing wrong please? Thank-you
2003 Aug 27
2
Basic GLM: residuals definition
Dear R Users, I suppose this is a school boy question, but here it is anyway. I'm trying to re-create the residuals for a poisson GLM with simulated data; x<-rpois(1000,5) model<-glm(x~1,poisson) my.resids<-(log(x)- summary(model)$coefficients[1]) plot(my.resids,residuals(model)) This shows that my calculated residuals (my.resids) are not the same as residuals(model). p 65 of
2003 Jun 24
2
R and Latex's tables
Hi R lovers! I have discovered recently that graph can be exported from R in a Latex compatible file thanks to the pictex command I would like to know if there is the equivalent while exporting datas. Let's say I have a matrix, a data.frame or a list that I would like to export as a flat text file that is immediatly transcripted into a table into latex Is there a macro or package that could
2003 Jun 23
3
?plot problem
R1.7.0, Win2k: When I use plot( ) on a groupedData object, if I have 165 subjects I'm supposed to be able to use plot(..., layout = c(5,3,11)) to get all 165 on 11 separate sheets. The graphics window is only displaying the first 10. If I use plot(..., layout = c(5,3,12)) I get the appropriate 11 sheets. Furthermore, yesterday I noticed that when using plot( <linear model object> )
2003 Sep 03
3
plotting a distribution curves
Hi, is there a way to plot distribution curves (say normal or chi sq etc) from within R? For example I looked up the *chisq family of functions but I'm not sure as to how I would use them to generate a plot of the chi sq distribution (for arbitrary d.o.f). Thanks, ------------------------------------------------------------------- Rajarshi Guha <rajarshi at presidency.com>
2003 Aug 27
5
selecting by variable
Hi, I'm a recent R convert so I haven't quite figured out the details yet... How do I select one variable by another one? Ie if I want to draw the histogram of variable X only for those individuals that also have a value Y in a certain range? In STATA I would give something like: histogram X if ((Y>=A & Y<=B)) (The data is for individuals and each individual has a number of
2003 Jul 24
2
median and joint distribution
Dear R-"helpers"! May I kindly ask the pure statistics-experts to help me for a purpose which first part is not directly concerned with R. Consider two distribution functions, say f and g. For both, the median is smaller than a half. Now, the multiplicative or additive linkage of both distribution leads to a new distribution function, say h, whereas the median of h is greater than a
2003 Jul 15
3
Plotting a graph of many lines between groups of points...
I have a data file read into a data frame. For example, V1 V2 V3 V4 1 1 1 3 4 2 2 3 5 10 . . . . . . . . . . n V1[n] V2[n] V3[n] V4[n] to n=many thousand I want to plot a graph with many line segments, where v1[i]=x1, v2[i]=y1, v3[i]=x2, v4[i]=y2 for i=1,n. This seems relatively simple in theory but I've spent quite a bit of time trying to make it happen with
2003 Jun 05
4
counting missing values
Hello R lovers I have written a little cute function to count the number of missing value per row in a matrix and return the percentage of missing value it takes a lot of time to run with a 1000 rows matrix I'd like to know if there is a function already implemented to count the number of occurence of a given values in a vector For information, here is the function count<-0 for (i in
2003 Jul 08
3
Characters and Numeric Values in One Matrix
Dear R-Users, I want to ask a question for a colleague of mine. He wants to put a character vector and a numeric vector into one matrix and still have the old character and numeric type for the respective columns. Unfortunately, I am just starting using R and I could not help him. Is there an easy and straightforward way to do this in R? Maybe a little example facilitates understanding our
2003 Jul 18
4
R won't connect to the internet
Hi I can't get R to connect to the internet. I am running R 1.7.1 on Windows XP and whenever I try to download packages etc from within R using the internet, it fails. OK so I am behind a firewall and use a proxy server.... SO, if I go to my MS-DOS prompt and type: RGui.exe --internet2 everything works.... BUT i can't set up a shortcut for this as Windows (I hate Windows) complains
2003 Aug 13
6
placing labels in polygon center ?
Dear all, is there any function to calculate the center of a polygon mass in R? Actually I need to find the best location within polygons to place labels. Thanks for any hint Jens Oehlschl?gel -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test\ --------...{{dropped}}