Search String: Display: Description: Sort:

Results:

References: [ +from:jfox@mcmaster.ca: 104 ]

Total 104 documents matching your query.

1. Re: breusch-pagan/cook-weiseberg test (score: 1)
Author: "John Fox" <jfox@mcmaster.ca>
Date: Thu, 9 Feb 2006 06:23:52 -0500
Dear Simona, See the ncv.test() function in the car library, available at <http://socserv.socsci.mcmaster.ca/jfox/Books/Companion/car.html>. I hope this helps, John -- John Fox Department of Sociolog
/archives/html/s-news/2006-02/msg00022.html (9,810 bytes)

2. Re: Creating a data frame of NAs (score: 1)
Author: "John Fox" <jfox@mcmaster.ca>
Date: Fri, 17 Feb 2006 15:33:02 -0500
Dear Sohail, One way would be, Data <- as.data.frame(matrix(NA, 65000, 37)) John -- John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://soc
/archives/html/s-news/2006-02/msg00061.html (8,535 bytes)

3. Re: help with bootstrap (score: 1)
Author: "John Fox" <jfox@mcmaster.ca>
Date: Sat, 1 May 2004 09:07:27 -0400
Dear John, As the error message suggests, t.test() doesn't return a vector or matrix -- it returns an object with several elements, one of which (presumably "statistic") you want to bootstrap. Try bo
/archives/html/s-news/2004-05/msg00001.html (8,298 bytes)

4. Re: column naming in dataframe question (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Wed, 11 Feb 2004 19:58:50 -0500
Dear Mark, In my version of S-PLUS (6.2 for Windows), data.frame(cbind(a,b,c,d)) does produce a data frame with column names "a", "b", "c", and "d". But why the cbind()? If some columns are character
/archives/html/s-news/2004-02/msg00089.html (8,903 bytes)

5. Re: getting character name of an object (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Fri, 13 Feb 2004 06:54:27 -0500
Dear Glenn, deparse(substitute()) will do what you describe: [1] "jj.df" I hope this helps, John Quick question. I know that I can use the get function to retreive an object from it's character strin
/archives/html/s-news/2004-02/msg00101.html (7,855 bytes)

6. Re: How to sum (matrix) components of a list? (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Mon, 16 Feb 2004 07:19:17 -0500
Dear Eva, There's probably a more elegant solution based on something like do.call(), but I don't see it. The following should work, however (where matrices is your list of matrices): S <- matrix(0,
/archives/html/s-news/2004-02/msg00117.html (8,519 bytes)

7. Re: How to sum (matrix) components of a list? (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Tue, 17 Feb 2004 07:39:34 -0500
Dear Henrik, It doesn't work for me: Problem in +: argument number 4 in call not matched: "+"(structure(c(1, 2, 3, 4), c(2, 2), N ULL), structure(c(5, 6, 7, 8), c(2, 2), NULL), structure(c(9, 10, 11,
/archives/html/s-news/2004-02/msg00126.html (9,141 bytes)

8. Re: transpose a data frame (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Wed, 18 Feb 2004 16:10:57 -0500
Dear Joe, t() works on data frames, so all you need do is t(your.data.frame). Of course, this likely only makes sense if all of the columns of your.data.frame are numeric, and a numeric matrix will r
/archives/html/s-news/2004-02/msg00151.html (8,098 bytes)

9. Re: Levene test (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Wed, 25 Feb 2004 10:42:24 -0500
Dear Chris, The following function is from my Rcmdr package for R, and is a slightly modified version of a solution contributed by Brian Ripley to the R-help list: levene.test <- function(y, group) {
/archives/html/s-news/2004-02/msg00209.html (8,031 bytes)

10. s (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Fri, 09 Jan 2004 09:28:05 -0500
Dear Naomi, At 07:47 AM 1/9/2004 -0500, Naomi B. Robbins wrote: Apologies. I should have been more specific. There is a chapter on roses in Wainer's "Visual Revelations." Florence Nightingale introdu
/archives/html/s-news/2004-01/msg00028.html (10,086 bytes)

11. t (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Fri, 09 Jan 2004 17:12:18 -0500
Dear Joe, I believe that what you're referring to is Stevens's Law in psychophysics, which states that the perceived strength of a stimulus is proportional to some power of the physical stimulus, wit
/archives/html/s-news/2004-01/msg00033.html (12,130 bytes)

12. S (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Sat, 10 Jan 2004 09:16:12 -0500
Dear Spencer and Ping Zhang, The sem package in R estimates structural equation models by maximum likelihood (assuming multinormality) not by partial least squares (which I think is best thought of a
/archives/html/s-news/2004-01/msg00035.html (9,559 bytes)

13. Re: changing x axis tick labels (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Thu, 04 Dec 2003 08:43:42 -0500
Dear Christoph, plot(x, y, axes=FALSE) axis(2) axis(1, at=seq(1, 9, by=2), labels=LETTERS[1:5]) box() I hope that this helps, John Using the command line (and avoiding using "GuiCreate"), how can I s
/archives/html/s-news/2003-12/msg00017.html (7,931 bytes)

14. Re: Query: position of the max within a vector (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Mon, 24 Nov 2003 08:04:57 -0500
/archives/html/s-news/2003-11/msg00151.html (7,983 bytes)

15. Re: code for finding row and column number of cells with T (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Tue, 14 Oct 2003 14:26:04 -0400
/archives/html/s-news/2003-10/msg00131.html (8,709 bytes)

16. Re: Fw: Removing characters in a character string. (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Wed, 15 Oct 2003 08:29:08 -0400
/archives/html/s-news/2003-10/msg00143.html (12,259 bytes)

17. Re: Generating combination from a sequence (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Wed, 10 Sep 2003 11:43:28 -0400
Dear Jag, If you mean random combinations, sample(1:13,3) will do the trick; if you mean all combinations, there's code for this problem in Venables and Ripley's S Programming (p. 49). I hope that th
/archives/html/s-news/2003-09/msg00051.html (9,161 bytes)

18. Re: Generating combination from a sequence (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Wed, 10 Sep 2003 14:44:05 -0400
Dear Greg, Other solutions have been posted to the list. The code for Venables and Ripley's subsets function -- a very clear solution based on recursion -- is available in the complements for their b
/archives/html/s-news/2003-09/msg00058.html (10,827 bytes)

19. Re: vector conditionals (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Thu, 11 Sep 2003 09:52:12 -0400
Dear Gary, ifelse *is* a vectorized conditional, and (unless I misunderstand what you want to do more generally) your example can be reproduced using cascading ifelses: + ifelse(c(T,F,F,F,F,F),7:12,
/archives/html/s-news/2003-09/msg00064.html (8,722 bytes)

20. Re: FW: stripping digits from a string (score: 1)
Author: John Fox <jfox@mcmaster.ca>
Date: Sat, 13 Sep 2003 21:23:31 -0400
Dear Mark, I have the following problem that I have spent a lot of time on but I can't figure out. I have a string called tickerstring that might be "ANL LN32" and i want to get rid of the digit piec
/archives/html/s-news/2003-09/msg00089.html (7,952 bytes)


This search system is powered by Namazu