[R] hi

2003-07-27 Thread jill irwin
Guess what I have no clue what i am doing/ meant to do with R. i have just begun statistics for uni and all commands don't seem to work, they say syntax error, we are meant to put a hist.r in but ? please help, step by step, to use this program i would turn it on (it comes up rgui) is this wrong

Re: [R] multiple imputation with fit.mult.impute in Hmisc

2003-07-27 Thread Frank E Harrell Jr
On Sun, 27 Jul 2003 14:47:30 -0400 Jonathan Baron <[EMAIL PROTECTED]> wrote: > I have always avoided missing data by keeping my distance from > the real world. But I have a student who is doing a study of > real patients. We're trying to test regression models using > multiple imputation. We di

Re: [R] another citation question

2003-07-27 Thread Philippe Glaziou
Erin Hodgess <[EMAIL PROTECTED]> wrote: > What is the correct way to cite the manuals available > online, please, such as "An Introduction to R"? See the R-FAQ, page 7. -- Philippe __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailma

Re: [R] How to make "<-" generic?

2003-07-27 Thread Richard A. O'Keefe
The model of assignment in R is pretty simple: (variable) <- (expression) Evaluate expression, store result in variable. This is core syntax. A compiled implementation of this would not involve any function call. The behaviour does not in any way depend on the

[R] Perl

2003-07-27 Thread Pierre-Olivier Chasset
Dear Helpers, I would like to know if I can call other use R-method within Perl scripts. I have not found any module in CPAN (Perl Archive). Thanks, Pierre-Olivier __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] another citation question

2003-07-27 Thread Erin Hodgess
Dear R People: What is the correct way to cite the manuals available online, please, such as "An Introduction to R"? Thanks again, Erin [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] citing an R help file

2003-07-27 Thread Erin Hodgess
Dear R People: What is the correct way to cite help files for a function in R, please? (I'm referring to the online HTML documentation.) Thank you in advance! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https:/

Re: [R] continuous independent variable in lme

2003-07-27 Thread Federico Calboli
At 14:14 27/07/2003 +0100, you wrote: >Your anova call is a sequential anova, which you are misinterpreting. >You can't conclude terms are significant or not if later terms are. >You need to use type="marginal" to interpret things the way you do (except >that I hope that does not drop the main eff

[R] multiple imputation with fit.mult.impute in Hmisc

2003-07-27 Thread Jonathan Baron
I have always avoided missing data by keeping my distance from the real world. But I have a student who is doing a study of real patients. We're trying to test regression models using multiple imputation. We did the following (roughly): f <- aregImpute(~ [list of 32 variables, separated by + si

Re: [R] Default title for hist assumes name is short

2003-07-27 Thread Spencer Graves
Did you try: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x) {sqrt(sum(x^2))}), main="adsf") This worked for me in both S-Plus 6.1 and R 1.7.1. hope this helps. spencer graves Stephen Eglen wrote: On the following plot: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x)

Re: [R] Default title for hist assumes name is short

2003-07-27 Thread Uwe Ligges
Stephen Eglen wrote: On the following plot: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x) {sqrt(sum(x^2))})) the title is three lines long and so has "Histogram of " at the start of each line of the title. This is because the definition of main in hist.default is main = paste("Hi

[R] Default title for hist assumes name is short

2003-07-27 Thread Stephen Eglen
On the following plot: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x) {sqrt(sum(x^2))})) the title is three lines long and so has "Histogram of " at the start of each line of the title. This is because the definition of main in hist.default is main = paste("Histogram of", xname).

Re: [R] continuous independent variable in lme

2003-07-27 Thread Prof Brian Ripley
Your anova call is a sequential anova, which you are misinterpreting. You can't conclude terms are significant or not if later terms are. You need to use type="marginal" to interpret things the way you do (except that I hope that does not drop the main effect and keep the interaction). You also s

Re: [R] Condition indexes and variance inflation factors

2003-07-27 Thread John Fox
Dear Peter, I'm sorry that I've taken a while to get back to you -- I was away for a few days. In the example that you give from Belsley (1991), the predictors are essentially perfectly linearly related; for example > summary(lm(x2a ~ x3a + x4a)) Call: lm(formula = x2a ~ x3a + x4a

[R] continuous independent variable in lme

2003-07-27 Thread Federico Calboli
Dear All, I am writing to ask a clarification on what R, and in particular lme, is doing. I have an experiment where fly wing area was measured in 4 selection lines, measured at 18 and 25 degrees. I am using a lme model because I have three replicated per line (coded 1:12 so I need not use getGro

Re: [R] contourplot:how to get it to label all contours like 'contour'

2003-07-27 Thread Prof Brian Ripley
On Sun, 27 Jul 2003 [EMAIL PROTECTED] wrote: > Hi, > > one of the nice things about contour is that it labels all contour lines. > contourplot only labels each particular elevation a single time. > i.e., if there are two contour lines corresponding to z = 45, it will only > label one of them. >

Re: [R] Drawing boxplots in pairs function

2003-07-27 Thread Prof Brian Ripley
Here's an example data(swiss) panel.bxp <- function(x, ...) { usr <- par("usr"); on.exit(par(usr)) par(usr = c(0, 2, usr[3:4])) boxplot(x, add=TRUE) } pairs(swiss, diag.panel = panel.bxp, text.panel = function(...){}) You overlooked the `add=TRUE' argument, it seems. On Sun, 27 Jul 2