Re: [R] reference in article

2007-05-02 Thread Doran, Harold
citation() 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tomas Mikoviny
 Sent: Wednesday, May 02, 2007 11:44 AM
 To: r-help@stat.math.ethz.ch
 Subject: [R] reference in article
 
 Hi all R positive,
 
 does anyone know how to refer R  in article?
 
 thanks
 
 tomas
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide 
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] reference in article

2007-05-02 Thread Dimitris Rizopoulos
try

citation()


Best,
Dimitris


Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://med.kuleuven.be/biostat/
 http://www.student.kuleuven.be/~m0390867/dimitris.htm


- Original Message - 
From: Tomas Mikoviny [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Sent: Wednesday, May 02, 2007 5:44 PM
Subject: [R] reference in article


 Hi all R positive,

 does anyone know how to refer R  in article?

 thanks

 tomas

 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide 
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.
 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] reference in article

2007-05-02 Thread Thomas Lumley
On Wed, 2 May 2007, Tomas Mikoviny wrote:

 Hi all R positive,

 does anyone know how to refer R  in article?


Every time you start R it says (in part)

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

-thomas

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] reference in article

2007-05-02 Thread Peter Dalgaard
Tomas Mikoviny wrote:
 Hi all R positive,

 does anyone know how to refer R  in article?

 thanks

 tomas
   
Like this (well, almost!  This is from R 2.4.1 - 2007 on the most recent
version)

 citation()

To cite R in publications use:

  R Development Core Team (2006). R: A language and environment for
  statistical computing. R Foundation for Statistical Computing,
  Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.

A BibTeX entry for LaTeX users is

  @Manual{,
title = {R: A Language and Environment for Statistical Computing},
author = {{R Development Core Team}},
organization = {R Foundation for Statistical Computing},
address = {Vienna, Austria},
year = {2006},
note = {{ISBN} 3-900051-07-0},
url = {http://www.R-project.org},
  }

We have invested a lot of time and effort in creating R, please cite it
when using it for data analysis. See also ‘citation(pkgname)’ for
citing R packages.


 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.
   


-- 
   O__   Peter Dalgaard Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Reference to dataframe and contents

2007-02-04 Thread John Fox
Dear Rene,

There are several ways to do what you want, including get(s1)[,S2].

I hope this helps,
 John


John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Rene Braeckman
 Sent: Sunday, February 04, 2007 3:43 PM
 To: r-help@stat.math.ethz.ch
 Subject: [R] Reference to dataframe and contents
 
 This is probably easy for experienced users but I could not 
 find a solution.
  
 I have several R scripts that process several columns of a 
 dataframe (several dataframes and columns actually, but 
 simplified for my question).
 
 References such as:
  
 myDF$myCol
  
 are all over. I like to automate this for other dataframes 
 and columns by defining a reference only once in the 
 beginning of the script.
 
 One idea is to use strings:
 
 s1 - myDF
 S2 - myCol
 
 My question is how to construct the equivalent of myDF$myCol 
 that can be used as such. Or is there a better solution?
 
 Thanks. The help and discussions on this forum are the best.
 Rene
 -
 Rene Braeckman, PhD
 Clinical Pharmacology  Pharmacometrics
 Irvine, California, USA
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide 
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Reference to dataframe and contents

2007-02-04 Thread Charilaos Skiadas
On Feb 4, 2007, at 3:42 PM, Rene Braeckman wrote:

 My question is how to construct the equivalent of myDF$myCol that  
 can be
 used as such. Or is there a better solution?


I think what you want is ?with and wrapping the whole work you want  
to do in a function.

 Thanks. The help and discussions on this forum are the best.
 Rene

Haris

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Reference to dataframe and contents

2007-02-04 Thread Duncan Murdoch
On 2/4/2007 3:42 PM, Rene Braeckman wrote:
 This is probably easy for experienced users but I could not find a solution.
  
 I have several R scripts that process several columns of a dataframe
 (several dataframes and columns actually, but simplified for my question).
 
 References such as:
  
 myDF$myCol
  
 are all over. I like to automate this for other dataframes and columns by
 defining a reference only once in the beginning of the script.
 
 One idea is to use strings:
 
 s1 - myDF
 S2 - myCol
 
 My question is how to construct the equivalent of myDF$myCol that can be
 used as such. Or is there a better solution?

I'd pass myDF and the name of the column as a parameters to the 
function, e.g.

myfun - function( DF, column ) {
   do something now with DF[, column]
}

then call it as

myfun(myDF, myCol)

Duncan Murdoch

 Thanks. The help and discussions on this forum are the best.
 Rene
 -
 Rene Braeckman, PhD
 Clinical Pharmacology  Pharmacometrics
 Irvine, California, USA
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] reference paper about SOM

2006-04-01 Thread Colm Connolly
On eof the best sources of info on the SOM is Kohonen's book. Try and
get this if you can.

@Book{kohonen95:_self,
  author =   {Teuvo Kohonen},
  title ={Self-organizing maps},
  publisher ={Springer},
  year = 1995,
  address =  {Berlin}
}

On 01/04/06, Linda Lei [EMAIL PROTECTED] wrote:
 Hi All,



 I'm looking for some reference paper about SOM (self organizing map)
 algorithm. I tried the paper which is mentioned in



 the help page of function som (package:som):
 http://www.cis.hut.fi/research/papers/som_tr96.ps.Z



 But I can't open it for some reason. Could you please help me with it ?



 Thanks a lot!




 [[alternative HTML version deleted]]

 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference for R

2006-02-08 Thread Johan Sandblom
citation()

2006/2/8, Sara Mouro [EMAIL PROTECTED]:
 Hello!



 Could anyone please tell me how should I include R in a text section for
 References?



 Regards,

 Sara Mouro


 [[alternative HTML version deleted]]

 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference for R

2006-02-08 Thread IAIN GALLAGHER
Hi Sara.

From the R faq here:
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Citing-R

2.8 Citing R

To cite R in publications, use

 @Manual{,
   title= {R: A Language and Environment
for Statistical
   Computing},
   author   = {{R Development Core Team}},
   organization = {R Foundation for Statistical
Computing},
   address  = {Vienna, Austria},
   year = 2005,
   note = {{ISBN} 3-900051-07-0},
   url  = {http://www.R-project.org}
 }

Citation strings (or BibTeX entries) for R and R
packages can also be obtained by citation(). 

Cheers

Iain

--- Sara Mouro [EMAIL PROTECTED] wrote:

 Hello!
 
  
 
 Could anyone please tell me how should I include R
 in a text section for
 References?
 
  
 
 Regards,
 
 Sara Mouro
 
 
   [[alternative HTML version deleted]]
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide!
 http://www.R-project.org/posting-guide.html


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] reference

2005-12-27 Thread Christian Schulz
http://www.rpad.org/Rpad/R-refcard.pdf

I have recently used R in a statistical analysis and I need to use a
reference...
If you would be kind enough to help me I would be grateful!

P.S.Georgoulia

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


  


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] reference

2005-12-27 Thread Uwe Ligges
Παναγιωτα Γεωργουλια wrote:

 
 I have recently used R in a statistical analysis and I need to use a
 reference...
 If you would be kind enough to help me I would be grateful!


Please read either the message at the very beginning of your R session, 
the R FAQ, or ...

and type:
   citation()

Uwe Ligges


 P.S.Georgoulia
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] reference

2005-12-27 Thread Graham Watt-Gremm
citation()
On 27-Dec-05, at 2:41 AM, Παναγιωτα Γεωργουλια wrote:



 I have recently used R in a statistical analysis and I need to use a
 reference...
 If you would be kind enough to help me I would be grateful!

 P.S.Georgoulia

 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting- 
 guide.html

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] reference for a fortune quote

2005-12-08 Thread Peter Dalgaard
Rajarshi Guha [EMAIL PROTECTED] writes:

 Hi, there is a quote in the fortunes package:
 
 To paraphrase provocatively, `machine learning is statistics minus any
 checking
 of models and assumptions'.
-- Brian D. Ripley (about the difference between machine learning and
   statistics)
   useR! 2004, Vienna (May 2004)
 
 
 Was this statement made in a presentation? If so, would it be possible
 to get a reference for the presentation?

Was it really that hard to mine out for yourself?

http://www.ci.tuwien.ac.at/Conferences/useR-2004/Keynotes/Ripley.pdf

(slide 7 to be precise) and 

http://www.ci.tuwien.ac.at/Conferences/useR-2004/

for the conference itself.
 

-- 
   O__   Peter Dalgaard Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Peter Dalgaard
Alvarez Pedro [EMAIL PROTECTED] writes:

 Dear R list,
 
 I have installed R 2.1.1 for Windows. In the help menu
 of the Rgui I can load all manuals except the
 reference manual. I downloaded the reference manual
 from the cran-site separately and saved it into the
 same folder as the other manuals but still it is not
 available in the menu. How can I solve this problem?
 
 Thank your for the help

Would you really want to read that cover to cover? Everything in it is
available via the on-line help system.


-- 
   O__   Peter Dalgaard Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Duncan Murdoch
Alvarez Pedro wrote:
 Dear R list,
 
 I have installed R 2.1.1 for Windows. In the help menu
 of the Rgui I can load all manuals except the
 reference manual. I downloaded the reference manual
 from the cran-site separately and saved it into the
 same folder as the other manuals but still it is not
 available in the menu. How can I solve this problem?

Re-install, and this time check the box to install that manual.  But as 
Peter says, it's not really very useful, it's just a collection of man 
pages from the base packages.

Duncan Murdoch

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Sean O'Riordain
Actually, I've started reading the reference manual... :-)

I printed it out 2-to-a-page and I'm working my way through it, in
order to learn about the full capabilities of the base system... I
know I'm not going to remember everything, but when I bump into a
particular problem, I'll know what type of solutions to use and what
sort of keywords to search for...  frequently the problem with help is
knowing that vital keyword when I in my ignorant non-statistician way
want to use another vocabularly... :-)

cheers!
Sean


On 02/09/05, Duncan Murdoch [EMAIL PROTECTED] wrote:
 Alvarez Pedro wrote:
  Dear R list,
 
  I have installed R 2.1.1 for Windows. In the help menu
  of the Rgui I can load all manuals except the
  reference manual. I downloaded the reference manual
  from the cran-site separately and saved it into the
  same folder as the other manuals but still it is not
  available in the menu. How can I solve this problem?
 
 Re-install, and this time check the box to install that manual.  But as
 Peter says, it's not really very useful, it's just a collection of man
 pages from the base packages.
 
 Duncan Murdoch
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Duncan Murdoch
On 9/2/2005 8:59 AM, Alvarez Pedro wrote:
   Re-install, and this time check the box to install
 that manual. But as 
 
 Dear Mr. Murdoch, thank you for the answer, apparently
 there is no other solution than a re-installation. 

... or downloading it from CRAN, as you did.

Duncan Murdoch

 
 Peter says, it's not really very useful, it's just a
 collection of man pages from the base packages.
  
 ... I want to have the reference manual only because
 my eyes like it more to read pdfs then text in the
 console (and with the search function I am as quickly
 as in the other case).
 
 
 
   
   
   
 __ 
 Renovamos el Correo Yahoo! 
 Nuevos servicios, más seguridad 
 http://correo.yahoo.es

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Bjørn-Helge Mevik
Sean O'Riordain writes:

 Actually, I've started reading the reference manual... :-)

 I printed it out 2-to-a-page and I'm working my way through it,

Ah!  This reminds me of the `good old days', reading the Emacs manual,
Emacs lisp manual, Gnu C library manual,   The payoff came in the
section giving the meaning of the C library error codes: EGREGIOUS
means `You did *what*?'.  :-)

-- 
Bjørn-Helge Mevik

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference manual is not available in the help menu of the rgui

2005-09-02 Thread Peter Dalgaard
[EMAIL PROTECTED] (Bjørn-Helge Mevik) writes:

 Sean O'Riordain writes:
 
  Actually, I've started reading the reference manual... :-)
 
  I printed it out 2-to-a-page and I'm working my way through it,
 
 Ah!  This reminds me of the `good old days', reading the Emacs manual,
 Emacs lisp manual, Gnu C library manual,   The payoff came in the
 section giving the meaning of the C library error codes: EGREGIOUS
 means `You did *what*?'.  :-)

I actually have a huge list of those. Among the better ones:


ECHERNOBYL Broken pipe
EFLAT  String out of range
EGAD   Surely you jest
EH Canadian user error
EIEIO  Bug, bug here, bug bug there
ENIXON Tape problem
ENODICEError in rand
EZ Had been faster on paper


(Report from Usenix 1986, EUUG Newsletter)

-- 
   O__   Peter Dalgaard Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference Card?

2005-05-30 Thread Kevin Wang

Hi,

Have you tried looking under Documentation - Contributed, under CRAN?

Kev

Martin Klaffenboeck wrote:

Hello!

For LaTeX I found a reference Card at
http://www.cs.ualberta.ca/~c603/LaTeX_docs/Symbol_Source/latex_symbols.pdf

Is there something available for R?

thanks,
Martin

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



--
Ko-Kang Kevin Wang
PhD Student
Centre for Mathematics and its Applications
Building 27, Room 1004
Mathematical Sciences Institute (MSI)
Australian National University
Canberra, ACT 0200
Australia

Homepage: http://wwwmaths.anu.edu.au/~wangk/
Ph (W): +61-2-6125-2431
Ph (H): +61-2-6125-7407
Ph (M): +61-40-451-8301

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Reference Card?

2005-05-30 Thread TEMPL Matthias
 Hello!
 
 For LaTeX I found a reference Card at 
 http://www.cs.ualberta.ca/~c603/LaTeX_docs/Symbol_Source/latex
 _symbols.pdf
 
 Is there something available for R?

Hello Martin,

See the reference cards on
http://cran.r-project.org/other-docs.html

Best,
Matthias

 PLEASE do read 
 the posting guide! http://www.R-project.org/posting-guide.html


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: [R] Reference to use of MLR in industry and biology

2004-02-23 Thread Gabor Grothendieck


Chemists refer to regression as QSAR so googling for that
should find you lots of examples.

Date:   Mon, 23 Feb 2004 18:36:47 +0100 
From:   Andersson, Henrik [EMAIL PROTECTED]
To:   [EMAIL PROTECTED] 
Subject:   [R] Reference to use of MLR in industry and biology 

 

I apologize in advance for posting a question not related to R.

I need references to papers that use multiple linear regression in an industrial 
application and also in a biological experiment. 

This is aimed to biologists/chemists (non-statisticans) so if anyone has written a 
brilliant paper where the use of multiple regression is important and also 
understandable to people with little knowledge of statistics and you like to be cited, 
please email me the reference off the list.

To show the wide range of application I would like to have an example from industry 
and one from science of a (biological) field experiment.

Thanks in advance, Henrik Andersson

Netherlands Institute of Ecology -
Centre for Estuarine and Marine Ecology

[EMAIL PROTECTED]

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] reference to objects

2004-01-16 Thread Eric Lecoutre
Hi,

You will find some pieces of information about the way to handle such 
things at:
http://www.maths.lth.se/help/R/
Programming with references

Note that you will have to download and install the package developped by 
the author, Henrik Bengtsson

HTH,

Eric

At 14:22 16/01/2004, Giampiero Salvi wrote:
Hi,
is there a way to reference to a data object without copying it?
For example I have a huge matrix called dist and I want two objects
obj1 and obj2 to have a memeber dist that points to the matrix, but
I don't want, for memory reasons, to copy the matrix twice.
As far as I understand the following code will generate three copies
of my data:
dist - some_code_that_generates_data
obj1$dist - dist
obj2$dist - dist
Thank you!
Giampiero


--
L'erreur est certes humaine, mais un vrai désastre
nécessite un ou deux ordinateurs. Citation anonyme
--
Eric Lecoutre
Informaticien/Statisticien
Institut de Statistique / UCL
TEL (+32)(0)10473050   [EMAIL PROTECTED]
URL http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] reference to objects

2004-01-16 Thread Giampiero Salvi
Thanks for your answer,

 Yes, that will create two copies.  What is it you want to do with the data?
 Do you want the capability of both of them changing the data?  What type of
 processing are you going to do?

The data should be read only (and all the objects share the same data values).

 One way is to store the 'name' of the object in the location and then use
 'get/assign' to reference the data:

 obj1$dist - 'dist'
 obj2$dist - 'dist'

 my.sum - sum(get(obj1$data))
 assign(obj1$data, new.values)

The problem with this solution is that I would like to use those objects with
already existing libraries, and thus I cannot choose how the data is read.
To explain better, I look for a way to reference to the data that is transparent
to the application.

In C this would be done by assigning the pointer to the data structure, for example
if dist is a C structure and obj1/2 contain a pointer called dist to that kind of
structure, I would do:

obj1-dist = dist;
obj2-dist = dist;

and then the rest of the code would not even know if obj1-dist is shared among 
different
objects

Thanks again,
Giampiero



 __
 James HoltmanWhat is the problem you are trying to solve?
 Executive Consultant  --  Office of Technology, Convergys
 [EMAIL PROTECTED]
 +1 (513) 723-2929



   Giampiero Salvi
   [EMAIL PROTECTED]To:   [EMAIL PROTECTED]
   cc:
   Sent by: Subject:  [R] reference to objects
   [EMAIL PROTECTED]
   ath.ethz.ch


   01/16/2004 08:22






 Hi,
 is there a way to reference to a data object without copying it?

 For example I have a huge matrix called dist and I want two objects
 obj1 and obj2 to have a memeber dist that points to the matrix, but
 I don't want, for memory reasons, to copy the matrix twice.

 As far as I understand the following code will generate three copies
 of my data:

 dist - some_code_that_generates_data
 obj1$dist - dist
 obj2$dist - dist

 Thank you!
 Giampiero

 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide!
 http://www.R-project.org/posting-guide.html




 --
 NOTICE:  The information contained in this electronic mail transmission is
 intended by Convergys Corporation for the use of the named individual or
 entity to which it is directed and may contain information that is
 privileged or otherwise confidential.  If you have received this electronic
 mail transmission in error, please delete it from your system without
 copying or forwarding it, and notify the sender of the error by reply email
 or by telephone (collect), so that the sender's address records can be
 corrected.




__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] reference to objects

2004-01-16 Thread Giampiero Salvi
Thank you,
I'll read the documentation...

Giampiero

On Fri, 16 Jan 2004, Eric Lecoutre wrote:


 Hi,

 You will find some pieces of information about the way to handle such
 things at:
 http://www.maths.lth.se/help/R/
 Programming with references

 Note that you will have to download and install the package developped by
 the author, Henrik Bengtsson

 HTH,

 Eric


 At 14:22 16/01/2004, Giampiero Salvi wrote:
 Hi,
 is there a way to reference to a data object without copying it?
 
 For example I have a huge matrix called dist and I want two objects
 obj1 and obj2 to have a memeber dist that points to the matrix, but
 I don't want, for memory reasons, to copy the matrix twice.
 
 As far as I understand the following code will generate three copies
 of my data:
 
 dist - some_code_that_generates_data
 obj1$dist - dist
 obj2$dist - dist
 
 Thank you!
 Giampiero



 --
 L'erreur est certes humaine, mais un vrai désastre
 nécessite un ou deux ordinateurs. Citation anonyme
 --
 Eric Lecoutre
 Informaticien/Statisticien
 Institut de Statistique / UCL

 TEL (+32)(0)10473050   [EMAIL PROTECTED]
 URL http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
 --



__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html