[R] How could I graph a special coordinate

2014-05-19 Thread Klot Lee
hi, I'v got some data attached as apx.csv. It shows the relationship about a kind of enzyme and the temperature. "yhf" and "xbt" are 2 kind of cowpea. "apx" is the kind of enzyme and "low" means the lowest temperature intraday. "date" means 1 to 121 days. What I want to show with it is how is "a

[R] could I smooth the geom_line output on ggplot2?

2014-05-19 Thread Klot Lee
hi, I have got some data and draw a line graph with ggplot2 geom_line. The output seems too sharp to me, is there any way to smooth it? I mean smooth the line, NOT ADDING a smooth line. Or there is other functions in ggplot2 can help me out with a smooth line? Thank you. -- Stand Alone Complex

Re: [R] could I remove or move points in locator() based on plot()?

2013-08-02 Thread Klot Lee
R code) to do what you need. > > > On Fri, Aug 2, 2013 at 3:26 AM, Klot Lee wrote: > >> Hi, >> The function locator() allows me to add points by mouse on function plot() >> I have draft. But the points can not be edit once I have made the click. >> How can I r

Re: [R] could I remove or move points in locator() based on plot()?

2013-08-02 Thread Klot Lee
ding on the complexity of your graphic, you could also > just re-draw > the entire thing every time you want to make a change. > > Daniel > > > On Fri, Aug 2, 2013 at 10:17 AM, David Winsemius > wrote: > > > > > On Aug 2, 2013, at 2:26 AM, Klot Lee wrote: &g

[R] could I remove or move points in locator() based on plot()?

2013-08-02 Thread Klot Lee
Hi, The function locator() allows me to add points by mouse on function plot() I have draft. But the points can not be edit once I have made the click. How can I remove or just move the points I made on the draft? I use the locator function like this: > plot(1,1) > locator(type="o") Thanks.

[R] how to deal with continous and Non continuous mixed variables in factor analysis?

2013-05-11 Thread Klot Lee
hi, when I am doing factor analysis, there is continous and Non continuous variables(classified variables). Does "psych" package handle this? Is there any difference between continous variables and non ones or mixed ones when doing factor analysis? If there is, which packages should I use then? M