Displaying 20 results from an estimated 500 matches similar to: "Packages, generics, S3 and S4"
2003 Jun 24
8
excel files and R
Greetings everyone,
I am new at R. My questions is rather basic. Looking R manuals looks
like there should be a way to read MS excel files into R. Could
somebody tell me which library should I use for that?
Thanks in advance
Victor H. Marín
Laboratorio de Modelación Ecológica
Depto. de Ciencias Ecológicas, Fac. de Ciencias,
Universidad de Chile
Casilla 653 Santiago, Chile
2003 Jun 06
3
irregular time-series
I make quite a lot of use of irregular time-series, and had already spent a
bit of time writing an 'its' class when the 'irts' class was released via
the package 'tseries'.
I have experimented with the 'irts' class, and have some practical issues
with its use. In some applications of irregular time-series (in my case
these are financial and econometric) there are
2003 Aug 11
1
New package: irregular time-series (its)
I have uploaded to CRAN a new package named 'its' (Irregular Time-Series).
It
implements irregular time-series as an S4 class, extending the matrix class,
and records the time-stamp of each row in the matrix using POSIX. Print,
plot,
extraction, append, and related functionality are available.
Feedback and suggestions are welcome.
Giles Heywood
2003 Aug 11
1
New package: irregular time-series (its)
I have uploaded to CRAN a new package named 'its' (Irregular Time-Series).
It
implements irregular time-series as an S4 class, extending the matrix class,
and records the time-stamp of each row in the matrix using POSIX. Print,
plot,
extraction, append, and related functionality are available.
Feedback and suggestions are welcome.
Giles Heywood
2002 Oct 17
0
RE: R2HTML package for R 1.6
Does this help on our backtest reporting?
Regards,
Gordon Morrison
Global Head of Quantitative Research
> * + 44 20 7653 7642
> Mob: + 44 7867 801951
> fax: + 44 20 7645 7442
> * mailto:gordon.morrison at commerzbankib.com
> web: http://www.cbksec.com/research/quant
> * Commerzbank Securities
> 60 Gracechurch Street
> London EC3V 0HR, U.K.
>
2003 Nov 04
2
Object saved from 1.7.1, loaded in 1.8.0
I am having difficulty using in 1.8.0 an object created under 1.7.1. The
following is a 'minimal example' of the issue. First the part in 1.7.1:
> require("methods")
[1] TRUE
> setClass("foo",representation("vector",label="character"))
[1] "foo"
> x <- new("foo",1:2,label=LETTERS[1:2])
>
2004 Oct 25
1
copyright issues when package maintainer changes
I will be taking over as maintainer of the its package from Giles Heywood.
The code was originally written while he was working at Commerzbank. I have
added the header below to the top of the R source file to indicate the
changes in the copyrights for the code. The package was originally released
under GPL2. I have no experience with copyright issues, and would
appreciate it if someone who does
2004 Jan 08
3
S3, S4, namespace
I have encountered an issue which I have been unable to resolve, involving
an S3 generic (print) being declared S4 generic in a package, and the method
being exported. This all works fine - the problem occurs when I try to
import the method to another package.
Here is the bit that works fine. -------------
#the .r file for package bar
2004 Mar 03
1
match.call(), S4
I get different results from match.call(), according to whether a function
is dispatched via S3 or S4. Specifically, when I use S4 dispatch in the
following example, the match.call() result is of length 1 less than I
expect. I need to add an extra comma to get the same results as in the S3
method.
--------example
setClass("foo",representation("matrix"))
2002 May 28
1
constrained regression
I want to do a linear regression where the coefficients
obey two linear constraints, and also are all non-negative.
What is the best way to do this? Computational speed is a
consideration as I must do it many times.
When this question was asked previously on the list, quadprog
was suggested - is this the best solution?
(I may have missed something obvious in the documentation,
but I have
2004 Feb 26
2
package 'stats' needs import directive for 1.9.0?
I maintain the Irregular Time Series (its) package on CRAN. I am currently
testing a release. Under 1.8.1 I am able to define a S4 generic 'start' as
follows:
if(!isGeneric("start")) {setGeneric("start", useAsDefault=start)}
Under 1.9.0, Rcmd check generates an error, as 'start' is not recognised.
If I use the NAMESPACE directive IMPORT, all is well:
2007 Apr 11
1
NT_STATUS_IO_TIMEOUT
Samba occasionally fails with the following. I have seen many questions
regarding this but no answers unfortunately. I am wondering what the
setting is where I can increase this time out value of 10000
milliseconds in case that specific request is just slow. This is called
many times a day and only just occasionally fails.
I have looked through the entire manual for smb.conf and can't find a
2003 Sep 08
2
Yet another beginner question
Thanks for all the help on my earlier questions.....
How do you plot a simple time series with unequal intervals? I have
the following
dateofpoll <- as.ts(c("6/1/02", "7/1/02", "10/1/02", "1/4/03",
"1/25/03",
"6/7/03", "7/16/03", "8/17/03", "9/4/03"))
reelect <- c(51, 47, 49, 51, 49, 49, 46, 45, 40)
2009 Apr 26
4
Scatterplot of two groups side-by-side?
Dear all
I'm realy new to R, so I hope you can help me, as I didn't find any solution in the common books.
Since some days I'm trying to create the following plot: A scatterplott showning two different groups side-by-side with according regression lines. Both datasets only have the same five factors, so the scatters will form a kind of column at each factor. When I use
2001 Nov 28
1
Assignment to a list in a function
Assignment to a list in a function does not behave as I would expect.
The following function illustrates the point
#----------------------------------------
temp _ function()
{
nf _ 2
ns _ 5
z _ vector("list",ns)
x _ matrix(NA,nrow=ns,ncol=nf)
for(j in 1:ns)
{
for(i in 1:nf)
{
x[,i] _ i+j*100
}
z[[j]] _ x
print(z[[j]])
}
z
}
2006 Jul 22
3
Multcomp
Here it is again, hope this is more clear
I am using the following data (only a small subset is given):
Habitat Fungus.yield
Birch 20.83829053
Birch 22.9718181
Birch 22.28216829
Birch 24.23136797
Birch 22.32147961
Birch 20.30783598
Oak 27.24047258
Oak 29.7730014
Oak 30.12608508
Oak 25.76088669
Oak 30.14750974
Hornbeam 17.05307949
Hornbeam 15.32805111
Hornbeam 18.26920177
Hornbeam 21.30987049
2006 Oct 19
0
Rug-like density plots on margins of figure
Hi everyone,
I'm trying to plot density curves on the axes of a plot, in a
similar way to the 'rug' function.
I have had a look at a few approaches and libraries, including:
* layout http://addictedtor.free.fr/graphiques/RGraphGallery.php?
graph=78
* fancygraph http://addictedtor.free.fr/graphiques/RGraphGallery.php?
graph=81
* ggplot - gave up since it needs R 2.3.0 and
2003 Feb 24
3
Test suites
I have a collection of functions, class definitions and methods which I
would like to test systematically for their correctness after changes to
their code, and also after major R revisions. I believe that the correct
term for these systematic tests (as opposed to more informal tests) is a
'test suite'. Does anyone [apart from Pat Burns :-) ] have code, or
templates, or specific
2007 May 10
1
CombineZ5
Hello
I am trying to run Combine Z5 under wine (my version is 0.9.4)
and have several probems
has anyone succeeded in running this very useful program for
macrophotography ?
http://www.hadleyweb.pwp.blueyonder.co.uk/CZ5/combinez5.htm
Thanks
Fungi