Re: [R] Help on lattice barchart ploting

2012-02-20 Thread MLSC
Hello friends, Thanks for the help. Yes, It is works fine with Davids suggestion. I had to convert "Freqs " to as.character(). Thanks again. Regards, mlsc On Mon, Feb 20, 2012 at 5:52 PM, Richard M. Heiberger wrote: > I do not see the restricted range that you report. > There is probably some mas

Re: [R] Help on lattice barchart ploting

2012-02-20 Thread Richard M. Heiberger
I do not see the restricted range that you report. There is probably some masking as David pointed out. Try again in a fresh R session with --vanilla. You probably want three additional arguments. update(.Last.value, xlim=c(0, 100), between=list(x=1, y=1), origin = 0) to the barchart function call

Re: [R] Help on lattice barchart ploting

2012-02-20 Thread David Winsemius
On Feb 20, 2012, at 5:34 AM, MLSC wrote: Hi friends, I have following data and would like to plot this with barchart() availble with lattice package. RsID Freqs Genotype AAA 63.636 1/1 AAA 32.727 1/2 AAA 3.636 2/2 BBB 85.965 2/2 BBB 14.035 2/1 CCC 63.158

[R] Help on lattice barchart ploting

2012-02-20 Thread MLSC
Hi friends, I have following data and would like to plot this with barchart() availble with lattice package. RsID Freqs Genotype AAA 63.636 1/1 AAA 32.727 1/2 AAA 3.636 2/2 BBB 85.965 2/2 BBB 14.035 2/1 CCC 63.158 1/1 CCC 21.053 1/2 CCC 15.789 2/2