[R] cloud function doesn't plot

2003-06-23 Thread Tony Ross
Forgive me please if this has been answered previously, but the r-help archive doesn't have a search capability. It's a pity, as I'm sure that there's a wealth of informative help in there. I am unable to get the cloud function to produce a fundamental 3D scatterplot. I have a 3-column numeric

RE: [R] cloud function doesn't plot

2003-06-23 Thread Tony Ross
From: Simon Blomberg [EMAIL PROTECTED] Date: Mon, 23 Jun 2003 16:26:39 +1000 If you type ?cloud, you can see that you need to provide a formula as well as a dataset. So if your variables are x,y,z in dataframe dat, then cloud(z~x*y, data=dat) should work. [...] is.matrix(sanity.MIF);

RE: [R] cloud function doesn't plot

2003-06-23 Thread Prof Brian Ripley
On Sun, 22 Jun 2003, Tony Ross wrote: From: Simon Blomberg [EMAIL PROTECTED] Date: Mon, 23 Jun 2003 16:26:39 +1000 If you type ?cloud, you can see that you need to provide a formula as well as a dataset. So if your variables are x,y,z in dataframe dat, then cloud(z~x*y, data=dat) should

Re: [R] cloud function doesn't plot

2003-06-23 Thread Uwe Ligges
Tony Ross wrote: From: Simon Blomberg [EMAIL PROTECTED] Date: Mon, 23 Jun 2003 16:26:39 +1000 If you type ?cloud, you can see that you need to provide a formula as well as a dataset. So if your variables are x,y,z in dataframe dat, then cloud(z~x*y, data=dat) should work. [...]

Re: [R] glmm and overall goodness of fit

2003-06-23 Thread Jim Lindsey
Hi, exist in R any glmm function that have any tools for test for overall goodness of fit? True measures of overall goodness of fit may be difficult to formulate for such mixed models. Relative goodness of fit (as compared to glm) is available through the AIC produced by my glmm

[R] dispersion matrices

2003-06-23 Thread Luis Miguel Almeida da Silva
Hello Does R have any function that calculates from a data matrix with several classes the between and within dispersion matrices S_b and S_w Thanks Luis __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Problem with installation under R 1.7.1 and unzip

2003-06-23 Thread Ramzi Feghali
Thanks a lot professor, but no in fact it is like you've said c:\Program Files\R\rw1071\Rwork is my Working directory = C:\Program Files\R\rw1071\Rwork, i am in fact using the functions you've gave me to know what is happening with me because with R 1.6.2 i could install my packages with no

Re: [R] How can I do a spinning plot in R?

2003-06-23 Thread Peter Wolf
Some days ago I wrote a function for rotating a cloud of points. To control the rotation a simple Tcl/Tk-widget is used. Here you can find the R code: http://www.wiwi.uni-bielefeld.de/~wolf/software/spin3R/spin3R.sch Peter Wolf, [EMAIL PROTECTED] Richard A. O'Keefe wrote: I have found

[R] precision matrix for polynomial growth curves

2003-06-23 Thread Robert Cuffe
What does the warning message 1: Singular precision matrix in level -1, block 1 mean? I get this warning 50+ times when I try to fit the following model lme( response ~ covariateA + poly(covariateB,3), ~poly(covariateB,3)|group ) It's not a small dataset - a set of up to 20 blood pressure

Re: [R] Changing lattice theme

2003-06-23 Thread Uwe Ligges
Ernesto Jardim wrote: Hi Can someone tell me how I can change the lattice theme to black white ? See, e.g., ?trellis.device. Uwe Ligges Thanks EJ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Rcmd check problem

2003-06-23 Thread Philippe Hupé
I have the following message error when I try to buid my package : C:\Documents and Settings\PhilippeRcmd check mypackage * checking for working latex ...Error: environment variable TMPDIR not set (or set to unusable value) and no default available. at C:\PROGRA~1\R\rw1071\share\perl/R/Utils.pm

[R] FW: S4 classes, creating in C

2003-06-23 Thread Laurence Kell FM CEFAS
I am using C code to create an S4 object based on Douglas Bates's example in his lecture notes on http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Tutorials/RExtensions/slide s.pdf http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Tutorials/RExtensions/slides .pdf e.g. SEXP La_DGE_dc(SEXP A)

Re: [R] Rcmd check problem

2003-06-23 Thread Uwe Ligges
Philippe Hupé wrote: I have the following message error when I try to buid my package : C:\Documents and Settings\PhilippeRcmd check mypackage * checking for working latex ...Error: environment variable TMPDIR not set (or set to unusable value) and no default available. at

RE: [R] Rcmd check problem

2003-06-23 Thread Pfaff, Bernhard
I have the following message error when I try to buid my package : C:\Documents and Settings\PhilippeRcmd check mypackage * checking for working latex ...Error: environment variable TMPDIR not set (or set to unusable value) and no default available. at

Re: [R] precision matrix for polynomial growth curves

2003-06-23 Thread Thomas W Blackwell
Robert - Just guessing, does the growth curve for any individual have exactly four points ? If so, then the fit with an order 3 polynomial would be exact, and have zero residual variance, while the fit with an order 2 polynomial would likely still have non-zero residuals. Another way the same

[R] R Commander

2003-06-23 Thread Harold Doran
I am trying to import a file using R Commander. It was working a few days ago, but now I get the following message when I try to import from SPSS. Any thoughts? Error in parse(file, n, text, prompt) : parse error -- Harold C. Doran Director of Research and Evaluation New American Schools

Re: [R] saving plots

2003-06-23 Thread Timur Elzhov
On Mon, Jun 23, 2003 at 11:07:15AM -0400, Matt Oliver wrote: Hi all, I am have an R script that makes many plots, and I would like to string them into a movie file. To do that I have to save all of my plots as jpegs or gifs. I don't want to go through all of my plots and save them by hand

[R] mode of a data set

2003-06-23 Thread Erin Hodgess
Dear R People: Is there a function to find the mode of a data set, please? This is the mode as in the value(s) which occur most often. Thanks so much! R for Windows, v 1.7.0 Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED]

Re: [R] FW: S4 classes, creating in C

2003-06-23 Thread Duncan Temple Lang
I don't believe the fact that you are doing this in C code is relevant in this problem. If you define LUdecomposition as setClass(LUdecomposition, representation(a=matrix, pivot = integer), prototype=list(pivot = NA)) you will get an error if

Re: [R] mode of a data set

2003-06-23 Thread Adelchi Azzalini
On Monday 23 June 2003 17:50, Erin Hodgess wrote: Dear R People: Is there a function to find the mode of a data set, please? This is the mode as in the value(s) which occur most often. x[rev(order(table(x)))[1]] is this what you want? regards Adelchi Azzalini -- Adelchi Azzalini

Re: [R] mode of a data set

2003-06-23 Thread J.R. Lockwood
Dear Erin, Assuming that by data set you mean a vector v, then sort(table(v)) will give you what you want. On Mon, 23 Jun 2003, Erin Hodgess wrote: Date: Mon, 23 Jun 2003 10:50:47 -0500 (CDT) From: Erin Hodgess [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [R] mode of a data set Dear

[R] read.spss

2003-06-23 Thread Harold Doran
I have loaded the foreign package and am still having problems with an import. I get a message that reads, unable to open file. Whe I try different files I get the same message. Here is the code I used. Am I missing something? I am using 1.7 and have also tried this in 1.6 with the same

Re: [R] read.spss

2003-06-23 Thread Prof Brian Ripley
The message is quite correct. See the rw-FAQ, Q2.14, or the FAQ Q7.10. On Mon, 23 Jun 2003, Harold Doran wrote: I have loaded the foreign package and am still having problems with an import. I get a message that reads, unable to open file. Whe I try different files I get the same message.

Re: [R] read.spss

2003-06-23 Thread Marc Schwartz
On Mon, 2003-06-23 at 11:15, Harold Doran wrote: I have loaded the foreign package and am still having problems with an import. I get a message that reads, unable to open file. Whe I try different files I get the same message. Here is the code I used. Am I missing something? I am using 1.7

[R] Summary for mode of a data set

2003-06-23 Thread Erin Hodgess
Dear R People: thank you for the many helpful sets of code that I received!!! I combined several of the concepts for the following function: mode1 function(x) { y - rle(sort(x)) z - y$values[y$lengths==max(y$lengths)] return(z) } xm [1] 22 15 10 30 25 26 2 17

Re: [R] saving plots

2003-06-23 Thread Don MacQueen
You might want to look at recordPlot(). While the script is running record the plots using recordPlot(). Afterwards replay them with the jpeg device active. -Don At 11:07 AM -0400 6/23/03, Matt Oliver wrote: Hi all, I am have an R script that makes many plots, and I would like to string them

Re: [R] FW: S4 classes, creating in C

2003-06-23 Thread Matthias Burger
Hi Laurence, Laurence Kell FM CEFAS wrote: [...] LUdecomposition is an S4 class defined as setClass(LUdecomposition, representation(a=matrix, pivot = integer)) This works in R 1.7.0 and R 1.7.1 but if I initialise any of the slots setClass(LUdecomposition, representation(a=matrix, pivot =

[R] Reliability analysis and Laplace factor functions

2003-06-23 Thread Eric Rescorla
Is there some package out there that implements functions for reliability analysis, especially for software reliability? In particular, I'm looking for: * Laplace factor (Cox Lewis 1978) * Goel-Okumoto fitting Thanks in advance, -Ekr -- [Eric Rescorla [EMAIL

Re: [R] Summary for mode of a data set

2003-06-23 Thread Spencer Graves
Your mode1 function will identify multiple modes only if they have the same number of observations. Consider the following: x2 - c(2, 1,1, 3,3,3) mode1(x2) [1] 3 Here, mode1 did not identify the local mode at 1, because it had fewer observations than 3. If you want the modes at both 1 and

[R] Lwd ignored when printing on Windows

2003-06-23 Thread Liaw, Andy
Dear R-help, Has anyone notice the problem that, on Windows (NT and XP), when printing a graph using the File - Print... menu in the graphics window to print the graph, that line width seemed to be ignored in the printed output? For example, if I make a plot with plot(1:10, type=l, lwd=5), it

[R] erase.screen bug?

2003-06-23 Thread Angelo Canty
Hi, I'm using R 1.7.1 on a Windows 2K computer. For some reason erase.screen does not seem to be working correctly. That is it does not erase the requested screen. That is the old graphic is still visible and any subsequent graphics are superimposed over it making them impossible to read.

Re: [R] Lwd ignored when printing on Windows

2003-06-23 Thread Sundar Dorai-Raj
Andy, I've experienced the same thing. What's interesting is that printing a plot (CTRL-P) with lwd = 25 makes lines on the hardcopy look like lwd = 5. I'm using R1.7.1 on Win2000Pro. Regards, Sundar Liaw, Andy wrote: Dear R-help, Has anyone notice the problem that, on Windows (NT and XP),

[R] heatmap

2003-06-23 Thread Ming-Chung Li
Dear R-users, I am using R-1.7.1. on windows 2000. When I use the heatmap() function, I found lines on the dendorgam are not well connected. For example, the two dendrograms produced by the following have this problem. set.seed(1234) heatmap(x-matrix(rnorm(100*30),100,30)) Is there a bug in

Re: [R] erase.screen bug?

2003-06-23 Thread Prof Brian Ripley
Is your background colour set to transparent? There is no way to erase screens in the R/S model: all you can do is overpaint with the background. And the default on-screen background colour is ... transparent. This described in the Warning (and elsewhere) on the help page. With a solid

[R] A final global mode function

2003-06-23 Thread Erin Hodgess
From [EMAIL PROTECTED] Mon Jun 23 14:36:45 2003 Received: from postal.pdf.com (pdf193.pdf.com [209.128.81.193]) by uhddx01.dt.uh.edu (8.9.2/8.9.2) with ESMTP id OAA09671 for [EMAIL PROTECTED]; Mon, 23 Jun 2003 14:36:44 -0500 (CDT) Received: from postage.pdf.com (postage.pdf.com

Re: [R] ?plot problem

2003-06-23 Thread Prof Brian Ripley
On Mon, 23 Jun 2003, Paul, David A wrote: R1.7.0, Win2k: When I use plot( ) on a groupedData object, if I have 165 subjects I'm supposed to be able to use plot(..., layout = c(5,3,11)) to get all 165 on 11 separate sheets. The graphics window is only displaying the first 10. If I use

[R] sequential gaussian simulation

2003-06-23 Thread Yan Yu
Hello, I am wondering does anyone have experience with sequential gaussian simulation? what package would you recommend for that purpose? I also have a related Q: In R, is there a function I can use to test that if my data is multi-point, or multi-variant gaussian? Any information and

Re: [R] Lwd ignored when printing on Windows

2003-06-23 Thread Sundar Dorai-Raj
Prof. Ripley, I'm using one of following the HPLaserJet-4000 (Driver: HP LaserJet 5Si/5Si MX PS) HPLaserJet-4100DTN (Driver: HP LaserJet 8150 PCL 6) You are correct: the lines are thicker on the hardcopy. When I plotted the following: plot(rnorm(10), type = l, lwd = 5) lines(rnorm(10), lwd = 1)

[R] Smooth of a temporal serie

2003-06-23 Thread Henrique Patrício Sant'Anna Branco
Hello all, I'm a new member in this list and, also, a new R user and need some information about Resistant Smooth (using medians). The method I need of Resistant Smooth is the 4253H one and I didn't found how to perform that in R. Does anybody have an idea? Thanks, Henrique.

[R] Debian packages of Hmisc and Design Packages available

2003-06-23 Thread Dirk Eddelbuettel
Two Debian packages for Hmisc and Design have been created and are currently available at http://dirk.eddelbuettel.com/code/debian/misc/ along with the package sources. I may upload these to the Debian archive as well. Feedback is, as always, welcome. Dirk -- Don't drink and derive. Alcohol

[R] Warnings using MASS Library

2003-06-23 Thread Williams, Brian
I am running R version 1.7.1. In the process of checking the results from some code against the results obtained from version 1.5.1, I encountered a set of warning messages upon exiting from the session: Save workspace image? [y/n/c]: y Warning messages: 1: namespaces may not be available when

Re: [R] How can I do a spinning plot in R?

2003-06-23 Thread Richard A. O'Keefe
I asked about spinning plots in R. Peter Wolf [EMAIL PROTECTED] wrote about a function of his using Tcl/Tk, at: http://www.wiwi.uni-bielefeld.de/~wolf/software/spin3R/spin3R.sch I have downloaded this. Now I face another problem. f% R R : Copyright 2003, The R

[R] help on R programming.

2003-06-23 Thread Murad Nayal
Hello all, I am looking for books to help me gain a firmer grasp on the S/R programming language , programing / data structures etc. it seems that for this purpose two books are typically recommended: Programming with Data: A Guide to the S Language, John M. Chambers and S Programming by

Re: [R] FW: S4 classes, creating in C

2003-06-23 Thread Richard A. O'Keefe
Laurence Kell FM CEFAS [EMAIL PROTECTED] asked about setClass(LUdecomposition, representation(a=matrix, pivot = integer), prototype=list(pivot = NA)) then I get the following error message in R 1.7.1 but

Re: [R] help on R programming.

2003-06-23 Thread Spencer Graves
I can help with the second of the three questions I see your email: object.list = list(o1=list(x=1,y=2,z=3), o2=list(x=11,y=22,z=33)) sapply(object.list, function(x)x$x) o1 o2 1 11 See for example Venables and Ripley (2002) Modern Applied Statistics with S, 4th ed. (Springer, pp. 33-34).

RE: [R] help on R programming.

2003-06-23 Thread Simon Blomberg
-Original Message- From: Murad Nayal [mailto:[EMAIL PROTECTED] Sent: Tuesday, 24 June 2003 12:02 PM Cc: [EMAIL PROTECTED] Subject: [R] help on R programming. Hello all, I am looking for books to help me gain a firmer grasp on the S/R programming language , programing /

[R] Writing R demo files

2003-06-23 Thread Olivia Lau
Hi, Is it possible to comment demo() files? I am trying to write demos that have comments, R commands, and R output so that new users will be able to follow along. I have tried readline(), but that returns the readline(...) command statement as well as the output from readline, and the demos

Re: [R] help on R programming.

2003-06-23 Thread Roger D. Peng
Murad Nayal wrote: Hello all, I am looking for books to help me gain a firmer grasp on the S/R programming language , programing / data structures etc. it seems that for this purpose two books are typically recommended: Programming with Data: A Guide to the S Language, John M. Chambers and