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
Zembo
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 a
h 20, 2008 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 fr
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 t
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 s
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 f
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
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 ha
[If I knew who to report this to privately, I would. Sorry to embarrass
anyone who's just trying to contribute to the R-project.]
There seems to be some oddities with the RSiteSearch web page. When I
enter 'RSiteSearch("console")' I'm taken to
http://search.r-project.org/cgi-bin/namazu.cgi?query=c
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
Hello,
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
>
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
questions that I was
trying to sneak in a homework question without acknowledging it.
Thanks, again, 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: [E
Is this how a t hypothesis test is done when I don't have the actual
data, but just the summarized statistics:
> #Homework 9.2.6 [1]
> n<-31
> xbar<-3.10
> s_x<-1.469
> m<-57
> ybar<-2.43
> s_y<-1.35
> s_pooled<- (((n-1)*s_x^2) + ((m-1)*s_y^2)) / (n + m - 2)
> s_pooled
[1] 1.939521
> t_obs <- (xba
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 t
Dan, I didn't realize that the t values were more accurate than the
normal approximation for n > about 30. I may have learned (incorrectly)
that the normal distribution should be used if n > 30, but now that I'm
thinking about it, this may have just been computationally economical
before computers.
e: [R] 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
&g
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
: Zembower, 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
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
> al
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Daniel Lakeland
Sent: Tuesday, October 16, 2007 4:35 PM
To: r-help@r-project.org
Subject: Re: [R] Calculating confidence in an estimate including
numberof trials?
On Tue, Oct 16, 2007 at 04:30:48PM -0400, Zembower, Kevin wrote
[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 m
> hist(x, freq=FALSE)
> curve(dnorm(x, 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]
Sub
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
24 matches
Mail list logo