Re: [R] R report generator (for Word)?

2012-01-01 Thread G. Jay Kerns
, agendas, capturing-archiving, calendar integration, time tracking,...  These could possibly address some of the other issues you mentioned. Good luck, and Happy New Year.Jay * G. Jay Kerns, Ph.D. Mathematics and Statistics Youngstown State University http

Re: [R] Rcmdr Plugin error

2011-06-17 Thread G. Jay Kerns
*** G. Jay Kerns, Ph.D. Youngstown State University http://people.ysu.edu/~gkerns/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] How to calculate KMO?

2011-04-12 Thread G. Jay Kerns
the Help menu. I just double-checked and both the function and example still work like a charm, almost 4 years later. (?!) Good luck, and I hope this helps. Jay __ G. Jay Kerns, Ph.D. Youngstown State University http://people.ysu.edu/~gkerns

Re: [R] A question to get all possible combinations

2010-12-22 Thread G. Jay Kerns
, which is how I got away with the short command above. __ G. Jay Kerns, Ph.D. Youngstown State University http://people.ysu.edu/~gkerns/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] How to generate multivariate uniform distribution random

2010-11-06 Thread G. Jay Kerns
depend on contributed packages (and you can read more about them on the CRAN Task View for probability distributions). Hope this helps, Jay __ G. Jay Kerns, Ph.D. Youngstown State University http://people.ysu.edu/~gkerns/ __ R

Re: [R] How to generate multivariate uniform distribution random

2010-11-06 Thread G. Jay Kerns
On Sat, Nov 6, 2010 at 8:22 PM, michael tufemich...@gmail.com wrote: Jay,   Yes I'm looking for unif(0,1) and your method works just fine. I suppose your method should work for dimensions greater than 2, am I right? Michael Yes, but it gets that much more tricky to specify the

Re: [R] Is there a regression surface demo?

2010-10-11 Thread G. Jay Kerns
Dear Josh, On Mon, Oct 11, 2010 at 3:15 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi All, Does anyone know of a function to plot a regression surface for two predictors?  RSiteSearch()s and findFn()s have not turned up what I was looking for.  I was thinking something along the lines

Re: [R] same random numbers in different sessions

2010-10-09 Thread G. Jay Kerns
Dear Liviu, On Sat, Oct 9, 2010 at 5:14 PM, Liviu Andronic landronim...@gmail.com wrote: Dear all I'm using Xubuntu Lucid and I keep getting the same random numbers whenever I start a new session of R. For example, I keep getting sample(1:1000, 1) [1] 87 or rnorm(1:10)  [1] -1.3618103  

Re: [R] R-help

2010-10-05 Thread G. Jay Kerns
and provide commented, minimal, self-contained, reproducible code. -- *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone: (330

Re: [R] choose.dir() gone?

2010-09-08 Thread G. Jay Kerns
a look at tk_choose.files in the tcltk package. library(tcltk) ?tk_choose.files Good luck, Jay *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035

[R] [R-pkgs] IPSUR-1.0 is on CRAN, plus update to RcmdrPlugin.IPSUR

2010-07-28 Thread G. Jay Kerns
. G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA http://people.ysu.edu/~gkerns/ ___ R-packages mailing list r-packa...@r-project.org https

Re: [R] Introductory statistics and introduction to R

2010-07-28 Thread G. Jay Kerns
have other suggestions for texts, manuals, web sites, etc. that would introduce statistics and R simultaneously? Have you seen this? http://rwiki.sciviews.org/doku.php?id=books:intrstat Good luck, Jay *** G. Jay Kerns, Ph.D. Associate Professor

Re: [R] Gamma parametrization

2010-03-19 Thread G. Jay Kerns
that the PDF of the density is shown it is reasonably clear as-is. Best, Jay *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone: (330

Re: [R] Update problem? Rcmdr disappears, won't re-open

2010-02-02 Thread G. Jay Kerns
, but in the meantime you may want to post your sessionInfo(). I have run RcmdrPlugin.IPSUR on R-2.10.1, Windows XP, as recently as yesterday during class without any problems. Gotta go for now. Jay -- *** G. Jay Kerns, Ph.D. Associate Professor Department

Re: [R] Update problem? Rcmdr disappears, won't re-open

2010-02-02 Thread G. Jay Kerns
Dear Brian, On Tue, Feb 2, 2010 at 4:33 PM, Liviu Andronic landronim...@gmail.com wrote: On 2/2/10, briancady413 briancady...@yahoo.com wrote:  I am trying unsuccessfully to open RcmdrPlugin.IPSUR from within Rcmdr, via  the pulldown tools menu.  It insists I restart Rcmdr, which I let

Re: [R] Starting with R and distributions graphics

2009-12-15 Thread G. Jay Kerns
the computer, pick up a pencil, and solve the problems by hand. Wait a minute, maybe that should be step 1? Have fun, Jay *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH

Re: [R] Need help to forecasting the data of the time series .

2009-12-10 Thread G. Jay Kerns
response, Stephen; he has seen (most of) this before. Unbelievable. Jay *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone

Re: [R] Combinations and joint probabilities

2009-12-04 Thread G. Jay Kerns
– 8.50, 8.50 – 10.00), etc, in the first line instead of LETTERS. Welcome to R. Jay P.S. Please don't send HTML. Again, in the Posting Guide. [[alternative HTML version deleted]] *** G. Jay Kerns, Ph.D. Associate Professor Department

Re: [R] generating unordered combinations

2009-09-17 Thread G. Jay Kerns
(prob) urnsamples(0:2, size = 3, replace = TRUE, ordered = FALSE) Regards, Jay *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone

Re: [R] faulty formatting of toLatex(sessionInfo())

2009-08-26 Thread G. Jay Kerns
discussion last April: https://stat.ethz.ch/pipermail/r-devel/2009-April/053094.html and IIRC this was fixed for R version 2.10. Hope this helps, Jay -- *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown

Re: [R] Logistic regression and R

2009-07-30 Thread G. Jay Kerns
*** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone: (330) 941-3310 Office (voice mail) -3302 Department -3170 FAX VoIP: gjke

Re: [R] setdiff bizarre (was: odd behavior out of setdiff)

2009-05-30 Thread G. Jay Kerns
Jason, (moved back to R-help) On Sat, May 30, 2009 at 3:30 PM, Jason Rupert jasonkrup...@yahoo.com wrote: Jay, I really appreciate all your help help. I posted to Nabble an R file and input CSV files more accurately demonstrating what I am seeing and the output I desire to achieve when

Re: [R] Odd Behavior Out of setdiff(...) - addition of duplicate entries is not identified

2009-05-29 Thread G. Jay Kerns
posted solution, please specify exactly what you want and I'll wager an R Ninja could dispatch it in moments. Regards, Jay *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown

Re: [R] Odd Behavior Out of setdiff(...) - addition of duplicate entries is not identified

2009-05-29 Thread G. Jay Kerns
Jason, On Fri, May 29, 2009 at 5:58 PM, Jason Rupert jasonkrup...@yahoo.com wrote: Jay, Thanks much for the reply.    I think you are right about the prob. Unfortunately, I was not able to find the old emails I had discussing the use of the more powerful setdiff that essentially inherits

Re: [R] R Books listing on R-Project

2009-05-27 Thread G. Jay Kerns
Jay: why not post your R-books how to on the wiki itself??? Because I thought that it would be better to write the instructions in R-wiki language that anybody could modify rather than post a PDF by me. Here is what I had in mind: http://wiki.r-project.org/rwiki/doku.php?id=links:books:howto

Re: [R] can you tell what .Random.seed *was*?

2009-05-15 Thread G. Jay Kerns
better than this? Conceivably, some of my students will be searching these archives in the future; please feel free to respond off-list if appropriate. Jay -- *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics

[R] can you tell what .Random.seed *was*?

2009-05-14 Thread G. Jay Kerns
*** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone: (330) 941-3310 Office (voice mail) -3302 Department -3170 FAX E-mail: gke...@ysu.edu http://www.cc.ysu.edu/~gjkerns

Re: [R] can you tell what .Random.seed *was*?

2009-05-14 Thread G. Jay Kerns
Dear Duncan, On Thu, May 14, 2009 at 4:39 PM, Duncan Murdoch murd...@stats.uwo.ca wrote: On 5/14/2009 3:36 PM, G. Jay Kerns wrote: Question: 1) can you tell me what my original set.seed() value was?  (I wouldn't be able to figure it out, but maybe someone can) The only way I know

Re: [R] Kumaraswamy distribution

2009-05-12 Thread G. Jay Kerns
Dear Debbie, On Tue, May 12, 2009 at 5:37 AM, Debbie Zhang debbie0...@hotmail.com wrote: Dear R users, Does anyone know how to write function for Kumaraswamy distribution in R? Since I cannot write dkumar, pkumar, etc. in R. Please help. Thanks a lot, Debbie Check the CRAN Task

Re: [R] problem with rgl package

2009-05-05 Thread G. Jay Kerns
a few days ago, and followed the recommendations of this message: http://tolstoy.newcastle.edu.au/R/e6/help/09/03/9250.html which fixed it for me. HTH, Jay *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics

Re: [R] How to set up a function for Central Limit Theorem

2009-03-23 Thread G. Jay Kerns
this. *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone: (330) 941-3310 Office (voice mail) -3302 Department -3170 FAX E-mail: gke...@ysu.edu http://www.cc.ysu.edu

Re: [R] setdiff for data.frames?

2009-03-12 Thread G. Jay Kerns
-devel/archive/26683.html and as a consequence of that discussion: library(prob) setdiff(A,B) Best, Jay *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA

Re: [R] Bivarite Weibull Distribution

2009-01-04 Thread G. Jay Kerns
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University

Re: [R] generate combination multiset (set with repetition)

2008-12-11 Thread G. Jay Kerns
way: library(prob) urnsamples(1:3, size = 2, ordered = FALSE, replace = TRUE) You can convert to a matrix with as.matrix(), if desired. Regards, Jay -- *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown

Re: [R] generate combination multiset (set with repetition)

2008-12-11 Thread G. Jay Kerns
*** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone: (330) 941-3310 Office (voice mail) -3302 Department -3170 FAX E-mail: gke...@ysu.edu http://www.cc.ysu.edu/~gjkerns

Re: [R] generate combination multiset (set with repetition)

2008-12-11 Thread G. Jay Kerns
*** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone: (330) 941-3310 Office (voice mail) -3302 Department -3170 FAX E-mail: gke...@ysu.edu http://www.cc.ysu.edu/~gjkerns

Re: [R] Create unique sets of 3 from a vector of IDs?

2008-12-02 Thread G. Jay Kerns
? expand.grid(letters[1:5], letters[1:5], letters[1:5]) D Have a look at urnsamples() in the prob package. ID - LETTERS[1:5] urnsamples(ID, size = 3, replace = FALSE, ordered = FALSE) Best, Jay *** G. Jay Kerns, Ph.D. Associate Professor

Re: [R] Create unique sets of 3 from a vector of IDs?

2008-12-02 Thread G. Jay Kerns
A D [52,] E B A [53,] E B C [54,] E B D [55,] E C A [56,] E C B [57,] E C D [58,] E D A [59,] E D B [60,] E D C Kingsford Jones On Tue, Dec 2, 2008 at 9:41 PM, G. Jay Kerns [EMAIL PROTECTED] wrote: Dear Brandon, On Tue, Dec 2, 2008 at 10:46 PM, Dylan Beaudette

[R] how to test for the empty set

2008-11-24 Thread G. Jay Kerns
? and in particular, is there an elegant way to check in the case that the mode of the vector is not already known? Thanks in advance for any insight you may have. Best, Jay *** G. Jay Kerns, Ph.D. Associate Professor Department of Mathematics Statistics

Re: [R] how to test for the empty set

2008-11-24 Thread G. Jay Kerns
] on behalf of G. Jay Kerns Sent: Mon 11/24/2008 9:41 AM To: r-help@r-project.org Subject: [R] how to test for the empty set Dear R-help, I first thought that the empty set (for a vector) would be NULL. x - c() x However, the documentation seems to make clear that there _many_ empty sets

Re: [R] how to test for the empty set

2008-11-24 Thread G. Jay Kerns
Dear Everybody, Thanks, length() is the answer. Best, Jay On Mon, Nov 24, 2008 at 1:15 PM, Ted Harding [EMAIL PROTECTED] wrote: On 24-Nov-08 17:41:25, G. Jay Kerns wrote: Dear R-help, I first thought that the empty set (for a vector) would be NULL. x - c() x However, the documentation

Re: [R] Bivariate normal

2008-10-01 Thread G. Jay Kerns
simply be P( X x | Y=y ) * f(y), where f(y) is the marginal pdf of Y (a dnorm). Note that the above is assuming that y is a fixed constant; if not, then you may want to check out the Ryacas package. I hope that this helps, Jay *** G. Jay Kerns

Re: [R] Plot qnorm

2008-09-11 Thread G. Jay Kerns
(RcmdrPlugin.IPSUR) and after the Commander restarts take a look at the Distributions menu. You can plot any of the above. In addition, you will have code echoed to you for the console that you can use for other problems. Best wishes, Jay *** G. Jay

Re: [R] Writing Rcmdr Plugins

2008-08-20 Thread G. Jay Kerns
...[snipped] The /inst directory: in here you will need to put a file menus.txt This should have been the /inst/etc directory, as you noted in your original post. Jay __ R-help@r-project.org mailing list

Re: [R] SLLN for loggamma fails for 2 order moments

2008-06-14 Thread G. Jay Kerns
/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. -- *** G. Jay Kerns, Ph.D. Assistant Professor / Statistics Coordinator Department

Re: [R] Multiset Permutations

2008-04-06 Thread G. Jay Kerns
) { a - temp[, i] perms - array(unlist(permn(a)), dim = c(k, factorial(k))) P - cbind(P, perms) } } return(P) } *** G. Jay Kerns, Ph.D. Assistant Professor / Statistics Coordinator Department

Re: [R] (Small) problem with barchart

2008-02-03 Thread G. Jay Kerns
, minimal, self-contained, reproducible code. -- *** G. Jay Kerns, Ph.D. Assistant Professor / Statistics Coordinator Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone

[R] [R-pkgs] prob package: elementary probability on finite sample spaces

2008-01-10 Thread G. Jay Kerns
. Jay Kerns, Ph.D. Assistant Professor / Statistics Coordinator Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone: (330) 941-3310 Office (voice mail) -3302 Department -3170 FAX E-mail: [EMAIL PROTECTED] http://www.cc.ysu.edu

Re: [R] number of count of each unique row

2007-12-22 Thread G. Jay Kerns
code. -- *** G. Jay Kerns, Ph.D. Assistant Professor / Statistics Coordinator Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA Office: 1035 Cushwa Hall Phone: (330) 941-3310 Office (voice mail

Re: [R] analytical solution to Sum of binominal distributed random numbers?

2007-10-24 Thread G. Jay Kerns
-guide.html and provide commented, minimal, self-contained, reproducible code. -- *** G. Jay Kerns, Ph.D. Assistant Professor / Statistics Coordinator Department of Mathematics Statistics Youngstown State University Youngstown, OH 44555-0002 USA