Dear HelpeRs,
Given:
x - rnorm(50)
y - rnorm(50)
plot(x,y)
abline(lm(x ~ y))
Is there a way to plot just a portion of the line? Say for values of x
2.0 or x -2.0 and x 4.0. (Still fitting all the points.)
Thank you,
jab
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance
On 1/12/07, Martin Becker [EMAIL PROTECTED] wrote:
Depending on which button you press in Tinn-R, the clipboard is used to
transfer the commands to R, so sometimes you can't rely on the previous
contents of the clipboard while using Tinn-R. If you use the
(source)-versions of the buttons, the
Odd behavior from get.hist.quote this AM.
get.hist.quote('sunw')
trying URL
'http://chart.yahoo.com/table.csv?s=sunwa=0b=02c=1991d=0e=03f=2007g=dq=qy=0z=sunwx=.csv'
Content type 'text/csv' length unknown
opened URL
.. .. .. .. ..
.. ..
On 1/4/07, BBands [EMAIL PROTECTED] wrote:
Odd behavior from get.hist.quote this AM.
Now working, must have been a Yahoo! issue.
jab
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
__
R
On 1/1/07, Prof Brian Ripley [EMAIL PROTECTED] wrote:
And it works perfectly well with RODBC, so you don't need yet
another package. RODBC even comes with SQLite examples.
Thanks, I hadn't thought of that and it should simplify things as we
are already using RODBC for MySQL.
BTW, 'fast' is
On 12/30/06, Farrel Buchinsky [EMAIL PROTECTED] wrote:
Instead I used RODBC
sqlSave(channel,RawSeq)
to push the table into a Microsoft Access database
Then a sql query, courtesy of the Microsoft Access Query Wizard a la design
mode.
If SQL does prove to be part of your approach you might
On 12/30/06, Wensui Liu [EMAIL PROTECTED] wrote:
Dear Experts,
Thank you so much for your opinions. I probably will go with python.
Following your suggestion, I started reading some tutorials but have a
quick question. In the sense of statistical computing, is there
anything that can be
On 12/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
how to suppress a loading required package:... message?
require(package, quiet=TRUE)
jab
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
On 12/27/06, Dirk Eddelbuettel [EMAIL PROTECTED] wrote:
Do you remember the bollingerBands example we worked on a few years ago and
that is still at Romain's incredible R Graph Gallery at
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=65
It uses layout, you can also use
On 12/23/06, Wensui Liu [EMAIL PROTECTED] wrote:
if you recommend one, I will really appreciate it if you could point
out a good source for learning as well.
We have found Python to be the perfect choice for our work. Python is
a high-level, cross-platform language that is easy to learn/write
On 12/13/06, lu kan [EMAIL PROTECTED] wrote:
Hi, Is it possible to install R in a linux box (Debian) without being a root.
I know I can compile the R source code, but there is no F77 compiler on the
box. So is it possible to install binary R without being a root?
If you can get the F77
On 10/17/06, Zembower, Kevin [EMAIL PROTECTED] wrote:
I work for an organization that analyses behavior change communication
programs regarding HIV/AIDS and reproductive health. A typical question
we're trying to answer is, Watching which television programs in South
Africa is related to an
On 10/17/06, Weiwei Shi [EMAIL PROTECTED] wrote:
is there some good summary on clustering methods in R? It seems there
are many packages involving it.
Gabor provided this very useful link a couple of days back.
http://cran.r-project.org/src/contrib/Views/Cluster.html
jab
--
John
Apparently misunderstanding me,
On 10/8/06, Richard A. O'Keefe [EMAIL PROTECTED] wrote:
Amongst other things, it should NOT acquire misfeatures
in order to support editors that happen not to support comment-region.
...
One can only comment from one's experience. We have found the concept
of
And of course vim, emacs, nedit, tinn-r...
Should R be editor specific? Or should it be editor neutral?
In my view blocks comments are a desirable, editor-neutral approach.
Note that most of the more recent languages have some form of block
comment capability.
+1 for Python style comments.
your comments here
and some more
...
and some related info
jab
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
__
R-help@stat.math.ethz.ch mailing list
As requested:
The alignment problem came from calling format many times. Marc
Schwartz suggested a solution of putting my results in a vector and
then formatting. As I understand it the problem is that fixed-width
fields are only available from sprintf, while comma delineation is
only available
Many thanks to Marc Schwartz who helped me work through this problem
in a series of off list exchanges.
jab
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
__
R-help@stat.math.ethz.ch
Hello,
For numbers in the range 100 to 100,000,000 I'd like to decimal align
a right-justified comma-delineated column of numbers, but I haven't
been able to work out the proper format statement. format(num,
justify=right, width=15, big.mark=,) gets me close, but numbers
larger than 1,000,000
On 9/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
(i) the command area at the bottom cannot be found
(ii) the regular R window cannot be minimized/maximized anymore.
I cannot duplicate these problems with R 2.3.1, SciViews 0.8-9, Win XP(current).
jab
--
John Bollinger, CFA, CMT
On 9/21/06, Earl F. Glynn [EMAIL PROTECTED] wrote:
Which function was used to produce this plot?
library(ellipse)
?plotcorr
Look at the third example for the color plot.
That's pretty nice. I have been using symnum(). Are there any other
neat visualisations for correlation matrices?
On 9/17/06, Darren Weber [EMAIL PROTECTED] wrote:
Hi,
are there any good charting and analysis tools for use with
currencies, stocks, etc. in R? I have some tools to download currency
data from the NYFRB using python and XML. Can we get and parse an XML
download using R? Can we have
On 9/8/06, Ffenics [EMAIL PROTECTED] wrote:
Hi there
Can anyone tell me please if I can access R though a perl script?
http://www.omegahat.org/RSPerl/
And there is always:
http://rpy.sourceforge.net/
jab
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you
for RODBC you must make a connection SQLBASE first:
For XP: control panel Admin tools Data sources Add...
You may have to install the SQLBASE ODBC driver first if it is not on the list.
The rest should be easy just supply the connection name and details to RODBC.
jab
--
John Bollinger,
On 8/30/06, Rolf Turner [EMAIL PROTECTED] wrote:
I am (for my sins) having to do some work using R under Windoze. I
wanted to set up a .Rprofile to control my set-up. The docs on
.Rprofile say that it can/should be placed in ``the user's home
directory''. ``An Introduction to R'' observes
And... If you have/use shortcuts to R, you may also save an
.Rprofile to whatever directory you name in the Start in: field of
the shortcut. This allows one to have many profiles.
jab
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the
R 2.3.1
I wrote a little script to do some cross correlations. The symbols are
in a text file like so:
symbols.txt
ibm
dd
csco
require(tseries)
symbols - scan(symbols.txt, what = 'character')
for(line in 1:(length(symbols)-1)) {
assign(symbols[line], get.hist.quote(instrument =
27 matches
Mail list logo