Dear Sir,

Please excuse my akwardness as I a new to R and computers, but would kindly
appreciate help.
{
a <- sample (1:10,100,replace=T )
b <-sample(10:20,100,replace=T)
c <- sample(20:30,100,replace=T)
d <- sample(30:40,100,replace=T)
e <- sample(40:50,100,replace=T)
}
d1 <- a
d2 <- b
d3 <-c
d4 <- d
d5 <- e

data.frame(d1,d2,d3,d4,d5)
dd <- data.frame(d1,d2,d3,d4,d5)
dd
sd(d1)
summary(d1)
sd(d2)
summary(d2)
sd(d3)
summary(d3)
sd(d4)
summary(d4)
sd(d5)
summary(d5)
I am a beginner to R and am trying to learn statistical
probability. I have started Dr. Levine and Dr Kerns books.
So far from the usual sources, I haven't found the answers
to the following questions and would greatly appreciate
any assistance that anyone might kindly share.
If I run this code, how do I look for duplicate rows and how can
 I adjust the SD of the sample function to make the chances
of a duplicate row occur more often ?
How do I export the dd data frame to excel?
Deepest Gradtitude
Gary

	[[alternative HTML version deleted]]

