Re: [R] Newbie help with Sweave

2008-03-25 Thread Zembower, Kevin
PM To: Zembower, Kevin Cc: [EMAIL PROTECTED] Subject: Re: [R] Newbie help with Sweave Is this in a windows system? A TA of mine was just getting the exact same message. He tracked it down to the pathname for Sweave.sty having trouble with Program Files in the path. Kevin Zembower, Kevin wrote

[R] Newbie help with Sweave

2008-03-24 Thread Zembower, Kevin
I think I've gotten my Emacs/Sweave/R system set up correctly, thanks to Vincent and Jim, but I haven't been successful getting my first document produced. I'm trying to use one of Friedrich Leisch's examples, http://www.ci.tuwien.ac.at/~leisch/Sweave/example-1.Snw. I cut and pasted the text into

[R] Installation of R, Sweave, ESS and [X]Emacs on Windows?

2008-03-20 Thread Zembower, Kevin
I'm trying to get R, Sweave, ESS and XEmacs or emacs all installed and working together on my Windows XP Pro system. I've got R 2.6.0 working just fine, installed from the R Windows installer. I also have CYGWIN_NT-5.1 with XEmacs 21.4 working okay. Can anyone point me to any documentation on how

Re: [R] Installation of R, Sweave, ESS and [X]Emacs on Windows?

2008-03-20 Thread Zembower, Kevin
12:02 PM To: Zembower, Kevin Cc: [EMAIL PROTECTED] Subject: Re: [R] Installation of R, Sweave, ESS and [X]Emacs on Windows? Kevin, Save yourself a lot of trouble and use my modified version of GNU Emacs available from http://vgoulet.act.ulaval.ca/en/emacs and also linked from the ESS

Re: [R] Sampling

2008-02-05 Thread Zembower, Kevin
Would this work: g-sample(rep(LETTERS[1:2],12), 24, replace=F) HTH -Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Judith Flores Sent: Tuesday, February 05, 2008 1:52 PM To: RHelp Subject: [R] Sampling Hi there, I want to generate different

Re: [R] Newbie: Using R to analyse Apache logs

2008-01-31 Thread Zembower, Kevin
Raj, I've been experimenting with R to compute simple statistics from my web logs somewhat similar to what you're describing. For instance, I'm working on trying to classify a unique IP or domain name requestor as 'human' or 'robot' based on the number of seconds between requests for pages. I've

Re: [R] R on an eeePC

2008-01-28 Thread Zembower, Kevin
Doing 'RSiteSearch(eee)' yields some hits. I knew that the ASUS eeePC had come up on r-help. -kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dr. Walter H. Schreiber Sent: Monday, January 28, 2008 9:32 AM To: r-help@r-project.org Subject: [R] R on

[R] Any tools for working with US 2000 census data?

2008-01-17 Thread Zembower, Kevin
I've been given the job of extracting some data from the United States 2000 census (files at http://www2.census.gov/census_2000/datasets/Summary_File_2/Maryland/all_ Maryland.zip 52M). I'm only interested in Census Block Groups (CBGs) located within Baltimore City, Maryland. Additionally, I just

Re: [R] R brakes when submitting a query to MySQL

2007-12-18 Thread Zembower, Kevin
Is it your use of 'con' rather than 'con2' in dbSendQuery? -Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Moragues Sent: Tuesday, December 18, 2007 1:14 PM To: r-help@r-project.org Subject: [R] R brakes when submitting a query to MySQL

[R] Using predict()?

2007-12-11 Thread Zembower, Kevin
I'm trying to solve a homework problem using R. The problem gives a list of cricket chirps per second and corresponding temperature, and asks to give the equation for the linear model and then predict the temperature to produce 18 chirps per second. So far, I have: # Homework 11.2.1 and 11.3.3

[R] Learning to do randomized block design analysis

2007-12-04 Thread Zembower, Kevin
We just studied randomized block design analysis in my statistics class, and I'm trying to learn how to do them in R. I'm trying to duplicate a case study example from my textbook [1]: # Case Study 13.2.1, page 778 cd - c(8, 11, 9, 16, 24) dp - c(2, 1, 12, 11, 19) lm - c(-2, 0, 6, 2, 11)

Re: [R] Homework help: t test hypothesis testing with summarized data?

2007-11-08 Thread Zembower, Kevin
, for all your help for this statistics student. -Kevin -Original Message- From: Peter Dalgaard [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 6:50 PM To: Zembower, Kevin Cc: [EMAIL PROTECTED] Subject: Re: [R] Homework help: t test hypothesis testing with summarized data

Re: [R] problem with log axis

2007-11-01 Thread Zembower, Kevin
Well, here are two attempts that I would have bet on to work, but don't: #Doesn't seems to show up any line at all: abline(a=as.numeric(r1$coefficients[(Intercept)]), b=as.numeric(r1$coefficients[log(x)])) #Line doesn't match points: abline(r1, untf=TRUE) So much for furthering knowledge and this

[R] Homework help: Is this how CIs of normal distributions are computed?

2007-10-31 Thread Zembower, Kevin
I'm looking for a function in R similar to t.test() which was generously pointed out to me yesterday, but which can be used for normally distributed data. To recap yesterday: x - scan() 1: 62 52 68 23 34 45 27 42 83 56 40 12: Read 11 items alpha- .05 t.test(x) One Sample t-test

Re: [R] Homework help: Is this how CIs of normal distributionsare computed?

2007-10-31 Thread Zembower, Kevin
] Homework help: Is this how CIs of normal distributionsare computed? On Wed, Oct 31, 2007 at 03:56:37PM -0400, Zembower, Kevin wrote: I'm looking for a function in R similar to t.test() which was generously pointed out to me yesterday, but which can be used for normally distributed data

[R] Homework help: Is this how CI using t dist are constructed?

2007-10-30 Thread Zembower, Kevin
I'm trying to replicate some of the examples from my textbook in R (my text uses Minitab). In this problem, I'm trying to construct a 95% confidence interval for these distance measurements [1]: # Case Study 7.4.1, p. 483 x - scan() 1: 62 52 68 23 34 45 27 42 83 56 40 12: Read 11 items

Re: [R] Homework help: Is this how CI using t dist are constructed?

2007-10-30 Thread Zembower, Kevin
, Kevin Cc: r-help@r-project.org Subject: Re: [R] Homework help: Is this how CI using t dist are constructed? Zembower, Kevin wrote: I'm trying to replicate some of the examples from my textbook in R (my text uses Minitab). In this problem, I'm trying to construct a 95% confidence interval

[R] Calculating confidence in an estimate including number of trials?

2007-10-16 Thread Zembower, Kevin
[Yes, this is related to a homework problem, but is not the problems itself.] In my mathematical statistics class, we've just learned about properties of estimators, and I can now solve manually problems like this: A sample of size n = 16 is drawn from a normal distribution where sigma = 10 but

[R] Dice simulation: Getting rep to re-evaluate sample()?

2007-10-08 Thread Zembower, Kevin
I'm trying to get R to simulate the sum of the values on 10 fair dice (yes, it's related to a homework problem, but is not the problem itself). I tried to do this: rep(sum(sample(1:6,100,replace=T)), times=10) [1] 341 341 341 341 341 341 341 341 341 341 and noticed that sum(sample()) seems to

Re: [R] Dice simulation: Getting rep to re-evaluate sample()?

2007-10-08 Thread Zembower, Kevin
, mean=meanx, sd=sdx), add=TRUE) Thanks, again, for your quick and accurate help. -Kevin -Original Message- From: Charles C. Berry [mailto:[EMAIL PROTECTED] Sent: Monday, October 08, 2007 1:56 PM To: Zembower, Kevin Cc: [EMAIL PROTECTED] Subject: Re: [R] Dice simulation: Getting rep to re