, reproducible code.
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
]))/D[j]
}
k - 1:(n - 1)
D[n] - X[n, n] - sum((L[n, k]^2) * D[k])
if (abs(D[n]) tol) stop(matrix is numerically singular)
L %*% diag(sqrt(D))
}
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S
://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
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
else as well?
Thanks in advance, Andy
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
__
R-help@stat.math.ethz.ch
on this.
Thank you
Upasna
--
-
Upasna Sharma
Research Scholar
Shailesh J. Mehta School of Management,
Indian Institute of Technology, Bombay
Powai, Mumbai - 400076, India
John Fox, Professor
Department
the comparative
contributions of the different components.
Notes: the current version of termplot does not allow the user to
specify ylim. I checked.
the plot tools that come with mgcv do this by default. Thanks
Simon.
John Fox, Professor
Department
= names(dx)[4:6], par.size = 's', maxiter =
1e3,
analytic = F, gradtol = 1e-10) ##set raw to False
summary(obj = sem.enf.rq, dig = 3, conf = 0.9)
Respectfully,
Frank Lawrence
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Dear Des,
The following should do the trick:
invBoxCox - function(x, lambda)
if (lambda == 0) exp(x) else (lambda*x + 1)^(1/lambda)
I hope this helps,
John
John Fox, Professor
Department of Sociology
McMaster University
Hamilton
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
Dear Hilmar,
You could use something like
DF - as.data.frame(lapply(DF, function (x) if (is.factor(x)) factor(x) else
x))
Where DF is the data frame.
I hope this helps,
John
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
be appreciated.
I'd like to acknowledge Richard Heiberger's suggestions for the design of
this plug-in facility.
John
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
Dear Hao,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hao Liu
Sent: Thursday, May 24, 2007 3:53 PM
To: r-help@stat.math.ethz.ch
Subject: [R] GUI component Margin on tkcanvas, tkframe or tktoplevel
Dear gurus:
I have a question on how to
Dear Chuck,
This solution works reasonably well for me. Although it occasionally
produces an error, I'm able to trap that.
Thank you -- and to everyone else who responded.
John
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
, I believe, and differs trivially from the one in Efron
and Tibshirani.
Regards,
John
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
Dear Thomas,
This seems simpler than the solution that I used, so I'll give it a
try.
Thanks,
John
On Tue, 22 May 2007 09:01:01 -0700 (PDT)
Thomas Lumley [EMAIL PROTECTED] wrote:
On Mon, 21 May 2007, John Fox wrote:
In retrospect, I didn't specify the problem clearly: What I want
Dear r-helpers,
I wonder whether, given the #rrggbb representation of a colour, there is a
simple way to select the complementary colour, also expressed as a #rrggbb
string.
Any suggestions would be appreciated.
John
John Fox, Professor
Department of Sociology
that this is better described as a
contrasting than a complementary colour.
Your solution, for example breaks down for grays:
mycol - #88
do.call(rgb, as.list(1 - col2rgb(mycol) / 255))
[1] #77
Thank you for the suggestion.
John
John Fox, Professor
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original Message-
From: Achim Zeileis [mailto:[EMAIL PROTECTED]
Sent: Monday, May 21, 2007 7:07 PM
Dear Hao,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 17, 2007 8:29 AM
To: John Fox
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Is it possible to pass a Tcl/Tk component as
argument to afunction
John:
Thanks for your reply, I
Dear Hao,
You might take a look at how the Rcmdr package is implemented with many
reusable elements. There is, for example, an initializeDialog function.
I hope this helps,
John
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Dear Marco,
You might also take a look at ?Anova (or ?Manova) in the car package; the
last examples are for a repeated-measures ANOVA using both MANOVA and
univariate approaches, the latter with GG and HF corrections.
I hope this helps,
John
John Fox, Professor
Dear Adai,
-Original Message-
From: Adaikalavan Ramasamy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 08, 2007 8:38 PM
To: S Ellison
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; R-help@stat.math.ethz.ch
Subject: Re: [R] Weighted least squares
Dear Hadley,
-Original Message-
From: hadley wickham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 2:21 AM
To: John Fox
Cc: R-help@stat.math.ethz.ch
Subject: Re: [R] Weighted least squares
Thanks John,
That's just the explanation I was looking for. I had hoped
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] 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] On Behalf
- Biplots.
Why is this an error?
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
Dear Yuandan,
The function definition given in the article doesn't produce an error for
me.
Regards,
John
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
intersection(a, b, c)
[1] c d
intersection(a, b, c, d)
[1] d
intersection(a, b, c, d, e)
character(0)
do.call(intersection, list(a, b, c))
[1] c d
I hope this helps,
John
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S
, a, b)
[1] b c d
Fold(intersect, a, b, c)
[1] c d
Fold(intersect, a, b, c, d)
[1] d
Fold(intersect, a, b, c, d, e)
character(0)
do.call(Fold, list(intersect, a, b, c, d))
[1] d
Regards,
John
John Fox, Professor
Department of Sociology
McMaster University
well to find someone with whom you can about your
research problem.
Regards,
John
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
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] On Behalf
Dear Duncan and Giovanni,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Duncan Murdoch
Sent: Friday, April 20, 2007 10:13 AM
To: Giovanni Petris
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Suggestions for statistical computing course
On
read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox
that it includes no covariance components; moreover,
if this is the complete structural part of the model, then I think it is
underidentified, and the two parts of the model (those involving eta1 and
eta2) appear entirely separate.
I hope this helps,
John
John Fox
Department
research.
John
John Fox
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
Dear Brian,
I don't yet have a Vista machine, but it occurs to me that some of these
problems might be avoided if R installed by default into c:\R rather than
c:\Program Files\R. Is that the case?
Thank you, by the way, for pursuing these issues.
John
John Fox
Dear Brian,
-Original Message-
From: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 14, 2007 9:44 AM
To: John Fox
Cc: [EMAIL PROTECTED]
Subject: RE: [R] Windows Vista issues
On Sat, 14 Apr 2007, John Fox wrote:
Dear Brian,
I don't yet have a Vista
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
Department of Sociology
McMaster University
Hamilton
/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
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http
Dear Dimitri,
-Original Message-
From: John Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2007 8:11 AM
To: John Fox
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] sem vs. LISREL: sem fails
Dear Scott,
(John, actually.)
thanks a lot - all your comments are extremely
model
fit to the covariance matrix by setting the argument par.size to
startvalues (as suggested in ?sem):
sem.anxiety - sem(model, COVAR, N=150, par.size=startvalues)
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada
will produce the error that
you've encountered.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original Message
, since you didn't appear to use
anything in it; (2) comments in R are prefixed by #, not !.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
Dear adschai,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 7:33 PM
To: John Fox
Cc: r-help@stat.math.ethz.ch
Subject: Re: RE: [R] Dealing with large nominal predictor in
sem package
Hi John,
Thank you. I think (2) from
Dear adschai,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 8:30 PM
To: John Fox; r-help@stat.math.ethz.ch
Subject: Re: RE: [R] Dealing with large nominal predictor in
sem package
Hi John,
Additional two questions
to contr.treatment; it calculates
sums-of-squares in a manner that's independent of the parametrization, while
Anova() does not.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http
the Wald tests)?
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original Message-
From: [EMAIL PROTECTED
. This suggests to me
that the first place to look for a problem is in ftest.systemfit().
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
Dear Mark,
Take a look at the Anova() function in the car package. There's an example
of a repeated-measures MANOVA in ?Anova (the last example). Also see
?anova.mlm.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
hope this helps,
John
John Fox
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
rownames(R) - colnames(R) - colnames(X)
R
}
cr.plots() in the car package produces partial-residual plots
(component+residual plots) but returns neither partial correlations nor
partial-regression coefficients.
Regards,
John
John Fox
Department of Sociology
correlation between a
particular X and Y controlling for all the other X's. This is exactly what
the partial.cor() function computes. If I follow correctly what you want,
you just have to square the partial correlations.
Regards,
John
John Fox
Department of Sociology
that there are
no unusually large studentized residuals (and indeed that the largest
studentized residual is smaller than one would expect under the standard
linear-model assumptions).
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
.
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
).
Second, the appendix to the paper and the originally posted examples didn't
include the code for Figure 8 (which is Figure 10 in the published version
of the paper). I'll add that.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
provided do not construct graphs automatically, as those in the effects
package do for linear and generalized linear models. Eventually, I'd like to
incorporate this material in the effects package.
Regards,
John
John Fox
Department of Sociology
McMaster University
to improve the appearance of the default
graphs. But Brian's suggestion is very straightforward, and I guess that I
shouldn't wait to implement it; I'll do so very soon.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905
John Fox
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] On Behalf Of
Muenchen
Dear Frank,
-Original Message-
From: Frank E Harrell Jr [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 10:51 AM
To: John Fox
Cc: 'Prof Brian Ripley'; 'r-help'; 'Chuck Cleland'; 'Liaw, Andy'
Subject: Re: [R] how to get lsmeans?
John Fox wrote:
Dear Frank
as the
number of levels of the factors held constant increase. On the scale of the
linear predictor, these sets would differ only by constants.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http
Dear Hendrik,
Arrows() is the first entry turned up by RSiteSearch(arrows,
restrict=functions), so its effort to hide isn't very successful.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
,
John
John Fox
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] On Behalf
://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
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http
Dear Mike,
I don't believe that I've provided a way to get these correlations
automatically, but you can, of course, just divide the covariance by the
product of the standard deviations.
I hope this helps,
John
John Fox
Department of Sociology
McMaster
Dear Tim,
See ?standardized.coefficients (after loading the sem package).
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
standardize the quantitative
variables (Y and X's) in the regression equation.
I hope that this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
Dear Rene,
There are several ways to do what you want, including get(s1)[,S2].
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
thing that seems particularly
striking in your results is the large difference between elapsed time and
user CPU time, making me wonder what else was going on when you ran these
examples.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton
Dear Brian,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Prof
Brian Ripley
Sent: Monday, January 22, 2007 11:06 AM
To: Charilaos Skiadas
Cc: John Fox; r-help@stat.math.ethz.ch
Subject: Re: [R] efficient code. how to reduce running time
().
(BTW, is maxF really a matrix?) You also needlessly recompute max(F), never
appear to use MSSid, and end lines with unnecessary semicolons.
I hope that this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525
40.61NANA
system.time(mods - lapply(as.list(X), function(x) lm(y ~ x)))
[1] 53.29 0.37 53.94NANA
In cases such as this, I don't even find the code using *apply() easier to
read.
Regards,
John
John Fox
Department of Sociology
McMaster University
Dear Achim,
-Original Message-
From: Achim Zeileis [mailto:[EMAIL PROTECTED]
Sent: Monday, December 25, 2006 8:38 AM
To: John Fox
Cc: 'Dirk Eddelbuettel'; 'ivo welch'; r-help@stat.math.ethz.ch
Subject: Re: [R] extend summary.lm for hccm?
On Sun, 24 Dec 2006, John Fox wrote
] - table[,1]/table[,2]
table[,4] - 2*pt(abs(table[,3]), df.residual(model), lower.tail=FALSE)
sumry$coefficients - table
print(sumry)
cat(Note: Heteroscedasticity-consistant standard errors using
adjustment,
type, \n)
}
John Fox
.
Regards,
John
John Fox
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
Dear Ambrogi,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ambrogi Federico
Sent: Tuesday, December 19, 2006 12:03 PM
To: r-help@stat.math.ethz.ch
Subject: [R] effect plot
Dear R users,
Is there a simple way to use the effect function
Dear Roman,
You can use unique(X, MARGIN=2). See ?unique for details.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
of
the function in the global environment via reliability -
Rcmdr:::reliability.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
=no)
}
If anyone knows how I can fix the problem, I'd be happy to so do.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original Message-
From: [EMAIL PROTECTED]
[mailto
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
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
Dear Cameron,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cameron Gillies
Sent: Sunday, December 03, 2006 1:58 PM
To: r-help@stat.math.ethz.ch
Subject: [R] lmer and a response that is a proportion
Greetings all,
I am using lmer (lme4
, if you have
many values of 0, 1, or both, then a transformation isn't promising (and,
indeed, the logit wouldn't be defined for these values). In any event, I'd
check diagnostics after a preliminary fit.
I hope this helps,
John
John Fox
Department of Sociology
McMaster
hope this helps,
John
John Fox
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
John Fox
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] On Behalf Of BRENDAN KLICK
Dear Carmen,
length(grep([^01], bits)) == 0
should do the trick, returning TRUE if the string contains only 0's and 1's.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http
and covariance
components, comparing each null model with the full model.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
suggestion won't give you the answer, but I guess that at this point I
should leave to someone else who understands more clearly what you want to
sort it out.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905
Dear Michael,
This looks like a multivariate simple regression -- that is, 12 response
variables, one predictor. If the data are in the matrix X, then lm(X[,1:12]
~ X[,13]) should do the trick.
I hope this helps,
John
John Fox
Department of Sociology
McMaster
, hosted by
the Department of Politics and International Relations at Oxford, has mostly
employed R and Stata.
Of course, my own preference is for R.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
Dear Jonathan,
An alternative is to use the raw argument to poly(), possibly after
centering the predictor. This probably will work OK as long as the degree of
the polynomial isn't high.
I hope this helps,
John
John Fox
Department of Sociology
McMaster
Dear r-help members,
Can lmer() in the lme4 package fit models that have a specified within-group
correlation structure, as provided, for example, by the correlation argument
to lme() in the nlme package?
Thanks,
John
John Fox
Department of Sociology
McMaster
hope this helps,
John
John Fox
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
several days.
Sorry,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original Message-
From: [EMAIL PROTECTED]
[mailto
Dear Davia,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Davia Cox
Sent: Friday, October 27, 2006 3:37 PM
To: r-help@stat.math.ethz.ch
Subject: [R] Qualitative Data??(String command)
I am using the read.table function to load an Excel data
Dear Murray,
How about as.numeric(factor(y)) ?
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original
(see ?car) that has
several examples of the use of the function.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original
upload the new version of
the package to CRAN shortly.
Regards,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original
about how
R handles factors in linear models).
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original
.
I hope this helps,
John
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
-Original Message-
From: [EMAIL PROTECTED]
[mailto
1 - 100 of 644 matches
Mail list logo