Displaying 20 results from an estimated 3000 matches similar to: "PlotMoth Refusing to Draw xlab"
2004 May 11
2
How to draw holes generated by gpclib using plot function
Hi.
I've tried to create a polygon with one hole by gpclib using following
example script.
holepoly <- read.polyfile(system.file("poly-ex/hole-poly.txt", package
="gpclib"), nohole = FALSE)
area.poly(holepoly)
plot(holepoly,poly.args=list(col="red",border="blue"))
And I noticed plot function couldn't draw polygons with holes correctly.
2003 Mar 08
3
where is kurtosis??
Dear friends,
I try to get started with R and can’t estimate kurtosis of a random sample by using one command. I have installed R 1.6.2. Please help.
Max
---------------------------------
ur needs
[[alternate HTML version deleted]]
2003 Mar 26
3
hist overlay...
thanks to all for the 2d scatter plot.
i have one more.
how do i plot 'hist(y1, col="red") and hist(y2,col="blue") in the same window?
thanks again.
2012 Dec 15
1
How to limit string size when displaying data frames?
Hello,
Is there a way to set the maximum width of character columns when printing a data frame?
I've looked into print(), format(), and options() and have been unsuccessful.
For example, I'd like to achieve the results below without having to modify the data itself.
> x <- data.frame(c1=rnorm(5), c2="ABCDEFGHIJKLMNOPQRSTUVWXYZ")
> x
c1 c2
1
2018 Sep 10
1
Re: [PATCH nbdkit v3 2/6] main: Tighten up characters permitted in config keys.
On 9/10/18 10:27 AM, Richard W.M. Jones wrote:
> Previously key=value on the command line allowed the key to be pretty
> much anything that didn't contain an '=' character. Even empty
> strings were permitted.
>
> This tightens up the permitted keys so they must contain only ASCII
> alphanumeric, period, underscore or dash characters; must not be an
> empty
2013 Apr 19
3
[LLVMdev] funny llvm bug
This is a feature (or bug) of MCSectionELF::PrintSwitchToSection. For
ELF target this function tries to escape string if it founds
'suspicious' character, see implementation in MCSectionELF.cpp:
StringRef name = getSectionName();
if (name.find_first_not_of("0123456789_."
"abcdefghijklmnopqrstuvwxyz"
2003 Sep 18
2
hist will not use parameter xaxs (PR#4219)
Full_Name: Mark Wall
Version: 1.6.0
OS: linux
Submission from: (NULL) (63.251.119.254)
I want to plot a histogram of a *subset* of some data:
>t = c(0:9)
>hist(t,right=FALSE,breaks=10,xlim=c(0,5),xaxs="i")
This means I should plot a histogram from 0 to 5 with breaks at 1,2,3,4. This
should produce exactly 5 bars of frequency=1. Instead I get 5 and 1/4 bars. I
do not want the
2003 Feb 19
1
assign value to slot of S4 object
Dear list,
I noticed something while assigning a new value to the slot
of an object of class S4.
Apparently(*) this object is copied while the operation
is performed. Is it really wished ? (or did I miss something ?)
I use R-1.6.2:
> R.version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
2003 Mar 06
2
Error in terms.default()
R-list --
I am working with some SPlus code and get the following error
Error in terms.default(formula, data = data) :
no terms component
Can someone point me to a fix? The pasted formula looks ok
when printed during the procedure.
Thanks,
Dan
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Daniel A. Powers, Ph.D.
Associate Professor of Sociology
University of Texas at Austin
2003 Oct 02
3
indexing a vector
Dear All:
I'd like to know how to sort and then index a vector of floats by several
levels in R.
For example
>x<-rnorm(100)
> MyLevels<-quantile(x,probs=c(0,.5,1))
> MyLevels
0% 50% 100%
-2.11978442 -0.03770613 2.00186397
next i want to replace each x[i] in x by 1,2,3 or 4 depending on which
quantile that x[i] falls. How do I do that in a
2003 Sep 29
2
parametric surfaces
Hi,
does anyone know how to plot 3D parametric surface,e.g ellipsoid:
x=a*cos(s)*cos(t),
y=b*sin(s)*cos(t),
z=sin(t);
s in [0,2*pi],
t in [-pi,pi].
Vytautas Maniusis,
Vilnius University, Lithuania
2013 May 08
1
getting corrupted data when using readBin() after seek() on a gzfile connection
Hi,
I'm running into more issues when reading data from a gzfile connection.
If I read the data sequentially with successive calls to readBin(), the
data I get looks ok. But if I call seek() between the successive calls
to readBin(), I get corrupted data.
Here is a (hopefully) reproducible example. See my sessionInfo() at the
end (I'm not on Windows, where, according to the man page,
2003 Feb 19
2
plotmath
There's something (probably a lot) missing in my understanding of
plotmath. The LaTeX code for what I'm trying to produce is
\log(-\log(\hat R))
My (probably hopeless) attempt at it uses nested group()s:
expression(plain(log) * group("(", -plain(log)*group("(", \hat(R), ")"),
")"))
Can anyone do it right for me, please?
Thanks,
Ted.
Dr E.A.
2004 May 19
3
greek letters in plots
Hi,
I want to write in x axis label "fitted value of lambda" (lambda in greek
letter).
xlab=expression(lambda) gives the "lambda", I tryed things like xlab=paste
("fitted value of ", expression(lambda)) but I didn't get the greek letter.
Thanks in advance for any hint.
Antonio Olinto
-------------------------------------------------
WebMail Bignet - O seu
2013 Apr 19
0
[LLVMdev] funny llvm bug
On Fri, Apr 19, 2013 at 04:38:20PM +0700, Serge Pavlov wrote:
> This is a feature (or bug) of MCSectionELF::PrintSwitchToSection. For
> ELF target this function tries to escape string if it founds
> 'suspicious' character, see implementation in MCSectionELF.cpp:
>
> StringRef name = getSectionName();
> if (name.find_first_not_of("0123456789_."
>
2016 Jun 06
2
readlines() truncates text file with Codepage 437 encoding
Hello r-devel,
The attached Code page 437-encoded file contains 245 characters
(including the final newline), but readLines only reads 242 of them:
> test_text <- readLines(file('437__characters.txt', encoding='437'))
Warning message:
In readLines(file("437__characters.txt", :
incomplete final line found on '437__characters.txt'
> test_text
[1]
2003 Apr 07
3
graphic question
Hi,
I want to use R for some data mining project , and was wondering if it has
any intercative graphical features?
For example, is it possible to plot a histogram and be able to select a
specific point on it and have all the data about it? or select a specific
area in a curve and have all the data about it? or possibilities to zoom
out and in?
Thank you for your help,
Mama Benchaffai
School of
2011 Jan 25
1
dendrogram plot does not draw long labels ?
Hello,
It seems that the plot function for dendrograms does not draw labels when
they are too long.
> hc <- hclust(dist(USArrests), "ave")
> dend1 <- as.dendrogram(hc)
> dend2 <- cut(dend1, h=70)
> dd <- dend2$lower[[1]]
> plot(dd) # first label is drawn
> attr(dd[[1]], "label") <- "aaaaaaaaaaaaaaaaaa"
> plot(dd) # first label is
2018 Sep 08
1
Re: [PATCH nbdkit v2 2/6] main: Tighten up characters permitted in config keys.
On 09/08/2018 03:15 AM, Richard W.M. Jones wrote:
> Previously key=value on the command line allowed the key to be pretty
> much anything that didn't contain an '=' character. Even empty
> strings were permitted.
>
> This tightens up the permitted keys so they must contain only ASCII
> alphanumeric, period, underscore or dash characters, and must not be
> an
2004 Nov 03
2
Suggested color schemes for points, not regions?
I have seen a couple of posts about color schemes like those at the
ColorBrewer site. Most recently:
http://geography.uoregon.edu/datagraphics/color_scales.htm
These color schemes can work very well for regions (bars, polygons,
images, etc.) but are not very suitable for points and/or lines.
Is anyone aware of research/suggestions for a color scheme to use for
scatter plots? I've looked at