Displaying 20 results from an estimated 10000 matches similar to: "cex.axis in barplot() (PR#1070)"
2001 Aug 19
2
error message in chol() (PR#1061)
Full_Name: Jerome Asselin
Version: 1.3.0
OS: Windows 98
Submission from: (NULL) (24.77.112.193)
I am having accuracy problems involving the computation of inverse of
nonnegative definite matrices with solve(). I also have to compute the
Choleski decomposition of matrices. My numerical problems involving solve()
made me find a bug in the chol() function. Here is an example.
#Please, load the
2003 Feb 24
2
"trace" argument in legend() (PR#2578)
Full_Name: Jerome Asselin
Version: 1.6.2
OS: RedHat Linux 7.2
Submission from: (NULL) (142.103.173.179)
Should be an easy fix...
Consider the examble below:
plot(0,0)
legend(0,0,c("Hello!","Hi!"),pch=1:2,lty=1:2,trace=T)
It gives the following trace:
> plot(0,0)
> legend(0,0,c("Hello!","Hi!"),pch=1:2,lty=1:2,trace=T)
xchar= 0.05178 ;
2003 May 21
1
axis() default values for "lty", "lwd", and "col"
Hi,
I would like to recommend a minor modification in axis() which I believe
can simplify the making of plots for publications. I am trying to define
default values for par() in order to make labels bigger and lines thicker,
so that the resulting plots look good when resized for publication
purposes. I ran into the following problem...
axis() does not use par() values as default for
2003 Jul 15
2
"na.action" parameter in princomp() (PR#3481)
Full_Name: Jerome Asselin
Version: 1.7.1
OS: Red Hat Linux 7.2
Submission from: (NULL) (24.77.125.119)
Setting the parameter na.action=na.omit should remove
incomplete records in princomp. However this does not
seem to work as expected. See example below.
Sincerely,
Jerome Asselin
data(USArrests)
princomp(USArrests, cor = TRUE) #THIS WORKS
USArrests[1,3] <- NA
princomp(USArrests, cor =
2003 Oct 24
2
Segmentation fault in .Call() (PR#4761)
Full_Name: Jerome Asselin
Version: 1.8.0
OS: RedHat Linux 7.2
Submission from: (NULL) (142.103.177.13)
I would not expect a segmentation fault; perhaps an error message.
> .Call("log")
Segmentation fault
This is always reproducable for me.
Sincerely,
Jerome Asselin
2003 Jun 05
2
Fwd: Re: legend() with option adj=1
Is there a simpler way then the solution to the one that was posted here? I'm
not very proficient with legend, and I don't understand this solution. All
I have is two or more lines on one plot that I want to put a legend on and I
can't figure out how to do it from the examples. Can you give a very simple
example? It does not have to be fancy!! I have never worked with a
2002 Nov 22
1
Segmentation fault using "survival" package (PR#2320)
Full_Name: Jerome Asselin
Version: 1.6.1
OS: RedHat Linux 7.2
Submission from: (NULL) (142.103.173.179)
Hello,
I get a segmentation fault when I run the following code. I wouldn't expect
meaningful results because my response variable contains only missing values.
However, I would expect something like a regular error (not a segmentation
fault).
library(survival)
data <-
2003 Mar 12
1
plot() with type="s" and lty=2 (PR#2630)
Full_Name: Jerome Asselin
Version: 1.6.2
OS: RedHat Linux 7.2
Submission from: (NULL) (142.103.173.179)
In the following example, the line type lty=2 does not show properly
across the entire line.
x <- c(seq(0,.5,.001),seq(.6,1,.1))
y <- rep(1,length(x))
plot(x,y,type="s",lty=2)
Sincerely,
Jerome Asselin
2003 Nov 07
1
barplot(names.arg) versus axis(labels)
Should I be able to use axis() on a barplot? i have a data.frame, the first
3 values of which are:
> c[1:3,]
median mean
A1 56.5 58.50000
A61 73.0 73.00000
A62 63.0 63.00000
> str(c)
`data.frame': 19 obs. of 2 variables:
$ median: num 56.5 73 63 161 51 55 44.5 22 54 49 ...
$ mean : num 58.5 73.0 63.0 161.0 47.5 ...
if I do barplot(median) and then try
2003 Aug 07
2
segmentation fault: formula() with long variable names (PR#3680)
R version: 1.7.1
OS: Red Hat Linux 7.2
In this example, I would expect an error for the overly long variable
name. This is always reproducable for me.
> formula(paste("y~",paste(rep("x",50000),collapse="")))
Segmentation fault
Sincerely,
Jerome Asselin
--
Jerome Asselin (Jérôme), Statistical Analyst
British Columbia Centre for Excellence in HIV/AIDS
St.
2002 Jul 23
2
sub() and gsub() (PR#1826)
Full_Name: Jerome Asselin
Version: 1.5.1
OS: linux redhat 7.2
Submission from: (NULL) (142.103.173.179)
gsub() return different answers depending on how the input
variables were created. Here is an example of code that
replicates the problem. The vectors y and yy appear to be
the same, but gsub() doesn't return the same answer.
It should remove all the blanks when I use the vector y,
but it
2004 Jan 15
1
random effects with lme() -- comparison with lm()
Hi all,
In the (very simple) example below, I have defined a random effect for
the residuals in lme(). So the model is equivalent to a FIXED effect
model. Could someone explain to me why lme() still gives two standard
deviation estimates? I would expect lme() to return either:
a) an error or a warning for having an unidentifiable model;
b) only one standard deviation estimate.
Thank you for your
2007 Jan 25
1
barplot x-axis problem
Hi R-users,
I'm new to R and I'm trying to make a barplot combined with two lines
(refering to secondary y-axis). Bars should represent the number of
transfused patients by age class and sex and lines should represent
the amount of blood units given in age classes. I have now successfully made
a barplot and used par(new=TRUE) to plot another empty graph at the top of
the barplot.
2010 Aug 04
2
barplot and x-axis font size
Hi all,
I would like to draw a side by side bar plot. How can I adjust the the font
size for the x-axis? Furthermore, I'm not sure what to write for 'at=?'. I
tried cex.axis and cex.lab but still fail. Here is my data and code:
> t(all)
0-100 100-150 150-200 200-250 250-300 300-350 350-400 400-620
obs_data 382.000 177.000 156.0000 93.0 69.0000 45.000
2011 Jan 18
2
Barplot and line x-axis positions
Hello all,
Hoping that there is a fairly simple solution to my query...
I'm trying to overlay a line plot of some data onto a barplot of different data. The y-axes are different for each set of data but the x-axes are the same (1:12, corresponding with 12 months of observations). The problem I'm having is that the centre of the bars and the points on line don't match up, which is
2002 Jun 19
1
simple plot with magnified cex.axis & cex.label
Hello!
I've tried to make subj.
Here is code:
x <- 1:5
y <- 1:5
par ( cex.lab = 3.6,
cex.axis = 3.6 )
plot ( x, y, ylab = "Any title" )
I've got ugly picture, where
1) x-axis labels & x-axis itself overlapped,
2) y-axis title does not not fit within bounding box.
The _same_ effect in "postscript" device.
Is this a bug? Could I
2003 Feb 24
2
fill prob. in legend
Hi,
I'm trying to construct a legend which has four lines of text and associated
symbols. The first two symbols need to be normal lines which vary only in
colour. The second two symbols should have filled boxes. How do I suppress
the fill boxes in the first two lines?
J.
2002 Oct 13
1
barplot(): X-Axis Labels
Hello all. I have a simple barplot with sixteen different segments. When I plot my data, only five or six of the labels are showing in the x-axis. How do go get them all to show? Can I set them at a 45.degree angle? Thank you.
Jess
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2003 Jan 24
1
table() with option "exclude=NULL" (PR#2491)
Full_Name: Jerome Asselin
Version: 1.6.2
OS: redhat linux 7.2
Submission from: (NULL) (142.103.173.179)
Bug or feature? Hard to say...
But it sure would be nice if table()
would label the frequency of NA's as
it does for NaN's.
Regards,
Jerome
> table(c(2,NA,1,1,1),exclude=NULL)
1 2
3 1 1
> table(c(2,NA,1,1,1,NaN),exclude=NULL)
1 2 NaN
3 1 1 1
#For sake of
2003 Jan 24
2
hist() with option "sub" (PR#2492)
Full_Name: Jerome Asselin
Version: 1.6.2
OS: redhat linux 7.2
Submission from: (NULL) (142.103.173.179)
This is certainly not a big problem, but should there really
be a warning message when I run this?
> x <- c(1,1,2,2,2,2,3,3)
> hist(x,sub="Sub Title")
Warning messages:
1: parameter "sub" couldn't be set in high-level plot() function
2: parameter