Displaying 20 results from an estimated 10000 matches similar to: "Use of variables to reference to objects"
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 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
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
2004 Oct 26
2
integration problem
Dear R users,
I have spectral data (say, wavelength vs. extinction coefficient) for
which I??d like to calculate an integral (i.e. the area underneath the
curve).
Suppose the (artificial) dataset is
lambda E
1 2
2 4
3 5
4 8
5 1
6 5
7 4
8 9
9 8
10 2
How can I calculate an integral for these values using R?
Many thanks for any help!
Regards
Christoph
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
2007 Oct 16
1
data structure for plsr
All,
I am working with NIR spectral data and it was great to find that the example in ?plsr also used spectral data. Unfortunately, I am having difficulty figuring out how the "yarn" dataset is structured to allow for the plsr model to read:
library(pls)
data(yard)
yarn.oscorespls <- mvr(density ~ NIR, 6, data = yarn, validation = "CV", method = "oscorespls")
2009 Mar 03
3
PLS regression on near infrared (NIR) spectra data
Dear collegues,
I´ ve worked with near infrared (NIR) spectroscopy to assess chemical,
physical, mechanical and anatomical properties of wood.
I use "The Unscrambler" software to correlate the matrix of dependent
variables (Y) with the matrix of spectral data (X) and I would like to
migrate to R. The matrix of spectral variables is very large (2345 columns
and n lines, where n =
2007 Nov 21
1
Different freq returned by spec.ar() and spec.pgram()
Dear list,
I've recently become interested in comparing the spectral estimates
using the different methods ("pgram" and "ar") in the spectrum()
function in the stats package.
With many thanks to the authors of these complicated functions, I
would like to point out what looks to me like a bit of an
inconsistency -- but I would not be surprised if there is good
reasoning
2011 Feb 11
4
When is *interactive* data visualization useful to use?
Hello all,
Before getting to my question, I would like to apologize for asking this
question here. My question is not directly an R question, however, I still
find the topic relevant to R community of users - especially due to only *
partial* (current) support for interactive data visualization (see here:
http://cran.r-project.org/web/views/Graphics.html were with iplots we are
waiting for
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
2009 May 15
2
Using column length in plot gives error
Hi
I'm trying to write a generic script for processing some data which finishes
off with some plots. Given Im never sure how many columns will be in my
dataframe I wanted to using the following
plot(spectra.wavelength, cormat, type = "l", ylim=c(-1,1), xlab="Wavelength
(nm)", ylab="Correlation")
however even if I specify as type="l" it appears plot
2009 Oct 27
4
automatically adjusting axis limits
Dear R users,
I am a newbie. Just switched from MATLAB. So thanks a lot for your
patience.
I have 50000 spectra collected in field. Each spectra has two columns :
Wavelength (56) and the actual measurement.
Each measurement came in a different .txt file on disk (50000 files in
total). I wrote a script that reads every spectra in a for loop and
constructs two variables :
Wavelength (56) and
2005 Aug 05
3
Is this echo problem down to IP Phone hardware?
Hello
I have a Grandstream GXP2000 with latest firmware. When I use it holding the handpiece I don't hear any echo - neither does other end. However, if I use it handsfree, the other end notices echo when they speak - ie their voice is echoy. I hear their voice being a bit echoy.
Is this purely down to the IP Phone? Is there anything I can do about it? I considered buying a more
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!
2012 Apr 24
1
Nested longitudinal data
Hi,
I have some difficulty in figuring out whether I am doing correct or not.
A brief introduction about the work: It is a light/dark choice test
conducted in insect larvae. The response is binary (0- present in dark
area, 1-present in light area) and the experiment is run for 15 min, so
there are 15 repeated measurements per individual larva at 1 min
intervals. The factors which affect