search for: examplify

Displaying 8 results from an estimated 8 matches for "examplify".

Did you mean: amplify
2009 May 16
3
How to save R "clean" sessions in BATCH mode?
Thanks a lot for all of you that have reply me about opening and ending R workspaces in BATCH mode. However replies were a king general and I?m afraid I could not take the entire message from them. Therefore I chose to expose here a representative fraction of my work. I have 50 Rdata files (F1,F2,F3,F4, ,F50) with objects inside. I need to: open F1: - perform some simple operations
2008 Jul 29
2
'for' loop, two variables
Dear Rusers, I am still an unexperienced builder of functions and loops, so my question is very basic: Is it possible to introduce a second variable (j) into my loop. To examplify: # This works fine: fn <- function (x) {if (x>46 & x<52) 1 else 0} res <-NULL for (i in 40:60) res <-c(res,fn(i)) res # But here, there is an error in the "for" expression: fn <- function (x,y) {if (x>46 & x<52 & y<12) 1 else 0 } res <-...
2005 Mar 18
1
RE: problem with Dates
...; To: "r-help@lists.r-project.org" <r-help@stat.math.ethz.ch> Message-ID: <opsntv38wtk0a1dr@petter-smart> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Hello! My problem is that the Julian date "behind" my dates seems to be wrong. I will examplify my problem. t1 <- "1998-11-20" t2 <- as.Date(t1) # Here t2 is correctly "1998-11-20", but date.mdy(t2) $month [1] 11 $day [1] 19 $year [1] 1988 And indeed, if I write: fix(t2) then I get : structure(10550, class = "Date"). So the Julian date is 10550, which i...
2004 Dec 20
1
muliple plots with pairs (matrix of scatter plots)
I am trying to make a graph with 4 scatter matrixes plots and couldn't do it. While trying to find a solution for this I also came across the idea of giving different values to the same argument for each of the lower and upper function but couldn't do it. (Examplified below with the col argument). The first problem of plotting 4 scatter matrixes in a graph is a problem of real
2010 Jan 04
2
MLE optimization
Folks, I'm kind of newbie in R, but with some background in Matlab and VBA programming. Last month I was implementing a Maximum Likelihood Estimation in Matlab, but the algorithms didn't converge. So my academic advisor suggested using R. My problem is: estimate a mean reverting jump diffusion parameters. I've succeeded in deriving the likelihood function (which looks like a gaussian
2012 Jan 13
0
WISHLIST: Be able to timeout readline()/stdin via setTimeLimit in all consoles
...imit", package="base") documentation says: "Time limits are checked whenever a user interrupt could occur. This will happen frequently in R code and during Sys.sleep, but only at points in compiled C and Fortran code identified by the code author." Maybe one could clarify/examplify(?) by adding: "Depending on the type of console, timeouts when reading from stdio (e.g. via readline()) may not be effective until a line is completed (i.e. ENTER is pressed). HOW UPDATING SOURCE CODE TO SUPPORT INTERRUPTS? I'm not sure where this "behavior" is originating fro...
2007 Dec 26
6
DO NOT REPLY [Bug 5162] New: using iconv with pre7 chops last special character in filenames
...ncing two directories; src on winxp @ x86 dst on ubunty 7.10 64bit on my src i have hebrew filenames. while syncing, filenames are correctly converted to utf8 on the dst (otherwise they are unreadable on the linux machine) however if a filename ends with a hebrew charater it's chopped. i will examplify this transform: let a-z signify english letters and A-Z signify hebrew letters src filename -> dst filename abc -> abc ABc -> ABc ABC -> AB A -> <empty> I'm using pre release 7 with --enable-iconv=. on both machines. on cygwin i had to...
2006 Sep 13
3
group bunch of lines in a data.frame, an additional requirement
Thanks for pointing me out "aggregate", that works fine! There is one complication though: I have mixed types (numerical and character), So the matrix is of the form: A 1.0 200 ID1 A 3.0 800 ID1 A 2.0 200 ID1 B 0.5 20 ID2 B 0.9 50 ID2 C 5.0 70 ID1 One letter always has the same ID but one ID can be shared by many letters (like ID1) I just want to keep track of the ID, and get