
 

I have read a frequency table in to R called "temp."  I now want to create a histogram table from it, but I obviously first have to expand the data - to the sample size of 100. I want to use the command rep(), but I'm not sure how to go about it..I tried using the code:

 

temp1<-rep(temp$Chest,100)

hist(temp1)

 

But this creates a v. odd histogram so I know it must be wrong!

 

Would be very grateful if any one could help me out!

 

Mary

_________________________________________________________________


	[[alternative HTML version deleted]]


