similar to: read.table and decimals

Displaying 20 results from an estimated 400 matches similar to: "read.table and decimals"

2003 Feb 13
3
OO programming in R
Dear, I'm looking for some examples on OO programming in R. I have the programming manual with explanation on UseMethod and NextMethod but I miss some practical examples to get me going (I hope). I searched the web but could not find a good independent tutorial on this. Any suggestions are welcome, Kris -- ------------------------------------------------------------------------
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 --
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 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
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!
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
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
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. --
2010 Jul 13
0
circumvent the proxy user
Hello everybody, my company wants to integrate all Unix servers into active directory. For "normal" account management I decided more or less to go down the winbind route. To have all information in one place, we also want to put sudoers in the AD. Now the question is, how can I access the information ? I don't think, winbind can provide sudoers information. So, I guess I have to
2005 Feb 18
2
can't specify username under WinXP
Hello! One little problem when accessing Samba shares that require password authentication. I have WinXP. When clicking on the name of share in the Network Neighbourhood, I get prompt for password. But the user name field is greyed out and is preset to "guest". So I can't specify needed username. If I try to access password protected share created on some other Windows machine, then
2006 Jul 21
1
saving money as decimals now ok?
Now that Rails core converts a database''s decimal type into a Ruby BigDecimal type, is it ok to now store money information as a decimal in the database (instead of an integer)? Joe
2006 Jul 27
1
Form entries with decimals generating float errors
I have "time estimated" and a "time spent" fields in my task form. In my tasks table I have the "time_estimated" and "time_spent" rows assigned as float types. I''ve also tried setting them to decimal (4,2) with no luck. When I submit the form the error reads "NoMethodError in TasksController#create" then "Undefined method
2011 Apr 13
1
Decimals in R/SQL
Hello, When I am writing in sqldf or RSQLite I lose the decimals in my matrix. The only way I can get decimals is by multiplying by 1.00000, etc. I have tried manipulating the options, but it is only effective once I multiply by 1.0000. I appreciate any suggestions! Thanks! Example: z <- sqldf ("select ST, SUM(AGEP*PWGTP)*1.000000000/SUM(PWGTP)*1.00000000000000 as wgtage from ss09
2006 Apr 08
1
Entering numbers with decimals
Hello list, I'm just getting started with R, and I'm trying to determine how R treats large numbers that have decimals. Take the following two examples: > x <- c(999999999999999.9) > sprintf("%.5f",x) [1] "999999999999999.87000" > y <- c(9999999999999999.9) > sprintf("%.5f",y) [1] "10000000000000000.00000" I realize that I have
2013 Feb 05
1
How to menage decimals in order to obtain accurate estimates
Hi, I'm trying to calculate some functions loop, unfortunately my data are decimal numbers that not allow me to get an accurate estimate. I do not want to use neither "round "nor "signif" but I would prefer to have all the information available, (the function loop is generic so you should adapt to all data, not just those in particular). The approximation error is