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

2009-03-23 Thread pfc_ivan
replicate the funcion many times. stephen sefick wrote: > > homework? > > On Mon, Mar 23, 2009 at 1:30 PM, pfc_ivan wrote: >> >> Hello guys, I am stuck here: >> >> How do I make 1000 samples of n = 10 observations from an Exponential >> distribution an

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

2009-03-23 Thread pfc_ivan
Hello guys, I am stuck here: How do I make 1000 samples of n = 10 observations from an Exponential distribution and then compute the mean for all those 1000 samples? Basically I need to prove the Central Limit theorem, which states: http://www.nabble.com/file/p22664113/d175f06cbf200bd52a2c27a2

Re: [R] Using color and plotting characters in a scatterplot matrix [Newbie Help]

2009-02-04 Thread pfc_ivan
I figured out how to do the rest, the only thing I need to do now is to somehow change the numbers which are < 90 to a character string "low" . The values which are between 100 - 90 to convert to character string "medium". And the values larger than 100 to convert to character string "high". Then

[R] Using color and plotting characters in a scatterplot matrix [Newbie Help]

2009-02-04 Thread pfc_ivan
Hello guys, I have this data set that I imported into R using a line: This data set consists of 7 columns. The two important columns are the first one called 'thrust' and the last one called 'amtemp'. jet<-read.table("jetthrust.txt", fill=T, head=T) I am making a scatterplot matrix simply usi

Re: [R] Newbie Question About Histograms

2009-01-28 Thread pfc_ivan
Also I forgot to say that The Y-axis values for each YearC would be the mean value of all the Lenghts that happen in that YearC. Basically I cant figure out how to put the mean values of Lengths for each YearC on Y axis. Thanks in advance! -- View this message in context: http://www.nabble.co

[R] Newbie Question About Histograms

2009-01-28 Thread pfc_ivan
Hello everyone. Just have a question , cant figure out how to make this histogram. I have this table, that i stored in a variable name new.data2. Table looks like this Year GeoArea SmpNo Month Gear Maturity Length Age YearC 1989 1 36210 221225 1 1988 1991 1

[R] Omitting a desired line from a table [Beginner Question]

2009-01-25 Thread pfc_ivan
I am a beginner using this R software and have a quick question. I added a file into the R called fish.txt using this line. fish<-read.table("fish.txt", head=T, fill=T) The .txt file looks like this. Since it contains like 30 lines of data I will copy/paste first 5 lines. Year GeoArea