[R] histogram with density

2011-05-23 Thread Rekha
Hello All,* *I want to draw a histogram with density curve. * *For that simply i created a data called*x *and i used the function called *hist(x, col = blue, freq = FALSE),** *from this function i got a histogram*. *After that , i tried this function* ** lines(density(x), col = red, lwd

Re: [R] histogram with density

2011-05-23 Thread Rekha
S . Am getting error still now if i use both version of the codes . i have to call any library? On Tue, May 24, 2011 at 9:22 AM, Steve Lianoglou mailinglist.honey...@gmail.com wrote: Hi, On Mon, May 23, 2011 at 11:41 PM, Rekha chithralekh...@gmail.com wrote: Hello All,* *I want

[R] Importing Sas files to R

2010-12-27 Thread Rekha
Dear All, Am trying to import SAS files to R. For that i used library Hmisc and try-sas.get(C:\\ex.sas7bdat) . But it shows error that Error in sas.get(C:\\ex.sas7bdat) : SAS member name is required In addition: Warning message: In sas.get(C:\\ex.sas7bdat) : C:\ex.sas7bdat/formats.sc? or