search for: eidinger

Displaying 10 results from an estimated 10 matches for "eidinger".

Did you mean: leidinger
2011 Sep 01
1
Namespace in packages
...load it with: library("mypkg",lib.loc=...) i get "Error in namespaceExport(ns, exports) : undefined exports: h"/ What am I doing wrong? (BTW, side question, if, after loading, i overload f() or g() with a new definition from the R console, will h() be affected?) Thanks, Eran Eidinger. [[alternative HTML version deleted]]
2011 Sep 12
5
completing missing samples
Hello, I have a time-series that has some missing samples. I was thinking on completing them using either zero-order hold or linear interpolation. I am looking for an efiicient way (other than a loop...) of identifiying the missing time slots and filling them. Can you think of any methods that might help here? (obviously which(diff(time)>min(diff(time))) will give the locations, but what
2011 Sep 05
1
capturing a figure to PDF or Image
Hello, I've been using jpeg(), bmp() and pdf() to capture plots. I've used the parameter "at" in a plot, to define the tickmarks. It works fine on screen, but when I try to print it to a file, it gives a warning: "at" is not a graphical parameter and prints an empty figure. Can you help? Thanks, Eran. [[alternative HTML version deleted]]
2011 Aug 30
1
R-Studio Question
Hello, I've switched to R studio from the StatET Eclipse plug-in. I have a question regarding navigating between plots. When I use x11() or windows() new devices are created and I know how to switch back and forth between them. However, when I plot on the device that stands for R-Studio's built-in plot browser, is there a way to switch back between plots? Each new "plot"
2011 Aug 24
2
debugging functions in R
Hi, I am not sure if this is the right list to ask this question (though I did not find a more appropriate one). I've started using R a month ago, and small scripts work fine. However, when I start writing more complex code, it gets messy. 1. Is there any way to debug "normally", with breakpoints? 2. I am using the Eclipse plugin (StatET), and tried JGR(). Is there an IDE that
2011 Aug 21
1
How to navigate (zoom, pan) in a plot/graph
Hello all, I need to zoom in and out and "travel"(pan) inside a plot, like you can do on a Matlab plot. If possible, I would also like the option to use the mouse to set a marker on the graph and get the (x,y) data for it, again, like in Matlab. Is this possible in R with the regular packages, or do you maybe know a different package that will allow this? Eran. * * [[alternative
2011 Oct 19
1
using a dictionary in R
Hi all, Is there a way to create a "dictionary" in R, such that it has <key,value> pairs? Something to the effect of: x=dictionary(c("Hi","Why","water") , c(1,5,4)) x["Why"]=5 In truth I'm looking two categorial variables function. So that if x=dictionary(c("a","b"),c(5,2)) x val 1 a 5 2 b 2 I want to compute
2011 Aug 24
1
Passing a large amount of parameters to a function
Hello, I have a function with a long list of parameters (of different types, numeric and string) myFunc <-function(p1, p2, p3, p4, p5...etc) { do.something(p1,p2,....) } I want to loop over this to provide a different set of parameters to the list every time. for (ii in 1:N) { myFunc(p1(ii), p2(ii),....etc) } I would like to simplify the notation and use some kind of structure, maybe
2011 Sep 07
0
Poly-phase Filters in R
Hello List, I am trying to do the following: 1. Use a BandPassFilter h[n] on a series x[n] 2. Then Decimate the series by a factor D such that y[k]=x[k*D] The decimation factor is considerable (10,000) so that filtering before the decimation, using convolve(), seems foolish. Can you think of an R implementation for a polyphase filter, that uses the fact that most samples will be thrown away...?
2012 Mar 05
0
Having a problem with R installation as a shared library
Hello All, I suspect I am having a problem with my R installation, something that has to do with "--enable-R-shlib". Can someone explain if this is something that I can fix using apt-get? More specifically: I am having trouble getting installing the RHive package. I Installed R from scratch, following the instructions in (for example): http://cran.ru.ac.za/bin/linux/ubuntu/