...@hotmail.com
CC: ggrothendi...@gmail.com; r-help@r-project.org
Subject: Re: [R] 'matplot' for matrix with NAs: broken lines
TS == Tao Shi
on Wed, 5 May 2010 20:11:26 + writes:
TS Thanks, Gabor! So, there is no way I can change some graphic parameters
in 'matplot' to get this?
TS
values are missing.
HTH,
Dennis
On Thu, May 6, 2010 at 10:44 AM, Tao Shi wrote:
I just found out that my does this by default statement (by which I was
referring to the ability to automatically connect two points with a NA in the
middle in a time series) is wrong! Actually, all plotting
Hi list,
I know that points involving NAs are not plotted in 'matplot', but when I plot
them as lines, I still want the lines to connect all the points (i.e. not
broken where there are NAs). Please see the example below. How can I achieve
this in 'matplot'? If I can't, any good
Vincent,
The root of this problem seems to be that you don't fully understand the
differences between matrix and data.frame. Read up on them and you'll know how
to solve this problem.
For now:
as.matrix(temp[,-1])
or
temp = read.csv(Weather.csv, sep=,, row.names=1)
temp1 - as.matrix(temp)
Hi Max,
It looks like most of answers were towards to the statisticians you work with
(i.e. R - Word). For yourself, if you just worry about converting the PDF
reports from your statisticians to Word, here is another link with a more
comprehensive review besides the two online apps Prof.
, Tao Shi wrote:
Hi list,
I know that points involving NAs are not plotted in 'matplot', but when I
plot them as lines, I still want the lines to connect all the points (i.e.
not broken where there are NAs). Please see the example below. How can I
achieve this in 'matplot'? If I can't
welcome to try compiling it under mingw yourself, but we can't
offer support for that configuration.
# David Smith
On Wed, Apr 28, 2010 at 5:10 PM, Tao Shi wrote:
I was testing out the doSMP package from REvolutionR in my regular R2.11.0
installation and I got the following error message
?
You'll find them there. There's a link in the same email that gives
instructions for downloading the binaries.
# David Smith
On Thu, Apr 29, 2010 at 12:48 PM, Tao Shi wrote:
Hi David,
Thank you for the reply! Do you know where I can find the source code for
these packages? I can give
Hi David and list,
I'm a little puzzled to see these results below. Since, apply is basically a
for loop, I was expecting foreach uses about same amount of time as apply,
whereas foreach after registering 2-cores runs much faster. However, the
results show apply is the fastest.
Also
Hi list,
I was testing out the doSMP package from REvolutionR in my regular R2.11.0
installation and I got the following error message. Well, one obvious thing is
that R2.11.0 was built using i386-pc-mingw32 which is different from what
revoIPC used. I could just use REvolutionR, but all my
Hi List,
I want to show the heatmap of a correlation matrix using heatmap.2, however
always get this warning message (see below) and the column dendrogram is not
showing. It's not really a big deal, but curious how to suppress it and still
let R show what I want to show (i.e. a symmetrical
hi List and Manuel,
I have encounter the following problem with the function lineplot.CI. I'm
running R 2.10.1, sciplot 1.0-7 on Win XP. It seems like it's a scoping issue,
but I couldn't figure it out.
Thanks!
...Tao
lineplot.CI(x.factor = dose, response = len, data = ToothGrowth)
:
ex.fn - function(x,
fun = mean,
fun2 = function(x) fun(x)+sd(x)) {
list(fun=fun(x), fun2=fun2(x))
}
data - rnorm(10)
ex.fn(data) #works
ex.fn(data, fun=median) #works
ex.fn(data, fun2=function(x) fun(x)+3) #error with fun(x) not found
On Fri, 2010-04-02 at 17:36 +, Tao Shi wrote
Thank you guys for the wonderful suggestions!
Charlie,
You obviously foresaw my problem! It took me a while to figure out that the
\raggedright and other justification commands should be applied to each cell.
It didn't work for me when applied to the headings. See this nice document
Hi list,
Is there a way to control long-line wrapping in a table using latex function
in Hmisc or any other functions? It seems I can't find any examples.
Thank you very much!
...Tao
_
If you do everything in Windows, Tinn-R is one of the best and also the one I
use. I also tried WinEdt. It's very good, but it is not free. If you want a
cross-platform editor, Emacs+ESS is the one. Like others said, the learning
curve is steep, but worth it.
...Tao
headings etc. See ?latex for details.
Best,
Ista
On Fri, Feb 26, 2010 at 3:37 PM, Tao Shi wrote:
Hi list,
Is there a way to control long-line wrapping in a table using latex
function in Hmisc or any other functions? It seems I can't find any
examples.
[[elided Hotmail spam]]
...Tao
Hi list,
I found this one when I was trying to output the Venn diagram to a .pdf file.
When there are 4 sets of groups to draw, the .pdf file automatically has 3
pages and the figure only appears on the 3rd page in the .pdf file with the
first 2 pages being blank. Try the following: (I'm
Hi list,
Could someone help me to explain why the leave-one-out cross validation results
I got from svm using the internal option cross are different from those I got
manually? It seems using cross to do cross validation, the results are
always better. Please see the code below. I also
: Tue, 7 Jul 2009 21:43:49 -0400
Hi Tao,
On Jul 7, 2009, at 8:33 PM, Tao Shi wrote:
Hi list,
Could someone help me to explain why the leave-one-out cross
validation results I got from svm using the internal option cross
are different from those I got manually? It seems using cross
integers starting
TS == Tao Shi shi...@hotmail.com
on Wed, 10 Oct 2007 06:15:53 + writes:
TS Thank you very much, Benilton and Prof. Ripley, for the
TS speedy replies!
TS Looking forward to the fix!
TS Tao
I have finally re-stumbled onto this e-mail thread
Hi list,
In the object returned by summary.nlsList, what's the difference between
coefficients and parameters? The have the same Estimate, different se
(therefore t value), but same p values.
R.2.8.0 on winxp with nlme_3.1-89
Thanks,
...Tao
, the problem persisted.
...Tao
Tao Shi hotmail.com writes:
## I'm using R 2.8.0 on WinXP, Hmisc_3.4-3
table1 - matrix(10, 180,7)
cell.format - matrix(, ncol=7, nrow=180)
cell.format[c(seq(3,180,6),seq(4,180,6)),] - color{red}
cell.format[c(seq(5,180,6),seq(6,180,6)),] - color{green}
latex
Hi list,
Could you explain the error I see here? Thanks!
## I'm using R 2.8.0 on WinXP, Hmisc_3.4-3
table1 - matrix(10, 180,7)
cell.format - matrix(, ncol=7, nrow=180)
cell.format[c(seq(3,180,6),seq(4,180,6)),] - color{red}
cell.format[c(seq(5,180,6),seq(6,180,6)),] - color{green}
This is a follow-up on the discussion originally posted on the R-devel list (
http://tolstoy.newcastle.edu.au/R/e4/devel/08/06/1901.html ), as I have
encountered the exact same issue mentioned in Martin's email. Here is a
simplified version of my problem:
Hi List,
In Windows, if I do R CMD build mypkg, then I'll get 'mypkg_1.0.tar.gz'.
Any option in R CMD build lets me to change the version, i.e. gives me
'mypkg_2.0.tar.gz? It seems -version option doesn't do anything for me.
Is it OK if I just change the version number in the file name
Got it! Thank you very much!
...Tao
Date: Thu, 26 Jun 2008 20:41:29 +0200
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: r-help@r-project.org
Subject: Re: [R] a question regarding package building
Tao Shi wrote:
Hi List,
In Windows
Hi List,
While using 'nlme' function, I have encountered the similar problem Dr. Stevens
and Dr. Graves observed (please see the posts:
https://stat.ethz.ch/pipermail/r-help/2006-May/105832.html ). I have tried Dr.
Stevens's original example, the problem is still there,
mod.lis -
Hi list,
Sorry for the vague title, but here is the scenario.
I’m writing an R package, let’s say, ‘pkg1’, which contains 3 functions: f1,
f2, f3. f2 and f3 are helper functions for f1, i.e. f1 calls f2 which in turn
calls f3.
f1 - function(…) {
….
f2()
…
}
f2 -
Hi List,
I'm running R2.5.1 on WinXP. Downloaded RMySQL_0.6-0.zip from
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.6/ and the
installation seemed fine. However, when I tried to load the package, the error
occured:
utils:::menuInstallLocal()
package 'RMySQL' successfully
Thank you very much, Benilton and Prof. Ripley, for the speedy replies!
Looking forward to the fix!
Tao
From: Prof Brian Ripley [EMAIL PROTECTED]
To: Benilton Carvalho [EMAIL PROTECTED]
CC: Tao Shi [EMAIL PROTECTED], [EMAIL PROTECTED],
r-help@r-project.org
Subject: Re: [R
31 matches
Mail list logo