similar to: Smooth of a temporal serie

Displaying 20 results from an estimated 700 matches similar to: "Smooth of a temporal serie"

2003 Jun 26
1
Smooth of a time serie
Thomas, First of all, thanks for the help, but it isn't exactly what I'm looking for. smooth() doesn't perform the smooth the way I want it to do. I want, precisely, the 4253H method. R doesn't give the option to do that. Thanks, Henrique.
2003 Oct 31
3
Problems with help.start()
Hello there, I've just installed R for Windows 1.8.0 and I'm experiencing problems with help.start(). It opens the help page as it supposed to do, then I go to "Search Engine & Keywords", but when I click anything there, it returns me a (aparently) JavaScript error, something like "The object does not support this method or property". The Search Engine doesn't
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 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 Aug 15
1
Merging and sorting multiple data.frame
Dear R help, I'm pretty new to R and would be grateful for help. I have 11 data.frames, each with 3 columns of data. Each has the same row.names, however these are not sorted. Please tell me the best way to sort these (by row.names) and secondly the best way to extract data columns from these to form a merged table. Thanks a million Aedin
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 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
2012 Apr 05
4
Help Using Spreadsheets
Hello, I am a new user of R and I am trying to use the data I am reading from a spreadsheet. I installed the xlsReadWrite package and I am able to read data from this files, but how can I assign the colums into values? E.g: as I read a spreadsheet like this one: A B 1 2 4 9 I manually assign the values: A<-c(1,4) B<-c(2,9) to plot it on a graph: plot(A,B) or make histograms: hist(A) But
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 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 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 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
2002 Dec 10
1
Non-installation of Samba
Hi, I am attempting install of samba 2.2.7 on a Sequent (IBM) Dynix 4.4.6 platform. I downloaded the samba-latest.tar from the samba website: samba.mirror.ac.uk/samba/download.html Having unzipped and untarred the file, I then started as per the "how to", very first part. I ran "./configure" which generated a number of messages before failing as follows: ... ... ...
2006 Jul 24
3
Identifying peaks (or offsets) in a time series
Dear R-users, We are monitoring the activity of animals during a few days period. The data from each animal (crossing of infra-red beam) are collected as a time series (in 30 min bins). An example is attached below. y <- c(0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,3,28,27,46,76,77,60,19,35,55,59,48 ,87,20,38,82,62,60,85,105,69,109,102,100,101,116,126,119,63,27,25,15,8,0
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