search for: seers

Displaying 20 results from an estimated 38 matches for "seers".

Did you mean: seems
2006 Jun 09
4
HTML nsmall vector format problem
...t;/td><td class=cellinside>3.0</td></tr> i.e. first column with 3 digits after the decimal place and the second column with 1 digit after the decimal place. It appears to only use the first value in the vector. Has anybody got any suggestions? Thanks for any help. John Seers --- John Seers Institute of Food Research Norwich Research Park Colney Norwich NR4 7UA tel +44 (0)1603 251497 fax +44 (0)1603 507723 e-mail john.seers@bbsrc.ac.uk e-disclaimer at http://www.ifr.ac.uk/edisclaimer/ <http://www.ifr.ac.uk/edisclaimer/> Web s...
2007 Nov 16
7
sorting factor levels by data frequency of levels
using an example from r online help > state <- c("tas", "sa", "qld", "nsw", "nsw", "nt", "wa", "wa", "qld", "vic", "nsw", "vic", "qld", "qld", "sa", "tas", "sa", "nt", "wa", "vic",
2006 Sep 26
2
Vectorise a for loop?
...tfold<-function(tt) { fold<-NULL for (i in 1:length(tt$M)) { if (tt$M[i] < 0 ) { fold[i]<-1/(2^tt$M[i]) } else { fold[i]<-2^tt$M[i] } } tt<-cbind(tt, fold) } # Add fold column to top tables topa1<-ttfold(topa1) Regards J --- John Seers Institute of Food Research Norwich Research Park Colney Norwich NR4 7UA tel +44 (0)1603 251497 fax +44 (0)1603 507723 e-mail john.seers@bbsrc.ac.uk <mailto:john.seers@bbsrc.ac.uk> e-disclaimer at http://www.ifr.ac.uk/edisclaimer/ <http://www.ifr.ac.uk/edisclaimer/> Web sites: w...
2004 Sep 17
1
Help w/ custom pkg: ERROR: installing package indices failed
...combineMortalityData text html latex getAgeAdjustmentCounts text html latex getAllStageIncidence text html latex getMortByStage text html latex getRunResults text html latex getSeerStageInflateMatrix text html latex inflateSeerData text html latex loadIncidenceData text html latex loadMortalityData text html latex loadRRSurvData text html latex loadSeerData...
2008 Feb 01
6
Accessing the elements of a list
Hi R, I wanted to know how do we access the elements of a list. In particular, v=list(c(1,2,3,4,5),c(1,2,33,4,5),c(1,2,333,4,5),c(1,2,3333,4,5)) I want to access all the thirds items of the elements of the list. i.e., I want to access the elements, 3,33,333,3333. This can be done through sapply as: sapply(v,function(x) x[3]) But I need to access this without using
2006 Nov 09
2
Closing R fails
...ls package. If I load the R.utils package I can close R successfully. But I do not want to have to do this every time I run R. Is there any way I can switch off /reverse this behaviour? (I have had a look in the archives/documentation but cannot find a solution). Thanks for any help. John Seers > R.version$os [1] "mingw32" > R.version.string [1] "R version 2.4.0 Patched (2006-10-29 r39744)" > [[alternative HTML version deleted]]
2008 Jul 10
2
false discovery rate !
Dear All, It is not a typical R question (though I use R for this) but I thought someone will help me. For the list of P values, I have calculated FDR using p.adjust() in R (bioconductor). But my FDR values are same for all the P values. When do we get same FDR values? Does the smallest P values should less than 1/N? (where N is the number of P values) Thanks in advance. Kind regards, Ezhil
2009 Dec 23
2
A package for visualizing R syntax
Dear all, I have written a small set of functions for drawing graphical representations of R objects and evaluations of R expressions. It is mainly intended for pedagogical purposes. Here are some samples: http://panini.u-paris10.fr/~sloiseau/sampleGraphics.pdf The idea is to use some graphical conventions in order to make clear the abstract syntax and to explain function, extraction,
2006 Nov 20
3
problem with loop to put data into array with missing data forsome files
...However I just downloaded the file fine (as far as I can tell) so you are welcome to have a copy. I can email it to you if you want. I do not think your test for NA is valid. i.e if(test != "NA"){ } I think you should use if(is.na(test)){ } Or something similar. J --- John Seers Institute of Food Research Norwich Research Park Colney Norwich NR4 7UA tel +44 (0)1603 251497 fax +44 (0)1603 507723 e-mail john.seers at bbsrc.ac.uk e-disclaimer at http://www.ifr.ac.uk/edisclaimer/ Web sites: www.ifr.ac.uk www.foodandhealthnetwork.com -----Or...
2011 Mar 01
1
RWinEdt difficulties
...Program Files (x86)\WinEdt Team\WinEdt 6\R.ini""' execution failed with error code 1 > Does it matter if you are using 64 bit R and the 32 bit WinEdt? (I have tried 32 bit R). Does RWinEdt work with WinEdt 6.0? Can anybody suggest a solution? Thanks for any help. Regards John Seers ********************************************************************************************************** ********************************************************************************************************** [[alternative HTML version deleted]]
2008 May 16
2
Getting JRI/rJava to work
...upplied. I compile and run the example supplied (rtest.java) and get the results below. I do not think the notes about a deprecated API are a problem. But I do not know what causes the unsupported conversion messages. Versions used etc below. Any ideas please? Thanks for any help. Regards John Seers ######################################################################## #################### C:\temp\JRI\examples>javac -cp "C:/Program Files/R/mylibrary/rJava/jri/JRI.jar" rtest.java Note: rtest.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for de...
2007 Jul 04
2
Loop and cbind
Hi, I would like to apply the following function for i between 1 and 12, and then construct a list of the return series. for (i in 1:12){ ewma[i] <- emaTA(calm[[i]]^2,0.03) standard[i]<- calm[[i]]/sqrt(ewma[i]) standard <- cbind(standard[i]) } But it does not work. Could anyone give me some advice how can I achieve this? Many thanks -- View this message in context:
2009 Jan 19
2
How to assign names in a list
Hi All How can you associate names with a list when names have not been assigned? For example if you have a list like this: list2<-list(1,2,3) list2 [[1]] [1] 1 [[2]] [1] 2 [[3]] [1] 3 How do you make it look like this with names? : f1<-1 f2<-2 f3<-3 list1<-list(name1=f1, name2=f2, name3=f3) list1 $name1 [1] 1 $name2 [1] 2 $name3 [1] 3 Thanks for any help. I expect
2003 Mar 12
2
Backup - suggestions needed....
Linux RH 7.3, Samba 2.2.7a NT 4.0 SP6 - Backup Exec 8.5 The linux box is running the Backup Exec client for Unix ('http://seer.support.veritas.com/docs/192093.htm') Occasionally, when doing a backup the entire linux system freezes. I have to do a hard reboot without a shutdown, etc. There is 40 plus gigs on the backup, so I dont think a tar and copy would be bery efficient. I am
2004 Apr 05
1
winbind stops authenticating until a restart.
I'm runnign Samba 3.0.2a on Suse Linux 8.2 and I've the same problem as descriped here http://lists.samba.org/archive/samba/2003-July/070784.html . Is this problem already solved. If yes can anybody tell me how? best regards thomas Thomas Lang, INTENTIA Austria System Engineer Seering 5/32, A-8141 Unterpremst?tten / AUSTRIA Phone: +43 (0) 3135 56550 Cell Phone: +43 (0) 664 6119619
2008 Feb 19
4
How to join path with arguments
Hi, all How to format and join strings ? For example, like following short python examples. ********* name1 = 'sample-plot' filename = '%s.png' % name1 inputdir = '/path/to/dir' os.path.join(inputdir, filename) ********** Best, Hyunchul Kim [[alternative HTML version deleted]]
2011 Jun 29
1
RWinEdt
...not open. I can open it manually (since the package installation created a desktop shortcut ("RWinEdt"). If a line of R code is highlighted in RWinEdt and sent to the R Console with Alt+p, the focus shifts to R console but nothing is copied. This has come up before in a message from John Seers on 2 Mar 2011. Uwe suggested this: "One installing RWinEdt the first time, please run R with Administrator privileges (right click to do so). Then installation should work smoothly with WinEdt < 6.0." I'm running WinEdt 5.5. I followed Uwe's suggestion but get the message ab...
2006 Apr 20
2
R-Help
Dear r-users, Suppose I have three datasets: Dataset-1: Date x y Jan-1,2005 120 230 Jan-2,2005 123 -125 Jan-3,2005 -110 300 Jan-4,2005 114 -21 Jan-7,2005 11 299 Mar-5,2005 200 311 Dataset-2: Date x y Jan-2,2005 123 -125 Jan-3,2005 -110 300 Jan-4,2005 114 -21
2012 Nov 13
5
Getting information encoded in a SAS, SPSS or Stata command file into R.
Dear folks ? I have a large (26 gig) ASCII flat file in fixed-width format with about 10 million observations of roughly 400 variables. (It is 51 years of Current Population Survey micro data from IPUMS, roughly half the fields for each record). The file was produced by automatic process in response to a data request of mine. The file is not accompanied by a human-readable file giving the
2006 Nov 01
4
splitting very long character string
Hello, I've a very long character array (>500k characters) that need to split by '\n' resulting in an array of about 60k numbers. The help on strsplit says to use perl=TRUE to get better formance, but still it takes several minutes to split this string. The massive string is the return value of a call to xmlElementsByTagName from the XML library and looks like this: ... 12345