I've prepared preliminary versions of two packages that I plan eventually to contribute to CRAN: car (for "Companion to Applied Regression") is a package that provides a variety of functions in support of linear and generalized linear models, including regression diagnostics (e.g., studentized residuals, hat-values, Cook's distances, dfbeta, dfbetas, added-variable plots, component+residual plots, ceres plots, Durbin-Watson statistics); some tools for graphing and exploring data (e.g., enhanced quantile-comparison plots -- with simulated envelopes for studentized residuals from linear models, scatterplot, and scatterplot-matrix functions); some utilities (e.g., for recoding variables); some functions for transformations of data (e.g., multivariate unconditional Box-Cox transformation); an enhanced Anova function; and many datasets. The object is to make tasks that are commonly employed in regression modeling more convenient, particularly for students with limited programming skills. I've tried largely to avoid duplicating capabilities in existing packages. sem is a package for fitting "structural-equation models." The package supports general structural equation models with latent varibles, fit by maximum likelihood assuming multinormality, and single-equation estimation for observed-variable models by two-stage least squares. For the present, I'm making these packages available on my web site, at <http://www.socsci.mcmaster.ca/jfox/Misc/car/> and <http://socserv.socsci.mcmaster.ca/jfox/Misc/sem/>. I'm particularly interested in suggestions and comments. John ________________________________ John Fox Department of Sociology McMaster University email: jfox at McMaster.ca web: www.socsci.mcmaster.ca/jfox ________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-announce mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-announce-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thanks for the packages. I'm trying them out, will let you know if I have any issues. I've taught with the little green book you did for Sage. Good work, that. pj John Fox wrote:>> For the present, I'm making these packages available on my web site, at > <http://www.socsci.mcmaster.ca/jfox/Misc/car/> and > <http://socserv.socsci.mcmaster.ca/jfox/Misc/sem/>. > > I'm particularly interested in suggestions and comments. > > John-- Paul E. Johnson email: pauljohn at ukans.edu Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66045 FAX: (785) 864-5700 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "John" == John Fox <jfox at mcmaster.ca> writes:John> I've prepared preliminary versions of two packages that I plan John> eventually to contribute to CRAN: John> car (for "Companion to Applied Regression") is a package that John> provides a variety of functions in support of linear and John> generalized linear models, including regression diagnostics John> (e.g., studentized residuals, hat-values, Cook's distances, John> dfbeta, dfbetas, the above are all already in standard R! Did you look at ?influence.measures and the functions mentioned on that help page? I believe these are all correct for glm objects (which inherit from "lm"), as well. Otherwise, we'd rather like to see bug reports! ........ John> I'm particularly interested in suggestions and comments. Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/ Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27 ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND phone: x-41-1-632-3408 fax: ...-1228 <>< -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 03:00 PM 28/04/2001 +0200, Martin Maechler wrote:> >>>>> "John" == John Fox <jfox at mcmaster.ca> writes: > > John> I've prepared preliminary versions of two packages that I plan > John> eventually to contribute to CRAN: > > John> car (for "Companion to Applied Regression") is a package that > John> provides a variety of functions in support of linear and > John> generalized linear models, including regression diagnostics > John> (e.g., studentized residuals, hat-values, Cook's distances, > John> dfbeta, dfbetas, > >the above are all already in standard R! >Did you look at ?influence.measures and the functions >mentioned on that help page? > >I believe these are all correct for glm objects (which inherit from "lm"), >as well. Otherwise, we'd rather like to see bug reports!Dear Martin, I was aware of these functions (and indeed use a slightly reworked version of lm.influence to do the basic computations). The hat-values from influence.measures() in the base package are correct for glm's, but there is no hatvalues function. (There is a hat function that takes a model-matrix as its argument.) The dfbetas function in the base package is correct for glm's; there is no dfbeta function, although the values are available from lm.influence. The point of adding hatvalues and dfbeta is primarily to attach case names to the values. The rstudent function in the base package isn't quite right for glm's; I provide a generic function with methods for lm and glm objects; likewise for Cook's D. As a general matter, it's not hard to get much of what's in the car package from functions in base R (although some of what's provided is more ambitious). The point was to make some of these things more convenient, which I hope will encourage their use, particularly by (my) students. Regards, John ________________________________ John Fox Department of Sociology McMaster University email: jfox at McMaster.ca web: www.socsci.mcmaster.ca/jfox ________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dear heldesk, 1: I want to upload nlme module set to use in R. When I do this there is a list of error message coming up. But the nlme is loaded anyway. Anything wrong with how I set it up?> library(nlme)Loading required package: nls Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "C:/UNIX/RW1021/library/nlme/libs/nlme.dll": LoadLibrary failure: A device attached to the system is not functioning. Error in library(nlme) : .First.lib failed> library(nlme) >2: If I want to update my R version, I have installed in a separate directory but why the old R doesnt work anymore? is that because the new R takes the place? thanks, Peppy -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Great! I think we should encourage people to upload complete, but not yet fully tested packages to the "devel" section of CRAN. It gets really hard to keep track of source that is scattered all over the 'net. Cheers, Tim John Fox wrote:> I've prepared preliminary versions of two packages that I plan eventually > to contribute to CRAN: > > > For the present, I'm making these packages available on my web site, at > <http://www.socsci.mcmaster.ca/jfox/Misc/car/> and > <http://socserv.socsci.mcmaster.ca/jfox/Misc/sem/>. > > I'm particularly interested in suggestions and comments. >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 12:18 30/04/01 -0400, "Timothy H. Keitt" <Timothy.Keitt at StonyBrook.Edu> wrote:>Great! I think we should encourage people to upload complete, but not yet >fully >tested packages to the "devel" section of CRAN. It gets really hard to >keep track >of source that is scattered all over the 'net. > >Cheers, >Tim > >John Fox wrote: > > > I've prepared preliminary versions of two packages that I plan eventually > > to contribute to CRAN:I fear Tim's idea could lead to mayhem with a multitude of 'built-for-a-job, I-can-use-it' contributions sitting on the devel section. Devel is being used as a beta test repository by people who seem to eventually produce full packages. Perhaps a 'midden' might fill Tim's requirements, there is something similar for Delphi where people contribute code. Every bit of code would need to be identified logically and with the author's name and with appropriate copyright declarations (in Delphi many producers of snippets seem very proud and possessive of their frequently uninspired code ... the really good stuff comes unrestricted GNU style). My gut feeling is that unless contributors were VERY disciplined this could be a problem ... and if the lump is worthwhile it will lead to a package in the hands of a disciplined author. Maybe people with 'bits' could get together and produce an e1071 type package?, Richard Richard Rowe Senior Lecturer Department of Zoology and Tropical Ecology, James Cook University Townsville, Queensland 4811, Australia fax (61)7 47 25 1570 phone (61)7 47 81 4851 e-mail: Richard.Rowe at jcu.edu.au http://www.jcu.edu.au/school/tbiol/zoology/homepage.html -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
As Tim has suggested, I've uploaded these packages to CRAN, to be placed in the "Devel" directory. John At 12:18 PM 30/04/2001 -0400, Timothy H. Keitt wrote:>Great! I think we should encourage people to upload complete, but not yet >fully >tested packages to the "devel" section of CRAN. It gets really hard to >keep track >of source that is scattered all over the 'net. > >Cheers, >Tim > >John Fox wrote: > > > I've prepared preliminary versions of two packages that I plan eventually > > to contribute to CRAN: > > > > > > For the present, I'm making these packages available on my web site, at > > <http://www.socsci.mcmaster.ca/jfox/Misc/car/> and > > <http://socserv.socsci.mcmaster.ca/jfox/Misc/sem/>. > > > > I'm particularly interested in suggestions and comments.________________________________ John Fox Department of Sociology McMaster University email: jfox at McMaster.ca web: www.socsci.mcmaster.ca/jfox ________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> Richard Rowe writes:> At 12:18 30/04/01 -0400, "Timothy H. Keitt" <Timothy.Keitt@StonyBrook.Edu> > wrote: >> Great! I think we should encourage people to upload complete, but not yet >> fully >> tested packages to the "devel" section of CRAN. It gets really hard to >> keep track >> of source that is scattered all over the 'net. >> >> Cheers, >> Tim >> >> John Fox wrote: >> >> > I've prepared preliminary versions of two packages that I plan eventually >> > to contribute to CRAN:> I fear Tim's idea could lead to mayhem with a multitude of > 'built-for-a-job, I-can-use-it' contributions sitting on the devel > section. Devel is being used as a beta test repository by people who > seem to eventually produce full packages.> Perhaps a 'midden' might fill Tim's requirements, there is something > similar for Delphi where people contribute code. Every bit of code > would need to be identified logically and with the author's name and > with appropriate copyright declarations (in Delphi many producers of > snippets seem very proud and possessive of their frequently uninspired > code ... the really good stuff comes unrestricted GNU style). My gut > feeling is that unless contributors were VERY disciplined this could > be a problem ... and if the lump is worthwhile it will lead to a > package in the hands of a disciplined author.> Maybe people with 'bits' could get together and produce an e1071 type > package?,Richard: At the r-core part of DSC-2001 we also talked about a ``useful bits of code'' repository, so something along the lines of your suggestion is coming along ... Best, -k -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
John, Thanks for making these available! I'm very interested in your sem package in particular. Do you have versions that run in S-PLUS too? I'll send comments as I work through the materials. Paul ********************************************************************** MAJ Paul D. Bliese, Ph.D. Chief, Dept. Operational Stress Research Walter Reed Army Institute of Research Washington, DC 20307 Voice: (301) 319-9873 Fax: (301) 319-9484 paul.bliese at na.amedd.army.mil -----Original Message----- From: John Fox [mailto:jfox at mcmaster.ca] Sent: Friday, April 27, 2001 10:52 PM To: R-announce at r-project.org Subject: two new packages I've prepared preliminary versions of two packages that I plan eventually to contribute to CRAN: car (for "Companion to Applied Regression") is a package that provides a variety of functions in support of linear and generalized linear models, including regression diagnostics (e.g., studentized residuals, hat-values, Cook's distances, dfbeta, dfbetas, added-variable plots, component+residual plots, ceres plots, Durbin-Watson statistics); some tools for graphing and exploring data (e.g., enhanced quantile-comparison plots -- with simulated envelopes for studentized residuals from linear models, scatterplot, and scatterplot-matrix functions); some utilities (e.g., for recoding variables); some functions for transformations of data (e.g., multivariate unconditional Box-Cox transformation); an enhanced Anova function; and many datasets. The object is to make tasks that are commonly employed in regression modeling more convenient, particularly for students with limited programming skills. I've tried largely to avoid duplicating capabilities in existing packages. sem is a package for fitting "structural-equation models." The package supports general structural equation models with latent varibles, fit by maximum likelihood assuming multinormality, and single-equation estimation for observed-variable models by two-stage least squares. For the present, I'm making these packages available on my web site, at <http://www.socsci.mcmaster.ca/jfox/Misc/car/> and <http://socserv.socsci.mcmaster.ca/jfox/Misc/sem/>. I'm particularly interested in suggestions and comments. John ________________________________ John Fox Department of Sociology McMaster University email: jfox at McMaster.ca web: www.socsci.mcmaster.ca/jfox ________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.- r-announce mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-announce-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._