Re: [R] Solving Matrices

2004-04-16 Thread John Fox
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 John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox

RE: [R] mvtnorm problems

2004-04-14 Thread John Fox
Dear Jose, The mvtnorm package is indeed on CRAN. I'm not sure why you can't find it. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Sent: Wednesday, April 14, 2004 7:41 AM To: [EMAIL PROTECTED] Subject: [R] mvtnorm problems Hi

RE: [R] Non-homogeneity of variance - decreasing variance

2004-04-13 Thread John Fox
Dear Simon, I'm not sure that I follow this entirely, but if error variance decreases with the level of the response, you could try raising the response to a power greater than 1. Of course, the response has to be non-negative. You might take a look at the spread.level.plot function in the car

RE: [R] Problems with rlm

2004-04-07 Thread John Fox
Dear Ed and Erin, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Hagen Sent: Wednesday, April 07, 2004 12:51 PM To: Erin Hodgess; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [R] Problems with rlm Erin Hodgess wrote: Please don't

Re: [R] how to update R

2004-04-06 Thread John Fox
guide! http://www.R-project.org/posting-guide.html John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ __ [EMAIL PROTECTED] mailing list https

RE: [R] Cochrane-Orcutt

2004-04-04 Thread John Fox
Dear pnick, If you search the r-help archives, you'll see that some time ago I posted a Cochrane-Orcutt function. It's not clear to me, however, why you'd want to use this in preference to the gls function in the nlme package. I hope this helps, John -Original Message- From: [EMAIL

RE: [R] Plot symbols for more than 25 groups

2004-04-02 Thread John Fox
Dear Marc, I may misunderstand your question, so perhaps this answer isn't what you're looking for: A short time ago, Henrik Bengtsson posted a function to r-help (search for plotSymbols in the list archive) that displays all available symbols. I think that it's fair to say that fewer than 25

RE: [R] Zero Index Origin?

2004-03-31 Thread John Fox
Dear Bob, One approach would be to introduce a class of objects for which zero-based indexing is implemented. Here's a simple example: [.io0 - function(x, i) as.vector(x)[i + 1] v - 0:10 class(v) - io0 v[0] [1] 0 v[0:5] [1] 0 1 2 3 4 5 Of course, a serious implementation would handle

RE: [R] Zero Index Origin?

2004-03-31 Thread John Fox
Dear Baz, I'm inclined to believe that your general advice is correct. As a long-time APLer who came to R through Lisp-Stat, I think that it's generally a good idea not to resist the most natural way of programming in R. On the other hand, introducing a new class and defining methods for it

RE: [R] residuals with missing values

2004-03-28 Thread John Fox
Dear Ivo, The default na.action is na.omit, which behaves as you describe. Setting options(na.action=na.exclude), or specifying the argument na.action=na.exclude in the call to lm(), will produce residuals and other case statistics that have NA for omitted observations. See ?na.exclude and ?lm

RE: [R] splitting a character vector

2004-03-28 Thread John Fox
Dear Erin, unlist(strsplit(xa, )) should give you what you want; note that you don't need c() to define xa in your example. I hope this helps, John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erin Hodgess Sent: Sunday, March 28, 2004 12:03

Re: [R] influence.measures, cooks.distance, and glm

2004-03-23 Thread John Fox
__ [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 John Fox Department of Sociology McMaster

RE: [R] minimum values

2004-03-20 Thread John Fox
Dear Rogerio, If the distances is the distance matrix, apply(distances, 1, min) should give you what you want. I hope this helps, John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rogério Rosa da Silva Sent: Saturday, March 20, 2004 7:10 AM

RE: [R] for loop or Hmisc library trap.rule function syntax error

2004-03-19 Thread John Fox
Dear Neil, In addition to Frank's observations, it's not a good idea to grow vectors (here, control and test) in a loop. Doing so causes the vectors to be copied over and over. While that doesn't make much difference for vectors with 11 elements, it can make a big difference in a large problem.

RE: [R] still spss

2004-03-12 Thread John Fox
Dear Margarida, Are you sure that the file is named experiencia1. Might it be named experiencia1.sav or experiencia1.por? I hope that this helps, John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Margarida Júlia Rodrigues Igreja Sent:

RE: [R] performing type III

2004-03-10 Thread John Fox
Dear Alex, The anova() function doesn't take a type argument, producing the error. Perhaps the Anova() function in the car package will do what you want. I hope that this helps, John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hardouin Loïc

RE: [R] Probit predictions outside (0,1) interval

2004-03-05 Thread John Fox
Dear Arnab, Several people have already noted that you're getting predicted values on the wrong scale. Note, as well, that you fit a logit model rather than a probit model; for a probit model, you need family=binomial(probit), since the logit link is the canonical link for the binomial family.

RE: [R] row-echelon form (was no subject)

2004-03-05 Thread John Fox
, John -Original Message- From: Douglas Bates [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Bates Sent: Friday, March 05, 2004 8:26 AM To: Simon Fear Cc: John Fox; Spencer Graves; [EMAIL PROTECTED] Subject: Re: [R] row-echelon form (was no subject) Simon Fear [EMAIL PROTECTED

RE: [R] Reflecting R-commands in command line

2004-03-05 Thread John Fox
Dear M. Kondrin, If your GUI is written with the tcltk package, then you might take a look at the Rcdmr package, which does approximately what you describe. You should be able to adapt the approach taken there. I hope that this helps, John -Original Message- From: [EMAIL PROTECTED]

RE: [R] row-echelon form (was no subject)

2004-03-04 Thread John Fox
. Regards, John -Original Message- From: Spencer Graves [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 10:45 PM To: John Fox Cc: 'Aimin Yan'; [EMAIL PROTECTED] Subject: Re: [R] row-echelon form (was no subject) How does this compare with R of the qr decomposition? spencer

RE: [R] row-echelon form (was no subject)

2004-03-04 Thread John Fox
1.069045e+00 [2,] 0.00 0.65465370 -2.618615e+00 [3,] 0.00 0.0000 6.336077e-16 Regards, John -Original Message- From: Spencer Graves [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 9:31 AM To: John Fox Cc: 'Aimin Yan'; [EMAIL PROTECTED] Subject: Re

RE: [R] row-echelon form (was no subject)

2004-03-03 Thread John Fox
Dear Amin, I have a function (created just for demonstration, and reproduced below) for finding the row-echelon form of a matrix. I'm sure that many list members could produce something that's better numerically, but this should be OK at least for toy problems. John - snip -

RE: [R] Proportions again

2004-02-29 Thread John Fox
Dear Carlos, prop.table() takes a table as its argument, so you could specify prop.table(table(sex)). See ?prop.table for more details. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Mauricio Cardeal Mendes Sent: Sunday, February 29,

RE: [R] Change the result data

2004-02-27 Thread John Fox
Dear Muhammad, One approach is: class(hec.data) - table as.data.frame(hec.data) I hope that this helps, John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Subianto Sent: Friday, February 27, 2004 6:28 AM To: [EMAIL

RE: [R] Structural Equation Model

2004-02-26 Thread John Fox
Dear Marcos, I don't see why you can't specify a MIMIC model using sem(), though you might have to supply your own start values. When I have a chance, but possibly not today, I'll check. Regards, John John Fox Department of Sociology McMaster University

RE: [R] Structural Equation Model

2004-02-26 Thread John Fox
John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox -Original Message- From: Chuck Cleland [mailto:[EMAIL PROTECTED] Sent: Thursday, February

Re: [R] problem with abline for x.y

2004-02-20 Thread John Fox
://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525

Re: [R] R: Including R plots in a Microsoft Word document

2004-02-20 Thread John Fox
of them in a Microsoft Word document. Can any one tell me the easiest method of having copies of the R-graphs in the Word documents? - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED

RE: [R] predict function

2004-02-14 Thread John Fox
}} __ [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 - John Fox Department of Sociology McMaster

Re: [R] parametric bootstrap and computing factor scores

2004-02-14 Thread John Fox
? - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r

Re: [R] Problems loading dataset in Rcmdr

2004-02-13 Thread John Fox
removed Rcmdr and downloaded it again from CRAN, as well as uninstalled R, reinstalling it from the copy of my download. Doesn´t help so far. Please help! /CG - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4

RE: [R] how to get the GUI directory chooser on Windows?

2004-02-11 Thread John Fox
Ligges This is in R-1.8.1 on WinXPPro. Any help much appreciated! Andy - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web

Re: [R] how to use try()

2004-02-09 Thread John Fox
Dear Heberto, beta is a vector? Then something like lo - try(nls(y~y0+a/(1+(x/x0)^b),start=list(y0=0.1,a=a0,x0=x00,b=-8.1))) beta[i] - if (class(lo) == try-error) NA else lo$m$getPars()[4] might do what you want. John On Mon, 09 Feb 2004 14:30:07 -0500 r.ghezzo [EMAIL PROTECTED] wrote:

Re: [R] data.frame to matrix

2004-02-09 Thread John Fox
Dear Gustavo, To fill in other list members, this is occurring with code written to augment the Rcmdr package. The problem is that .numeric is a vector of names of numeric variables in the active data set (data frame) maintained by Rcmdr, it is not itself a data frame. Consequently, your

Re: [R] Can S-Plus packages be used in R without modification?

2004-02-08 Thread John Fox
imputation of missing data that can be run from R? - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox

Re: [R] display functions in groupedData and lme

2004-02-07 Thread John Fox
primary1+primary2+... as per one post in the archives, but it didn't work). If not, is it just for purposes of displaying the data? - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED

Re: [R] Histograms by two factors

2004-02-06 Thread John Fox
- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list

Re: [R] problem to get coefficient from lm()

2004-02-06 Thread John Fox
Dear Jinsong, Why do you say that the coefficients are wrong? The slope is 1 and the intercept 0 (within rounding) -- Isn't this what you intended? John On Fri, 6 Feb 2004 08:50:36 -0800 (PST) Jinsong Zhao [EMAIL PROTECTED] wrote: Dear all, The following is a example that I run and hope to

Re: [R] Newbie question: histogram

2004-02-04 Thread John Fox
10.7 1975 7.9 ... mydata=data.frame(year=c(1970,...),snow.cover=c(6.5,...)) hist(mydata) does not work. Many thanks. - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525

Re: [R] Newbie question: histogram

2004-02-04 Thread John Fox
Dear Martin, At 06:07 PM 2/4/2004 +0100, Martin Maechler wrote: JohnF == John Fox [EMAIL PROTECTED] on Wed, 04 Feb 2004 09:20:43 -0500 writes: JohnF Dear Philippe, I suppose that you want a histogram JohnF for snow.cover and not for year. There are several JohnF ways to proceed

Re: [R] output from multcomp and lm

2004-02-03 Thread John Fox
comparison showed significance of 32% level Could this happen? and why? Please enlighten me. ] - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web

Re: [R] r-squared equivalent for locally-smoothed figures?

2004-02-03 Thread John Fox
such a fraction be obtained from locfit (or sm) objects? Stuart John Fox Department of Sociology McMaster University email: [EMAIL PROTECTED] web: http://www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https

Re: [R] Loglienar models

2004-01-29 Thread John Fox
)? Thanks for your help. ---Harry Khamis -- - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox

Re: [R] a question regarding leaps

2004-01-29 Thread John Fox
consistent by filtering the missing data before using lm(). I hope that this helps, John - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web

Re: [R] Confirmatory Factor Analysis in R? SEM?

2004-01-28 Thread John Fox
0.200.68 x3 0.2 0.5 x4 0 0.24 thanks for any help on this. Arnab - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web

Re: [R] matrix exponential: M^0

2004-01-20 Thread John Fox
1 [3,]111 I would have expected the identity matrix here. I find the same result with every other square matrix I used. BTW, I am using R 1.8.1 on Linux Mandrake 9.1 Cheers, Federico Calboli John Fox Department of Sociology McMaster University email

Re: [R] individual likelihoods

2004-01-16 Thread John Fox
to likelihood theory and ML estimation ;-) Thanks for any help/suggestion/tip, Bruno - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca

Re: [R] plotting predicted values (lines) over data?

2004-01-15 Thread John Fox
? Thanks, Jeff. - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED

Re: [R] Lattices: Cloud: Background

2004-01-15 Thread John Fox
get the background to be white instead of grey when I have a cloud plot (using the lattices package)? par(bg=white) isn't working. I'm assuming par commands won't work on lattice plots. What should I use instead? - John Fox Department of Sociology

Re: [R] ? data.entry read-only ?

2004-01-12 Thread John Fox
read the posting guide! http://www.R-project.org/posting-guide.html John Fox Department of Sociology McMaster University email: [EMAIL PROTECTED] web: http://www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https

Re: [R] ? data.entry read-only ? [and segfault]

2004-01-12 Thread John Fox
Dear Ted, At 11:17 PM 1/12/2004 +, Ted Harding wrote: On 12-Jan-04 John Fox wrote: Dear Ted, [...] invisible(edit(df)), or something equivalent, simply to look (and discard changes if they are made). Thanks for the reminder about invisible -- as well as junk-de(df) one could use

Re: [R] Heeeeeelp! Estimatet Marginal Means of ANOVA needed!

2004-01-05 Thread John Fox
with SPSS. Who can help me as soon as possible? Thanks Deborah Renz John Fox Department of Sociology McMaster University email: [EMAIL PROTECTED] web: http://www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https

Re: [R] SEM help!!!

2004-01-02 Thread John Fox
startvalues and I can't figure out how to fix it. Is anyone willing to read over my code and help me out??? Please email me if you are willing to look at my code and I will send it to you. Thank you so much, and Happy New Year! cathy - John Fox

Re: [R] type III sum of squares - ssType

2004-01-02 Thread John Fox
into account. How can one get an anova table with the adjusted sum of squares in R? Thanks in advance, Patrick Giraudoux - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone

Re: [R] a quick question about the package car?

2003-12-31 Thread John Fox
__ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web

Re: [R] Difference between summary.lm() and summary.aov()

2003-12-16 Thread John Fox
the hypothesis that *both* coefficients are zero, where the t-tests do so individually. --- John Fox [EMAIL PROTECTED] wrote: Dear Spencer and Alexander, In this case, physician is apparently a factor with three levels, so summary.aov() gives you a sequential ANOVA

Re: [R] Difference between summary.lm() and summary.aov()

2003-12-06 Thread John Fox
- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch

Re: [R] recode{car} does not work as expected?

2003-12-06 Thread John Fox
around the argument is.factor.result as if it's part of the recode specifications. I believe that you want FCI$PRE1 - recode (PRE1RES, c('C', 'c')=1 ; else = 0 , as.factor.result=FALSE ) I hope that this helps, John - John Fox Department

Re: [R] GUI's for R

2003-12-05 Thread John Fox
they refer the readers to external builders of GUIs like the R-Commander of John Fox, Brodgar, TeXmacs, SciViews etc.. On the other hand searching the mail archives for the word R-GUI yielded well over 500 hits. After reading a few tens of those I realized that there existed, after building R

Re: [R] problems with xlab

2003-11-29 Thread John Fox
) the fixed version of plot.effect(). I apologize for the problem, John - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox

Re: [R] Difference in ANOVA results - R vs. JMP/Minitab

2003-11-20 Thread John Fox
- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https

Re: [R] Difference in ANOVA results - R vs. JMP/Minitab

2003-11-19 Thread John Fox
- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman

Re: [R] Difference in ANOVA results - R vs. JMP/Minitab

2003-11-19 Thread John Fox
- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list

Re: [R] model formula

2003-11-18 Thread John Fox
is the best way to fit the model? John Fox Department of Sociology McMaster University email: [EMAIL PROTECTED] web: http://www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo

Re: [R] Formatting axis label numbers on plots

2003-11-12 Thread John Fox
specifically, I have some plots that get axes with label numbers in exponential format, and I'd like to change that to non-exponential. Thanks!! - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL

Re: [R] A co-occurrence matrix

2003-11-11 Thread John Fox
- uccurence matrices of type shown above? Any help would be appreciated, - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox

Re: [R] sample size/power calc packages

2003-11-11 Thread John Fox
-calculation macros in SAS, by Ralph O'Brien, at http://www.bio.ri.ccf.org/power.html. Apparently SAS Version 9.1 will have new procs power and glmpower, which will cover most of what is in these macros. Regards, John - John Fox Department

Re: [R] shuffling a vector

2003-11-10 Thread John Fox
PROTECTED] http://jijo.cjb.net GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE --- John Fox Department of Sociology McMaster University email: [EMAIL PROTECTED] web: http

Re: [R] Q. About String indexing

2003-11-06 Thread John Fox
https://www.stat.math.ethz.ch/mailman/listinfo/r-help - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox

Re: [R] line breaks in recode

2003-11-04 Thread John Fox
-- - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch

Re: [R] Estimate hazard function from right-censored data only

2003-11-04 Thread John Fox
- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo

Re: [R] Estimate hazard function from right-censored data only

2003-11-04 Thread John Fox
provides smooth nonparametric estimates of the hazard function using kernel methods. Thanks to all, John At 03:06 AM 11/5/2003 +, Ted Harding wrote: On 05-Nov-03 John Fox wrote: Dear Monica, I'm not sure what the muhaz function is (it's not in the survival package), but regardless

Re: [R] Questions in R

2003-11-03 Thread John Fox
?readline. I hope that this helps, John - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox

Re: [R] providing a variable as a parameter in a function

2003-10-22 Thread John Fox
. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help John Fox Department of Sociology McMaster University email: [EMAIL PROTECTED] web: http://www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED

Re: [R] Type III Sum of Squares Calculation

2003-10-21 Thread John Fox
need the stepwise calculation, as I would try to put it in my own code (possibly in Visual Basic) to automate the task. - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905

Re: [R] R memory and CPU requirements

2003-10-17 Thread John Fox
-order interactions as well?). Perhaps providing the following information would help: What is the model formula? Which variables are factors? How many levels does each factor have? Regards, John --- John Fox [EMAIL PROTECTED] wrote: Dear Alexander, If I understand you correctly, you have a sample

Re: [R] R memory and CPU requirements

2003-10-16 Thread John Fox
of models (mostly decision trees) for much, much larger data sets. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help - John Fox Department of Sociology McMaster

Re: [R] how to seperate R's input and output screen?

2003-10-13 Thread John Fox
- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman

Re: [R] help with gsub and grep functions

2003-10-13 Thread John Fox
parentheses [1] 602 matches 517 matches [3] 659 matches posn - regexpr(\\(.*\\)$, Names) substring(Names, first=posn+1, last=posn+attr(posn,match.length)-2) Any idea? Best regards, Olivier I hope that this helps, John - John Fox Department

Re: [R] Selecting a random sample for lmList()

2003-10-06 Thread John Fox
- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https

Re: [R] vif() from Design and car

2003-10-06 Thread John Fox
) Thanks, --- Rajarshi Guha [EMAIL PROTECTED] http://jijo.cjb.net - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone

Re: [R] Rcmdr and Macintosh

2003-09-29 Thread John Fox
to revise this document to make it more general. I hope that this helps, John - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox

Re: [R] Tutorial docs: Vignettes! {was searching R-help ..}

2003-09-25 Thread John Fox
. Regards, John At 01:49 PM 9/25/2003 -0400, Duncan Murdoch wrote: On Thu, 25 Sep 2003 12:10:28 -0400, John Fox [EMAIL PROTECTED] wrote : Dear Martin At 04:11 PM 9/25/2003 +0200, Martin Maechler wrote: . . . And many more packages have other *.pdf documents in their installed ./doc/ directories

Re: [R] number of distinct values in a dataframe

2003-09-22 Thread John Fox
consists entirely of numeric values, finding the number of unique values in the data frame as a whole isn't much harder: length(unique(as.vector(as.matrix(mydataframe Regards, John John Fox Department of Sociology McMaster University email: [EMAIL PROTECTED] web

Re: [R] Logit and Probit for Panel data

2003-09-20 Thread John Fox
, I haven't found an obvious candidate. Can you offer any help? (Yes I'm a newby.) Yours sincerely Christoph Hanck Studentische Hilkskraft Lehrstuhl für Empirische Wirtschaftsforschung, Prof. Dr. Wilfling - John Fox Department of Sociology McMaster

Re: [R] Plot survey data

2003-09-14 Thread John Fox
[[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help - John Fox Department of Sociology McMaster University Hamilton, Ontario

Re: [R] Plot survey data

2003-09-10 Thread John Fox
. - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman

Re: [R] all values from a data frame

2003-09-05 Thread John Fox
for your help + kind regards unlist() should do what you want. I hope that this helps, John - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web

Re: [R] A question on orthogonal basis vectors

2003-08-14 Thread John Fox
- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch

[R] new version of Rcmdr package

2003-08-14 Thread John Fox
Dear list members, I've uploaded a new version of the Rcmdr package to CRAN. There are many additions and (I hope) improvements, as indicated in the relevant portion of the CHANGES file, reproduced below. As usual, comments, suggestions, and bug reports are appreciated. John

Re: [R] error message in sem

2003-08-14 Thread John Fox
must have same length what does this mean? remko - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox

Re: [R] Levene test of homogeneity of variance

2003-08-14 Thread John Fox
8/13/2003 -0400, Haynes, Maurice (NIH/NICHD) wrote: Has the Levene test of homogeneity of variance been implemented in any library in R? Thanks, Maurice Haynes - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S

RE: [R] Problem with data.frames

2003-08-04 Thread John Fox
John Fox Department of Sociolgy McMaster University http://socserv.mcmaster.ca/jfox Original Message- From: Simon Fear [EMAIL PROTECTED] To: Prof Brian Ripley [EMAIL PROTECTED] Cc: Peter Dalgaard BSA

Re: [R] Condition indexes and variance inflation factors

2003-07-27 Thread John Fox
0.0009 0 0 0 30.8101 0 0 0 464 0.1396 1 1 1 - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web

Re: [R] Condition indexes and variance inflation factors

2003-07-24 Thread John Fox
0.03 0.00 Regards, John - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox

Re: [R] Condition indexes and variance inflation factors

2003-07-23 Thread John Fox
Regression, Springer (in press - OK, not very helpful here). You might want to contact him privately (in CC). Uwe Ligges - John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: [EMAIL PROTECTED] phone: 905-525

Re: Rcmdr problems (was:Re: [R] Minor nuisance with rw1071)

2003-07-22 Thread John Fox
Dear Kjetil, At 11:04 PM 7/21/2003 -0400, kjetil brinchmann halvorsen wrote: On 18 Jul 2003 at 9:54, John Fox wrote: Sorry for being so late coming back on this, I was travelling the weekend. I tried to remove as much as possible from the workspace (.RData file), but nothing created by Rcmdr

Re: [R] Minor nuisance with rw1071

2003-07-18 Thread John Fox
works for me under XEmacs/ESS under Windows, though it's not a natural marriage.) As a more general matter, I've encountered but been able to work around a variety of focus problems using the tcltk package. Regards, John - John Fox Department

Re: [R] how to divide a string into characters? - forcomparing strings that is

2003-07-17 Thread John Fox
split.data.frame split.data.frame- [4] split.default split.screen split- [7] split-.data.frame split-.defaultstrsplit [10] unsplit I hope that this helps, John - John Fox Department of Sociology McMaster University Hamilton

Re: [R] Minor nuisance with rw1071

2003-07-17 Thread John Fox
startup icons, not with the others! It happens when starting in a directory where I experimented with the package Rcmdr by John Fox, and I guess that must have to do with the problem. First, the startup message now includes Loading required package: foreign Loading required package: mva Loading

<    1   2   3   4   5   6   7   >