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
-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
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
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
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
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
--
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
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
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
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
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
-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
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
--
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
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
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
://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
,
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
.
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
-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
(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
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
://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
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
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
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
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
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
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
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
(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
--
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
.
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
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
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
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
~ 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
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
(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
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
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
), 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
-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
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
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
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
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
.
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
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
.
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
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
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
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
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
]
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
]]
__
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
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
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
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
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
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
-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
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
.
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
-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
-
[[alternative HTML version deleted]]
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
__
R
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
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
-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
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
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
,
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
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
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
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
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
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
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
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
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
.
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
-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
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
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
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
, 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
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
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
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
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
. (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
, 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
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
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
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
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
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
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
) 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
';' 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
701 - 800 of 825 matches
Mail list logo