Re: [R] How to label certain values on a curve?

2012-06-06 Thread Wendy Han
This is exactly what I need. Thanks a lot! Best, Wendy On Wed, Jun 6, 2012 at 11:38 AM, R. Michael Weylandt < michael.weyla...@gmail.com> wrote: > Take a look at the identify() function. > > Best, > Michael > > On Wed, Jun 6, 2012 at 11:23 AM, Wendy Han wrote: > >

[R] How to label certain values on a curve?

2012-06-06 Thread Wendy Han
Hi all, I have drawn a curve in R and observed some interesting values, I wonder if there is any method to mark certain values on this curve, so that I can manually choose the point and know the exact value of this point simultaneously? I appreciate your suggestions and advice! Thanks a lot! Wend

[R] About How to check if a html directory exists

2011-04-25 Thread Wendy Han
Dear all, I want to let R automatically download available files from a website in certain folders. Since the files I need, if exist, are in a certain directory, I used download.file() function with a predesigned directory. However, some of the folders do not have the file I want. When this occu

[R] Confusion of cov() and ccov() Function Error

2010-07-19 Thread Wendy Han
On Mon, Jul 19, 2010 at 9:09 AM, Wendy Han wrote: > Hi, > > Excuse me for asking this silly question. But I really couldn't understand > why cov() and ccov() don't work for my calculation of covariance matrix. > > a <- matrix(1:8, 2, 4) > a > [,1] [,2]

[R] Calculation of Covariance Matrix Calculation

2010-07-19 Thread Wendy Han
Hi, Excuse me for asking this silly question. But I really couldn't understand why cov() and ccov() don't work for my calculation of covariance matrix. a <- matrix(1:8, 2, 4) a [,1] [,2] [,3] [,4] [1,]1357 [2,]2468 > ccov(a) Error in solve.default(cov, ...) :