Displaying 20 results from an estimated 100 matches similar to: "y-axis in histograms"
2008 Jul 26
1
issues with gap.plot function
Dear all:
I have the following codes:
Xdata<-c(2,3,8,9,10)
Ydata<-1:5
gap.plot(Xdata, Ydata,gap=c(5,6),gap.axis="x",type="o")
However, the type='o' seems only work on the first part of gap plot, the second half of the plot always just points, you can not add lines on that part, any help will be highly appreciated. I would like to have these two parts of
2011 Apr 04
2
gap.barplot doesn't support data arrays?
I am trying to make a barplot with a broken axis using gap.barplot (in the
indispensable plotrix package). This works well when the data is a vector:
> twogrp<-c(rnorm(10)+4,rnorm(10)+20)
> gap.barplot(twogrp,gap=c(8,16),xlab="Index",ytics=c(3,6,17,20),ylab="Group
values",main="Barplot with gap")
But when the data is an array (for a bar plot with multiple
2011 Jun 28
2
coxph() - unexpected result using Crawley's seedlings data (The R Book)
Hi,
I ran the example on pp. 799-800 from Machael Crawley's "The R Book" using package survival v. 2.36-5, R 2.13.0 and RStudio 0.94.83. The model is a Cox's Proportional Hazards model. The result was quite different compared to the R Book. I have compared my code to the code in the book but can not find any differences in the function call. My results are attached as well as a
2012 Feb 23
2
Survival analysis and comparing survival curves
Hei,
I have a one simple question which does not seem to be that simple as I
cannot find any solution/answer:
Is it possible to compare multiple survival curves in R with
survdiff-function when there is interaction term involved in predictor
variables (and this interaction is significant)?
Example:
survdiff(Surv(death,status)~treatment*gapsize)
R is making "problems" with it ie.e.
2005 May 10
5
converting an ASCII file to a matrix
Dear R-WinEdit users,
I got a simple question, but somehow I cannot find the answer, although
I have
tried a lot!
I got an ASCII-file and I want to import it into R, so that every
character is defined by [i;j].
The rows are not of the same length.
the file looks like the following shortened abstract example:
name: xxxxx xxxx
age: 9.9.99
record number: 999
title: xxxxx xxxx xxx
keywords: xxx xx
2024 Jan 07
1
Possible bug using FLAG_WORD_BREAKS with fullwidth Unicode codepoints
On Thu, Jan 04, 2024 at 05:50:22PM +0100, Robert Stepanek wrote:
> Since I am undecided yet if and how to fix this in Xapian I haven't
> come up with a pull request. Because trac currently is offline, I
> could not file a bug. I hope it's OK to post my analysis here first,
> I'll be happy to follow up reporting that bug proper later (should we
> conclude that it actually
2006 Nov 14
3
Creating a table
Dear R List,
I am a new to R, so my question may be easy to answer for you:
I have a dataframe, for example:
df<-data.frame(loc=c("A","B","A","A","A"),
year=as.numeric(c("1970","1970","1970","1976","1980")))
and I want to create the following table without using loops:
1970-74 ;
2005 Jan 25
1
CODA vs. BOA discrepancy
Dear List:
the CODA and BOA packages for the analysis of MCMC output yield different
results on two dignostic test of convergence: 1) Geweke's convergence
diagnostic; 2) Heidelberger and Welch's convergence diagnostic. Does that
imply that the CODA and BOA packages implement different ``flavors'' of
the same test?
I paste below an example.
Geweke's test
2006 Apr 18
6
R and ViM
Dear all,
I'm starting to learn R, but I'm already programing for a while, using
ViM as editor. Therefore I'd like to be able to use R together with
ViM.
My question now is, whether there are already people out there knowing
how to do this in a similar easy way as with Emacs, and if those would
be willing to share this knowledge.
I did already research on the web on this topic,
2005 Oct 27
1
data.frame-question]
First a general comment on posting style, could you please be more specific
about where the error occurs as without this it is very difficult to
identify what the problem is.
Now concerning your problem. When I tried the code I posted yesterday I
thought it worked fine. I've tried it again now and found that the
data.frame TAB3 actually only has one column and the names "A",
2006 Apr 24
2
boxplots instead of a scatterplot
Dear R list,
I am a newbie to R and programming itself, so my question may be easy to
answer for you.
I wanted to create a scatterplot and i used the following code:
par(mar=c(10, 4.1,4.1,2.1))
plot(q$location,q$points, , las=2, cex.axis=0.5,xlab="", ylab="" )
#location are character strings, there are about 70 locations
#points are numeric, there are more than 4 points for
2024 Jan 08
1
Possible bug using FLAG_WORD_BREAKS with fullwidth Unicode codepoints
On Sun, Jan 7, 2024, at 7:45 PM, Olly Betts wrote:
> I've restarted trac.
I now created a pull request: https://github.com/xapian/xapian/pull/329 Should I create a trac issue, too?
> Assuming the latter is valid, just removing this block (or removing the
> parts of it which are Lu or Ll) should fix the problem as then
> tokenisation will switch mode - I tried this and it fixes
2005 Oct 25
2
data.frame-question
Dear R-List,
I am very new to R and programming itself, so my question may be easy to
answer for you.
I tried a lot and read through the manuals, but I still have the
following problem:
I have 2 data-frames:
Number<-as.numeric (Number)
Name<-as.character (Name)
TAB1<-data.frame (Name,Number)
- it looks like this:-
Name Number
A 2
A 3
A 6
B 8
B 12
B 7
C 8
D 90
E 12
E 45
佲仸
2005 Jul 27
2
How to delete rows
Dear R-users,
I am very new to R, so maybe my question is very easy to answer.
I have the following table:
TAB1<-data.frame(Name,Number), "Name" and "Number" are all character
strings,
it looks like this:
Name Number
ab 2
ab 2
NA 15
NA 15
NA 15
cd 3
ef 1
NA 15
NA 15
gh 15
gh 15
I want to delete all the rows
2008 Jun 17
2
color2D.matplot axis names
Hi,
I finally came up with a nice colored matrixplot, using the color2D.matplot
function of the plotrix package. But I can't assign xtics and ytics to this
plot. I made sure that the matrix has correct colnames() and rownames().
Here's what I do:
a=matrix(1:16, 4, 4)
colnames(a) <- c("X1", "X2", "X3", X4)
rownames(a) <- c("Y1",
2005 Jan 31
2
Anyone have the userguide''s tc script and the corresponding ethloop input files?
I''m trying to get picture from ethloop and gnuplot. But the output seems weird. I still do not know why and want some examples.
Thanks in advance.
---------------------------------
Do You Yahoo!?
注册世界一流品质的雅虎免费电邮
--0-1760319804-1107141989=:62961
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit
<DIV>I''m trying to get picture from ethloop and
2024 Jan 04
1
Possible bug using FLAG_WORD_BREAKS with fullwidth Unicode codepoints
I think I found a bug in Xapian 1.5 when using FLAG_WORD_BREAKS for input that contains characters in Unicode Halfwidth and Fullwidth Forms (https://unicode.org/charts/PDF/UFF00.pdf).
Since I am undecided yet if and how to fix this in Xapian I haven't come up with a pull request. Because trac currently is offline, I could not file a bug. I hope it's OK to post my analysis here first,
2010 Jun 18
1
Asterisk 1.6.2.9 Now Available
The Asterisk Development Team has announced the release of Asterisk 1.6.2.9.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk/
The release of Asterisk 1.6.2.9 resolves several issues reported by the
community, and would have not been possible without your participation.
Thank you!
The following are a few of the issues resolved by community
2010 Jun 18
1
Asterisk 1.6.2.9 Now Available
The Asterisk Development Team has announced the release of Asterisk 1.6.2.9.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk/
The release of Asterisk 1.6.2.9 resolves several issues reported by the
community, and would have not been possible without your participation.
Thank you!
The following are a few of the issues resolved by community
2007 Jul 03
1
Plotting very skewed data in barplot
Dear R'ers,
I would like to use barplot or a similar function to plot data
demonstrating the distribution of the length of a kind of conservation in
about 25000 DNA sequences. My data look like this:
#Total sequences: 23873
0 19936
1 218
2 391
3 477
4 360
5 431
6 294
7 215
8 320
9 209
10 160
(.....)
99 0
100 1
101 0
102 0
103 1
104 0
105 0
106 0
107 0
108 0
109 1
Therefore, I would like