Re: [R] restricting lattice pages to one

2008-09-25 Thread John Fox
Dear Deepayan, Thanks for getting back to me. In the interim, I computed the layout that I wanted in the more complicated context in which the problem arose, but I'll certainly keep this clever idea in mind. Regards, John -- John Fox, Professor Department

Re: [R] How do I Convert 1 to the number 1?

2008-09-24 Thread John Fox
-guide.html and provide commented, minimal, self-contained, reproducible code. John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ __ R-help@r-project.org

Re: [R] rgl: ellipse3d with axes

2008-09-24 Thread John Fox
horizontal and vertical axes; ellipse() from the car package draws the ellipse by transforming a circle, but the axes are drawn directly using the eigenvalues and vectors of the covariance (here, correlation) matrix. Regards, John -- John Fox, Professor Department

Re: [R] Creating a Legend

2008-09-23 Thread John Fox
Dear Steve, Try legend(topright, title=Land Use Type, cex=0.75, pch=16, col=c(red, green), legend=c(Urban, Rural), ncol=2) I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web

Re: [R] How to plot greater than symbol on the x-axis

2008-09-21 Thread John Fox
hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Li, Bingshan Sent: September

Re: [R] How to plot greater than symbol on the x-axis

2008-09-21 Thread John Fox
Dear Bingshan, You can use xlab=expression( = 1), xlab=expression( = 1), or expression(NA = 1), etc. The point is that = is a binary operator, so a well formed expression needs both a left- and right-hand operand. John -- John Fox, Professor Department of Sociology

Re: [R] Difficulty understanding sem errors / failed confirmatory factor analysis

2008-09-18 Thread John Fox
-- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam D. I. Kramer Sent: September-18-08 1:37 PM To: r-help@r

Re: [R] Difficulty understanding sem errors / failed confirmatory factor analysis

2008-09-18 Thread John Fox
Dear Adam, I'm afraid that our emails have crossed. Please see my previous message. John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: Adam D. I. Kramer

Re: [R] Difficulty understanding sem errors / failed confirmatory factor analysis

2008-09-18 Thread John Fox
Dear Adam, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam D. I. Kramer Sent: September-18-08 2:33 PM To: John Fox Cc: r-help@r-project.org Subject: Re: [R] Difficulty understanding sem errors / failed confirmatory factor analysis Hi John

Re: [R] trouble with tkgetOpenFile

2008-09-17 Thread John Fox
Dear Gang, Your for loop is in error; try for (ii in seq(length=nWin)) I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL

Re: [R] ANOVA contrast matrix vs. TukeyHSD?

2008-09-17 Thread John Fox
coefficient. Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Yeaman Sent

Re: [R] plot of all.effects object

2008-09-11 Thread John Fox
-project.org 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. John Fox, Professor Department of Sociology McMaster

Re: [R] plot of all.effects object

2008-09-11 Thread John Fox
Dear David, -Original Message- From: David Afshartous [mailto:[EMAIL PROTECTED] Sent: September-11-08 4:48 PM To: John Fox Cc: r-help@r-project.org Subject: Re: [R] plot of all.effects object Dear John, Thanks and sorry for the typo. For the example below, how do I get

Re: [R] mixed model MANCOVA

2008-09-10 Thread John Fox
-- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hadley wickham Sent: September-10-08 8:53 PM To: Erika Crispo

Re: [R] Correct for heteroscedasticity using car package

2008-09-04 Thread John Fox
for it by a transformation of the response variable or by weighted-least-squares estimation. I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED

Re: [R] Error with Rcmdr package

2008-09-02 Thread John Fox
not be loaded -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Polychoric and tetrachoric correlation

2008-09-02 Thread John Fox
://figuraleffect.googlepages.com/ The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox

Re: [R] How to repress the annoying complains from X window system

2008-08-12 Thread John Fox
, Apologies for the delay in my reply. I am at useR in Dortmund and between travel this weekend, the sessions and some residual jet lag, I am just getting caught up on e-mails. I am cc:ing John Fox (who is also here) as the author of Rcmdr, to see if he might have any ideas on this. I also

Re: [R] How to repress the annoying complains from X window system

2008-08-12 Thread John Fox
. Regards, John On Tue, 12 Aug 2008 16:13:48 +0300 Adrian Dusa [EMAIL PROTECTED] wrote: On Tuesday 12 August 2008, Prof Brian Ripley wrote: On Tue, 12 Aug 2008, John Fox wrote: Dear Mark and Adrian, I was under the impression that these errors were fixed in R 2.4.0; you could try

[R] [R-pkgs] New version of Rcmdr package

2008-08-08 Thread John Fox
-in packages to remove (as well as add to) the Rcmdr menus. This should permit individuals to use the Rcmdr infrastructure to create GUIs for specialized applications. As usual, comments, suggestions, and bug-reports are welcome. John -- John Fox, Professor Department

Re: [R] Problems using hetcor (polycor)

2008-08-07 Thread John Fox
(TestPart), and then look at the distribution of each variable. I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [R] How to calculate GLM least square means?

2008-08-06 Thread John Fox
Dear Mark, The effects package (see the JSS article at http://www.jstatsoft.org/v08/i15/paper) will probably do what you want. I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web

Re: [R] FW: Bubble plots

2008-08-02 Thread John Fox
://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. John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario

Re: [R] Link functions in SEM

2008-07-28 Thread John Fox
indicators in the paper at http://socserv.mcmaster.ca/jfox/Misc/sem/SEM-paper.pdf. I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From

Re: [R] help with durbin.watson

2008-07-28 Thread John Fox
suspect that something has gone wrong. Without the data, it's not possible to be more specific. If you haven't already looked at the residuals, I'd do so now. Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web

Re: [R] Change language in Rcmdr

2008-07-07 Thread John Fox
Dear Schleuh and Duncan, The Rcmdr package does make provision for translation and in fact includes translations from English into 10 other language. Philippe is being modest, since he is the French translator. Regards, John -- John Fox, Professor Department

Re: [R] set type of SS in anova()

2008-07-05 Thread John Fox
to test sensible hypotheses. As well, since glm() with no family argument fits a linear model with normal errors, it would be more usual in R to use lm(). Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web

Re: [R] Recoding a variable

2008-07-03 Thread John Fox
Dear Spencer, In addition to the approaches already suggested, there is the recode() function in the car package. Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton ON Canada L8S 4M4 web: socserv.mcmaster.ca

Re: [R] transform a table into a matrix

2008-06-24 Thread John Fox
heterogeneous columns. It's unclear from your question where the table is located -- in a file perhaps? If so, you can use read.table() to read the data into a dataframe. I hope this helps, John John Fox, Professor Department of Sociology McMaster

Re: [R] Problems with Cochrane-Orcutt procedures

2008-06-17 Thread John Fox
Dear Tolga, I'm afraid that I don't see an error. (I expect in any event that the Cochrane-Orcott and Prais estimators are now only of historical interest.) Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada

Re: [R] Problems with Cochrane-Orcutt procedures

2008-06-17 Thread John Fox
(Intercept) Hartnagel[, 7] (Intercept)1226.739528 -1.381235045 Hartnagel[, 7] -1.3812350.001713204 $sigma [1] 14.00277 $rho [1] 0.7835837 attr(,class) [1] cochrane.orcutt Regards, John -- John Fox, Professor Department of Sociology McMaster University

Re: [R] Problems with Cochrane-Orcutt procedures

2008-06-17 Thread John Fox
-- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: June-17-08 2:13 PM To: John Fox Cc: r-help@r

Re: [R] candisc() error message

2008-06-15 Thread John Fox
. Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tanya Yatsunenko Sent: June-15-08 8:23

Re: [R] How to see data for a package built under Windows

2008-06-14 Thread John Fox
Dear Gillian, Unless you add the directive LazyData: yes to the package DESCRIPTION file, you'll need to use the data() command to access the data in the package -- e.g., data(Mowatt). I hope this helps, John -- John Fox, Professor Department of Sociology

Re: [R] MCA in R

2008-06-13 Thread John Fox
Dear Kimmo, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of K. Elo Sent: June-13-08 1:43 AM To: r-help@r-project.org Subject: Re: [R] MCA in R Dear John, thanks for Your quick reply. John Fox wrote: Dear Kimmo, MCA is a rather old

Re: [R] MCA in R

2008-06-13 Thread John Fox
Dear Brian, -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: June-13-08 8:13 AM To: John Fox Cc: 'K. Elo'; r-help@r-project.org Subject: Re: [R] MCA in R Although John Fox naturally mentions his Anova function, I would like to point out that drop1

Re: [R] MCA in R

2008-06-11 Thread John Fox
~ f1 + f2 + etc.). Typically, the results of an MCA are reported using adjusted means. You could compute these manually, or via the effects package. I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada

Re: [R] lsmeans

2008-06-08 Thread John Fox
variables. (Also see my responses to Hadley and Frank's points.) Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [R] lsmeans

2008-06-08 Thread John Fox
(to which Searle rightly objects). Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: hadley wickham [mailto:[EMAIL PROTECTED] Sent: June-08-08 2:52

Re: [R] lsmeans

2008-06-08 Thread John Fox
Dear Hadley, Actually, the effects package does exactly what you suggest for continuous predictors. Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message

Re: [R] lsmeans

2008-06-07 Thread John Fox
fitted values is, I would argue, easier to grasp than the coefficients, the interpretation of which can entail complicated mental arithmetic. Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web

Re: [R] Multivariate LM: calculating F-values after calling linear.hypothesis

2008-06-07 Thread John Fox
), but you apparently ignore the last response variable entirely (which almost surely doesn't make sense). Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message

Re: [R] lsmeans

2008-06-06 Thread John Fox
-help@r-project.org 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. John Fox, Professor Department

Re: [R] Comparing two regression lines

2008-06-04 Thread John Fox
the multivariate linear model, but the sum of squares for error is off. The net result is a test statistic that is slightly off (and has incorrect df). I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web

Re: [R] sum of unknown number of matrices

2008-06-04 Thread John Fox
system.time(S1 - Reduce(+, matrices)) user system elapsed 0.600.000.59 range(S1 - S) [1] 0 0 I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox

Re: [R] robust mlm in R?

2008-06-03 Thread John Fox
errors as well. I think that this revised function does what you want, but I'd also probably program it differently, handling the standard model arguments in the function and calling lm.wfit() for the computations. I hope this helps, John -- John Fox, Professor

Re: [R] Datasets in R

2008-05-30 Thread John Fox
Dear Roland and Carlos, There are some examples in my R and S-PLUS Companion to Applied Regression; the data sets are in the car package. I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web

Re: [R] appropriate covariance matrix for multiple nominal exogenous and multiple continuous endogenous variables in SEM

2008-05-29 Thread John Fox
. Finally, numeric means quantitative, which may or may not literally be continuous. A nominal variable is represented by a factor in R, but remember that the functions in polycor require that the levels be ordered. I hope this helps, John -- John Fox, Professor

[R] R News, volume 8, issue 1 is now available

2008-05-28 Thread John Fox
Dear R users, The May 2008 issue of `R News' is now available on CRAN under the Documentation/Newsletter link. John (on behalf of the R News Editorial Board) John Fox, Professor Department of Sociology McMaster University Hamilton ON Canada L8S 4M4

Re: [R] how to bind lists recursively

2008-05-28 Thread John Fox
. Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley Sent: May-28-08 2:04

Re: [R] How to make R running faster

2008-05-28 Thread John Fox
Dear Chunhao Tu, There is, coincidentally, a discussion of loops and related issues in the Help Desk column in the current issue of R News (see the newsletter link on CRAN). Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton

Re: [R] manipulating multiply imputed data sets

2008-05-28 Thread John Fox
132 38 M 282195 109 14 . . . attr(,call) with.imputationList(smi, table(sex, drkfre)) --- snip --- I hope this helps, John -- John Fox, Professor Department of Sociology

Re: [R] marginality principle / selecting the right type of SS for an interaction hypothesis

2008-05-25 Thread John Fox
the model in your email as an ANCOVA, when in fact it appears to be a two-way ANOVA. I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL

Re: [R] Importing data in text file into R

2008-05-23 Thread John Fox
Dear AJSS, The problem is that the way you've read the data, the first column of the data frame is a factor, not a numerical variable, and thus is not suitable for computing correlations. You could use the command cor(idt[,-1]) to compute correlations on all but the first column, but

Re: [R] Recode

2008-05-17 Thread John Fox
] John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] State disabled to Normal menu

2008-05-17 Thread John Fox
]] __ R-help@r-project.org 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. John Fox, Professor

Re: [R] console from tcltk

2008-05-14 Thread John Fox
Dear Brian and Gabor, When the Rcmdr console.output option is set to TRUE, the Rcmdr interface does something very much like this using cat() for R output, which it captures. The relevant code is in the doItAndPrint() function in the Rcmdr sources. I hope this helps, John -Original

Re: [R] How to get predicted marginal (aka predicted mean) after multinomial logistic?

2008-05-13 Thread John Fox
computed by the delta method. A plan to incorporate this code in the effects package is nearly complete, but for the time being, you'll have to set up the displays yourself, as in the examples. I hope this helps, John -- John Fox, Professor Department of Sociology

Re: [R] Legend in scatterplot and adding regression lines

2008-05-12 Thread John Fox
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox

Re: [R] Type I or III SS with mixed model function lme

2008-05-06 Thread John Fox
in the row basis of the model matrix and hence are not orthogonal, even for balanced data. Using, e.g., contr.sum() should provide A, B, and A:B contrasts that are orthogonal to each other. I hope this helps, John -- John Fox, Professor Department of Sociology

Re: [R] downloading packages at local disk

2008-05-05 Thread John Fox
distribution and don't have to be downloaded or installed separately. I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED

Re: [R] Ancova_non-normality of errors

2008-05-04 Thread John Fox
-advised. Perhaps simply using wt, or a weaker transformation such as sqrt(wt), would produce better-behaved residuals. I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox

Re: [R] How to test for NULL?

2008-04-24 Thread John Fox
Dear Olivier, You can use is.null(). apropos(null) finds is.null(), and help.search(null) turns up ?NULL, which documents is.null(). I hope this helps, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web

Re: [R] ANCOVA

2008-04-21 Thread John Fox
. John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] R question for Stata users

2008-04-19 Thread John Fox
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox

Re: [R] Blank windows in Rcmdr

2008-04-16 Thread John Fox
- [[alternative HTML version deleted]] John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ __ R

Re: [R] plotting muliple CI ellipses for EB estimates

2008-04-13 Thread John Fox
Dear Samuel, The radius reflect the desired coverage of the ellipse. You should be able to use radius - sqrt(qchisq(.95, 2)), I think. I hope this helps, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905

Re: [R] post hoc statistical power

2008-04-08 Thread John Fox
of the p-value. I hope this helps, John John Fox, Professor 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

Re: [R] getting numeric arrays from data frame

2008-04-07 Thread John Fox
-column data frame (and is equivalent to foo[c(3, 5)]), while foo[[c(3, 5)]] returns the element in column 3, row 5 (i.e., the 5th element of the 3rd list element). I hope this helps, John John Fox, Professor Department of Sociology McMaster University Hamilton

Re: [R] Hex Decimal Convert

2008-04-06 Thread John Fox
and provide commented, minimal, self-contained, reproducible code. John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ __ R-help@r-project.org

Re: [R] Hex Decimal Convert

2008-04-06 Thread John Fox
is with the introductory manual distributed with R, which discusses lists in Section 6.1. Alternatively, you could read one of a number of books on R; many are listed at http://www.r-project.org/doc/bib/R-books.html. Regards, John Thanks, Edwin Am Sonntag, 6. April 2008 21:38:19 schrieb John Fox

Re: [R] SEM with a categorical predictor variable

2008-04-02 Thread John Fox
, John John Fox, Professor 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] project.org] On Behalf

Re: [R] Rcmder Error

2008-03-26 Thread John Fox
John Fox, Professor 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] project.org] On Behalf Of Max Sent: March-26-08

Re: [R] adjusted means and adjusted standard errors after ANOVA

2008-03-26 Thread John Fox
the regression coefficients, and about whether you really want F-tests based on sequential sums of squares. In any event, you can get adjusted means and their standard errors from the effects package. I hope this helps, John John Fox, Professor Department of Sociology

Re: [R] Rcmder Error

2008-03-25 Thread John Fox
Dear Max, As Rich Heiberger has suggested, it's difficult to diagnose the error without the data, and it's especially curious that this previously worked (I assume from your message with the same data) and doesn't now. Regards, John John Fox, Professor

Re: [R] Tcl/tk question

2008-03-18 Thread John Fox
Dear Erin, The name you're looking for is James Wettenhall, and the examples are at http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/. Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525

Re: [R] Mimicking SPSS weighted least squares

2008-03-12 Thread John Fox
John Fox, Professor 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] project.org] On Behalf Of Peter Dalgaard Sent

Re: [R] Changing font size of Rcmdr (Linux)

2008-03-10 Thread John Fox
and text input and output to 20-point (from the default 12). I hope this helps, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox -Original Message

Re: [R] Formula for whether hat value is influential?

2008-03-09 Thread John Fox
that it's a better idea to examine diagnostics like hatvalues graphically rather than paying too much attention to numerical cutoffs. Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604

Re: [R] Imputation Packages

2008-03-03 Thread John Fox
as well. Regards, John John Fox, Professor 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] project.org

Re: [R] Script to start Rcmdr

2008-03-03 Thread John Fox
. I hope this helps, John John Fox, Professor 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

Re: [R] [OT] normal (as in Guassian)

2008-03-03 Thread John Fox
-project.org 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. John Fox, Professor Department of Sociology

Re: [R] Rcmdr importing excel files

2008-02-26 Thread John Fox
of files was contributed by Matthieu Lesnoff, to whom I'm copying this response. Maybe he'll have a more complete answer. Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604 http

Re: [R] Weird SEs with effect()

2008-02-17 Thread John Fox
in the effects package do (as is documented in the help files for the package -- see the transformation argument under ?effect and the type argument under ?summary.eff). Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada

Re: [R] Weird SEs with effect()

2008-02-16 Thread John Fox
Dear Gustaf, From ?effect, se: a vector of standard errors for the effect, on the scale of the linear predictor. Does that help? Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604

Re: [R] History of R

2008-02-15 Thread John Fox
, the r-help list (though naive users aren't always treated gently there), and the useR conferences. Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox

Re: [R] Using R in a university course: dealing with proposal comments

2008-02-11 Thread John Fox
Dear Arin, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] project.org] On Behalf Of Arin Basu Sent: February-10-08 10:41 PM To: r-help@r-project.org Subject: [R] Using R in a university course: dealing with proposal comments Hi All, I am scheduled to

Re: [R] scatterplot in CAR

2008-02-11 Thread John Fox
that? Moreover, as in any scatterplot, the variables Y and X will define the coordinates of the points -- there are not distinct X points and Y points. Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905

Re: [R] Which package should I use if I estimate a recursive model?

2008-02-10 Thread John Fox
the sem() function in the sem package, but, aside from getting a test of over-identifying restrictions (assuming that the model is overidentified), there's not much reason to do so -- you'll get the same estimates. I hope this helps, John John Fox, Professor

Re: [R] box.Cox.powers() warning

2008-02-06 Thread John Fox
of finding start values, optimize() apparently tried an unreasonable value. In this case, box.cox.powers(income, start=1) gives you the same result minus the warning. Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario

Re: [R] R-Commander - pie charts menu blinded out

2008-02-05 Thread John Fox
. (If I were really holier than the prophet I would have omitted pie charts entirely!) Regards, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox -Original

Re: [R] Question in R

2008-02-02 Thread John Fox
, minimal, self-contained, reproducible code. John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Labeling different kinds of dots

2008-01-25 Thread John Fox
Dear Svempa, See ?legend. In this case, you could have discovered the legend function via apropos(legend) or help.search(legend). I hope this helps, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525

Re: [R] (sem assunto)

2008-01-20 Thread John Fox
a nonparametric regression model, such as a generalized additive model (see the mgcv and gam packages), with smooth terms in place of linear terms, which can be used to test linearity. I hope this helps, John John Fox, Professor Department of Sociology McMaster

Re: [R] Listing the data contents of a package

2008-01-14 Thread John Fox
Dear Gregory, data(package=MASS) will do what you want. Regards, John On Mon, 14 Jan 2008 15:17:54 -0500 (EST) Gregory Gentlemen [EMAIL PROTECTED] wrote: Hi R users, Simply question: On the command line, how do I list the datasets contained within a package, e.g. MASS? I scanned the

Re: [R] Factor Analysis

2008-01-12 Thread John Fox
case when the variables are dichotomous). This example is also described in a paper that you can get at http://socserv.mcmaster.ca/jfox/Misc/sem/SEM-paper.pdf. I hope this helps, John John Fox, Professor Department of Sociology McMaster University Hamilton

Re: [R] recode() function results in logical output, not factor output

2008-01-08 Thread John Fox
Dear Chuck and Thomas, Thanks, Chuck, for answering Thomas's question. A small point: If Thomas recode()s the factor directly, as you suggest, then as.factor.result=TRUE is the default. Regards, John John Fox, Professor Department of Sociology McMaster

Re: [R] Just Beginning

2008-01-07 Thread John Fox
think of this as a topic for beginners, but I suppose that if you have experience with mySQL you'll find it relatively straightforward. I hope this helps, John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525

Re: [R] bug Rcmdr

2008-01-04 Thread John Fox
) in the latest version on CRAN (1.3-10), lines with semi-colons produce an error. I'll take a look at this problem when I have a chance, and accommodate semi-colons if I can do so reasonably. I don't think that it should be too hard. Regards, John John Fox, Professor

Re: [R] bug Rcmdr

2008-01-04 Thread John Fox
';' in withVisible( a - 2; both under Windows and Ubuntu (R 2.6.1, Rcmdr 2.3-10 in both OSes). Thanks for the information. I'll see what I can do. John John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 905-525-9140x23604 http

<    3   4   5   6   7   8   9   >