Displaying 20 results from an estimated 4000 matches similar to: "stacked plots"
2007 Jan 16
3
plot portion of a line
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 far enough, you arrive at the beginning.
2006 Aug 29
1
passing namees
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 = symbols[line],
start = "2005-09-01", quote =
2006 Sep 28
2
a decimal aligned column
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 project a digit beyond the right edge of the
column, which I really don't
2006 Aug 30
10
.Rprofile under Windoze.
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 lucidly that this
concept needs to be clarified under Windoze.
Following the suggestions in An Introduction to R, I tried
putting a
2006 Dec 27
1
how to suppress a "loading required package: ..." message
Hi,
how to suppress a "loading required package:... " message?
Kind regards
Jaci
--
2006 Oct 17
4
cluster in R
hi,
is there some good summary on clustering methods in R? It seems there
are many packages involving it.
And I have two questions on clustering here:
1. Is there a way of evaluate the effecitives (or seperation) of
clustering (rather than by visualization)?
2. Is there a search method (like genetic search) which can help find
the best subset of attributes which gives best seperation?
Thanks,
2006 Sep 08
1
Connecting to R using Perl?
Hi there
Can anyone tell me please if I can access R though a perl script?
And whether there are some internet resources/books I can use to help me?
Thanks
[[alternative HTML version deleted]]
2006 Sep 21
2
Command area in SciViews 0.8.9 - second try
Dear all
I am writing again with a question I posted a few weeks ago (to no avail). I have a problem with SciViews for R. It's probably a slightly stupid question but I cannot find a solution to a very elementary problem. I am using SciViews 0.8.9 on with R 2.3.1pat on a Windows XP Home machine. R is set to SDI mode, I start R, enter "library(svGUI)", SciViews starts properly, I can
2006 Dec 13
3
Install R in Linux
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?
Send instant messages to your online friends http://uk.messenger.yahoo.com
[[alternative HTML version deleted]]
2005 Jan 29
2
Database Connection Problem with RMySQL package
Folks,
I failed to create a connection to the database under MySQL DBMS in
the R system via RMySQL's method dbConnection(...).
My setup is as follows:
Microsoft Windows XP 5.1.2600
MySQL 4.1.9
R 2.0.1
DBI 0.1-8
RMySQL 0.5-5
Both of DBI and RMySQL packages were downloaded from bell lab:
http://stat.bell-labs.com/RS-DBI/download/index.html
My case in R is as follows:
> library(DBI)
2006 Sep 17
2
currency or stock trading strategy
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 interaction in R plots? Does anyone
use R for back-testing trading strategies? Are there any forums for
discussion of using R for this specific purpose (apart
2006 Sep 08
4
Connecting to a SQLBASE database with R
Hi,
I am trying to extract data from a database with R in order to produce monthly statistics.
I found in the R Website, the package RODBC, RSQLite and others ones which permit this kind of extraction.
The database I want to be connected with is a SQLBASE 7.0 database.
So, I would like to know if, using one of these package or another one, I could be able to connect with this type of database.
2006 Oct 05
11
Block comments in R?
Hello list,
Is there any way to perform a block comment in R? In C++, anything in
between a /* and */ is considered a comment, and it allows
programmers to comment out chunks of code for testing and debugging.
Is there such a feature in R?
Cheers,
Wee-Jin
2006 Oct 17
4
Book recommendation for newbie to stats and R?
I'm trying to learn statistics and R at the same time. I have an
undergraduate science degree and one year of calculus (30 years ago),
but never took a stats course. I hope to take some stats courses in the
next year, but thought I would start to see how much I could teach
myself.
I work for an organization that analyses behavior change communication
programs regarding HIV/AIDS and
2006 Dec 23
7
OT: any recommendation for scripting language
Right now, I am using SAS and S+/R. As a new year resolution, I am
planning to learn a scripting language.
from statisticians' point of view, which scripting language is worth
to learn, perl, python, or any other recommendation? (Most likely, I
will be learning it in windows.) Since I am not in research, I will
prefer one widely used in industry and related to statistical work.
if you
2006 Dec 31
4
Does SQL group by have a heavy duty equivalent in R
I have hundreds of humans who have undergone SNP genotyping at hundreds of
loci. Some have even undergone the procedure twice or thrice (kind of an
internal control).
So obviously I need to find those replications, and confirm that the results
are the same. If there is discordance then I need to address it.
I tried to use the aggregate function
nr.attempts
2016 Apr 09
1
Quantmod abline and axis configuration
Hi all,
I have this code
I want to add two ablines like this
abline(h=2400, lty=3, col="lightgrey")
abline(h=400, lty=3, col="lightgrey")
But doesnt wotk.
I alo try to set ylim from 0 to max "Foa"+1000 but I?m not able ?Is it
posible?
require(latticeExtra)
require(ggplot2)
require(reshape2)
suppressPackageStartupMessages(require(googleVis))
require(quantmod)
2010 Nov 30
3
saving multiple panes to PNG
After searching multiple combinations of keywords over the past two
days and downloading n R graphics tutorials, I have not been able to
find anything online or in my R books about how to save multiple plot
panes to PNG.
Specifically, I am using the irf() function in the vars package to
generate plots of Impulse Response Functions:
> x.data <-
2005 Jan 21
2
axis placement with stacked barplots and the asp=1 parameter
Hi,
I'm currently using barplot to generate vertically stacked bar charts.
I'd like to be able to use the "asp=1" parameter with barplot(), but
doing this causes the y axis to be placed on the far left as shown in
the attachment demo.pdf.
I could get around this by using the negative values for the line
parameter of the axis() function. I'd rather not do this and imagine
2011 Dec 30
3
vertically stacked area plot?
Dear all,
I would like to create a vertically stacked area chart in R. The data are
presented in the attached text file.
I would like to see the trend in values for the different groups with
sediment depth (that's why I would like to create a vertically stacked
chart; normally sed_depth should be = x, but I want it plotted on the
y-axis). In the packages available to create stacked area