search for: examplifi

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

Did you mean: examplify
2009 May 16
3
How to save R "clean" sessions in BATCH mode?
...end a workspace and open one from the scratch to avoid mixing files from consecutive worksessions, and thus using R memory unnecessarily. I could use rm() to delete objects from the previous sessions but it seems not an efficient task. Any suggestions on how to perform this in Batch Mode? An examplified help would be nice! Diogo Andr? Alagador http://www.biochange-lab.eu/people/diogo-alagador Biodiversity and Global Change Lab, Museo Nacional de Ciencias Naturales, CSIC, Madrid, Espa?a Forest Research Centre, Instituto Superior de Agronomia, UTL, Lisboa, Portugal
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 <-
2005 Mar 18
1
RE: problem with Dates
It seems that you have load the "survival" package date.mdy is a function from this one. In this function the "origin" of the time is the first day of 1970 in the base package the origin is the first day of 1960 it's very curious... Benjamin Esterni France From: "Vegard Andersen" <vegard.andersen@ism.uit.no> Subject: [R] Date conversion problem using
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 interest for me at this point. The second problem is a matter of curiosity. I am using a Mac PowerBook G4 with OS 10.3.7 and R 2.0.1 Problem 1) x=data.frame(a=sample(1:100, 50), b=...
2010 Jan 04
2
MLE optimization
...nd output the likelihood using the sample data (imported within the function). In order to make R optimizers to work I, apparently, should write a function that uses the parameters and the sample data as input and outputs the likelihood. Is it correct? Could someone reply with an example code which examplifies the type of function I should write and the syntax to optimize? Alternatively, could anyone suggest a good MLE tutorial and package? Thankfully, JC -- View this message in context: http://n4.nabble.com/MLE-optimization-tp998655p998655.html Sent from the R help mailing list archive at Nabble.c...
2012 Jan 13
0
WISHLIST: Be able to timeout readline()/stdin via setTimeLimit in all consoles
Hi. WISHLIST: Regardless on console, I'd like to be able to timeout a call to readline()/file("stdin", blocking=TRUE) via setTimeLimit. OBSERVATION: On Windows Rterm as well as plain R on Linux, setTimeLimit() does not momentarily interrupt from stdin, but only after hitting RETURN. A few examples: timeout00 <- function() { setTimeLimit(elapsed=5); Sys.sleep(10); }
2007 Dec 26
6
DO NOT REPLY [Bug 5162] New: using iconv with pre7 chops last special character in filenames
https://bugzilla.samba.org/show_bug.cgi?id=5162 Summary: using iconv with pre7 chops last special character in filenames Product: rsync Version: 3.0.0 Platform: x86 OS/Version: Windows XP Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org
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