similar to: OO programming in R

Displaying 20 results from an estimated 600 matches similar to: "OO programming in R"

2002 Nov 22
4
Use of variables to reference to objects
Hi, I'm new to R and looking for a way to use a variable to reference to an object. I'm plotting several graphs on top of each other and want to do this by a for loop. The field I want to graph have names like a1,a2,a3, ... I can't figure out how to get this working: It should look like this: lines(spectral$Wavelength,paste("spectral$a",j,sep=""),col=j) but
2002 Dec 11
2
Can't find nls()
Hi, I looked for the nls() function and couldn't find it. In the refman.pdf it's mentioned as part of the nls package which I cannot find and I also read something about the MASS package, also impossible to find for me. Kris -- ------------------------------------------------------------------------ http://perswww.kuleuven.ac.be/~u0027178/VCard/mycard.php?name=krisn
2003 Mar 25
1
geoR vector length error
Dear, we have a problem with geoR. We try to read an ASCII table (x,y,z) with 40000 lines. With read.geodata we get the error: Error in vector("double", length) : cannot allocate vector of length 799980000 We can read the file without any problem with read.table, but trying to convert it to the geodata class gets the same error. Any help/tips would be appreciated. Kris, Dave --
2003 Apr 22
1
read.table and decimals
Dear, We are trying to read an asciifile using the read.table() function and discovered that only 4 decimals are read. Any idea how to get more decimals? Kris -- ------------------------------------------------------------------------ http://perswww.kuleuven.ac.be/~u0027178/VCard/mycard.php?name=krisn ------------------------------------------------------------------------ Minds are
2003 Oct 11
1
interpolation methods
Hello all, I want to interpolate some data i prepared in GRASS, so I'm looking for what interpolation methods are available for R. In GRASS I can do Splines with tension and IDW. I'm looking for something like multiquadric equations. Is there any function/package available fo rthis? thanks all -- +-------------------------------------------------+ Carlos Henrique Grohmann de
2003 Aug 21
2
Read date for timeserie object
Dear all, Is there a simple trick to read in data with the following format and create a Time Serie object of it? Date CountOfField2 5/10/1998 7 5/11/1998 5 5/12/1998 2 5/14/1998 1 5/15/1998 1 5/19/1998 1 5/20/1998 1 5/21/1998 1 5/24/1998 2 5/25/1998 1 5/26/1998 2 .... 2002 ... R should recognize that some dates are not available...(NA). You can define start and end date Ok, and frequency= 365
2002 Dec 01
1
Logistic regression
Hi, I can't figure out how to get the P-values out of the summery of a logistic regression. I used: logit.out <- glm(...) and then I should be able to extract just the P values for the coefficients. Any idea? Kris -- ------------------------------------------------------------------------ http://perswww.kuleuven.ac.be/~u0027178/VCard/mycard.php?name=krisn
2003 Aug 14
1
Contouring irregular xyz data via TIN
Dear, I have XYZ data available in a MySQL database. I get it out, can plot the data with the plot() function, load it into a geoR datastructure. But what I actually would like to do is a simple contouring of the data based on a no Kriging interpolation such as TIN based. I know the first thing I shold do is interpolate a full matrix for the region I have my points for, then contour should
2003 Sep 01
2
readcsvIts() to create irregular time series
Dear, Thanks for the previous tips about 'its' for importing the following data. 5/10/1998,7 5/11/1998,5 5/12/1998,2 5/14/1998,1 5/15/1998,1 5/19/1998,1 5/20/1998,1 1. When using the following command; test<-readcsvIts('Fires98.csv',informat=its.format("%m/%d/%Y"),header=FA LSE) the function reads in the data from the csv file as; V2 05/10/1998 7
2003 Aug 11
0
tsdiag and tsStructure for np,ns,nt and nl determination
Hi R-Helpers, I'm dealing with the STL procedure and trying to apply the tsdiag and StructTS onto the ts object to analyse the different parameters which need to be set. How can I use the tsStructure & tsdiag to create a seasonal, trend and cycle subseries plot so that I can select & analyse the correct np,ns, nt and nl? The problem is that too much signal goes into the seasonal
2003 Jul 30
2
STL- TimeSeries Decomposition
Dear R Helpers, Currently I'm working with the ts package of R and created a TimeSerie from pixels extracted from satellite imagery(S10 NDVI data, 10 daily composites). I'm trying to decompose this signal in different signals (seasonal and trend). When testing out the STL method is says => Only univariate timeseries are allowed, but the current Timeserie I'm using is univariate!
2005 Jun 06
2
mISDN + chan_misdn.so + winbond issue
Hi all, Does anybody of you have the winbond w6692 working with the mISDN/chan_misdn.so? When loading chan_misdn.so from Asterisk, I get a "No lower Id port:1" error. The /var/log/messages file says: "MISDN free_device: entitylist not empty" I'm using Linux 2.6.11.11 + mISDN-CVS-2005-05-01 + Asterisk 1.0.7 + Zaptel 1.0.7 chan_misdn build from chan_misdn-beta-0.0.3-rc6
2009 Jan 13
1
sound
I used to have sound when i first installed wine, it stopped after a crash, then i noticed that it auto mutes the sound when i run any program with wine, i unmute it but still cant get no sound. Does anyone know how to fix this? I have tried pasdp but i get the following error: bash: pasdp: command not found
2007 Mar 09
1
help com1
I am having an issue with a windows app I installed. I am running wine 20050310 on kubuntu Edgy. Everything in the app seems to be functioning fine except com1. I am not able to access the hardware (microcontroller) via com1 at all. I checked the .wine/fake_windows/dos_driver/com1 shortcut and it exists. What can I do to fix this issue and get my software and linux to open com1? Thanks. --
2008 Jul 22
2
Table orderd by frequencies
Dear List, I try to order the output of a table by the frequencies of the vector I am look at. The object I am looking at is a factor with a lot of levels that were named only once. Therefore it would be much easier to order the output by the frequencies of the levels. E.g. > levels(a) "a" "b" "c" "d" Preferred outcome: table(a) b c a d 10 5 1 1
2008 Jul 24
3
incrementing for loop by 2
Dear List-serv members: How can I structure a for loop so that it will increment the counter by two using R? I am just looking for a simple example that shows where the incrementing part should go. Thanks! Jennifer -- Jennifer Hayes Clark Assistant Professor Department of Political Science University of Houston Houston, TX 77204-3011 [[alternative HTML version deleted]]
2008 Jul 18
2
generate repeats of a vector's elements
Dear all, I have got a question for generating repeats of a vector's elements. Please don't hesitate to email me back and say that it is very easy although I can't find a method to solve it. If I have a n-vector b, whose elements are b[1], b[2], ..., b[n], how can I generate such a vector b[1], b[1], b[2], b[1], b[2], b[3], b[1], b[2], b[3], b[4], ......, b[1], b[2], ...,
2008 Jul 21
3
vector help
hi I have vector test. It has 3 elements. I want to join the three into one vector. "Geneset=HSA04910_INSULIN_SIGNALING_PATHWAY-157- 20". how can i do it. > class(test) [1] "character" > test [1] "Geneset=HSA04910_INSULIN_SIGNALING_PATHWAY" "157" [3] "20" Ramya --
2008 Jul 25
3
Help with rep
Hi Is it possible to use the rep command (or maybe some other "shortcut") to create a vector with the following format: 4 3 4 2 3 4 1 2 3 4 Any help is much appreciated. Thanks Jacob Jacob L van Wyk Department of Statistics University of Johannesburg, APK Box 524 Auckland Park 2006 South Africa Office Tel: +27 11 559 3080 Fax: +27 11 559 2832 [[alternative HTML version
2008 Aug 20
4
Conversion - lowercase to Uppercase letters
I would like to know how to convert a string with characters to all uppercase or all lowercase? If anyone could let me know if there exists a function in R for the conversion, that will be very helpful. Regards, Suman [[alternative HTML version deleted]]