Displaying 20 results from an estimated 1000 matches similar to: "barplot y axis too short"
2005 Aug 29
1
ylim for graphic
Dear list:
I have some data for which I am generating a series of barplots for
percentages. One issue that I am dealing with is that I am trying to get
the legend to print in a fixed location for each chart generated by the
data. Because these charts are being created in a loop, with different
data, my code searches the data to identify the maximum value in the
data and then print the data values
2006 Aug 10
3
Multiple density curves
Hi,
I am new to R...a recent convert from SAS.
I have a dataset that looks like this:
SEQ A1 A2
A 532.5 554.5
B 25.5 35.5
C 265.2 522.2
D 245.55 521.56
E 546.52 141.52
F 243.25 32.56
G 452.55 635.56
H 15.14 16.54
I 543.4 646.56
J 54.4 654.5
K 646.5 64.54
L 645.4 614.46
M 646.54 634.46
I want to make a histogram
2009 Jan 29
1
In Rd: \describe \itemize and \item
I rebuilt a test version of my yaImpute package using Uwe Ligges' windows
build service.
I got this reply: Check result: OK
R version 2.9.0 Under development (unstable) (2009-01-27 r47756)
Here is the issue: I have the following construct in help files (this
example relates to "data"):
\format{
A data frame with 847 rows and 29 columns: \cr\cr
Ground based measurements of
2011 Sep 07
4
sample within groups-slight problem
I want to sample within groups, and when a group has only one associated
number to just return that number.
If I use this code:
groups <- c(1, 2, 2, 2, 3)
numbers <- 1:5
tapply(numbers, groups, FUN = sample)
I get the following output:
> groups <- c(1, 2, 2, 2, 3)
> numbers <- 1:5
> tapply(numbers, groups, FUN = sample)
$`1`
[1] 1
$`2`
[1] 3 2 4
$`3`
[1] 2 3 5 1 4
2007 Jun 11
3
if statement
Hi all,
I have a rather naive question. I have the height of 100 individuals in
a table and I want to assign the tallest 30% as Case=1 and the bottom
30% as Case=0. How do I do that?
thanks.
jiong
The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is
2010 May 12
2
vectorize a power analysis?
We are doing a power analysis by generating noisy data sets according to a
model, fitting the model to the data, and extracting a p-value. What is the
best way to do this many times? We are just using for loops and it is too
slow because we are repeating the analysis for many parameterizations. I can
think of several ways to do this:
for loop
sapply
using the plyr package
using the lme4 package
2008 Dec 30
5
Xorcom BRI state NOTOPEN
Hello,
I recently got a problem I have never seen during my previous
installations.
I have a Xorcom device with 4 BRI and 8 FXS ports. I use ubuntu Linux
and asterisk 1.4.22. Everything works fine but after some time zap
channels disappear in asterisk.
root at pbx1:~# cat /proc/zaptel/*
Span 1: XBUS-00/XPD-00 "Xorcom XPD #00/00: BRI_TE" AMI/CCS NOTOPEN
1 XPP_BRI_TE/00/00/0 Clear
2010 Jan 29
1
apply function with grouped columns
I have a data set of many rows and many columns in which both the rows and
the columns have associated grouping factors.
Is there a way to do what 'aggregate' does but in the other dimension?
The way I have been doing this is to use 'aggregate' on the data in the
usual way and then rotate the result and apply 'aggregate' again. This
works but is a little messy and I was
2004 May 25
5
Histogram
Dear all,
I have a surprising problem with the representation of frequencies in a
histogram.
Consider, for example, the R code:
b<-rnorm(2000,3.5,0.3)
hist(b,freq=F)
When I plotted the histogram, I expected that values in the y-axis (the
probability) varied between 0 and 1. Instead, they varied within the
range 0-1.3.
Have you got any suggestion for obtaining a correct graph with
2001 May 20
2
legend() with xpd=T; omission of initial plot character (PR#943)
In the following:
plot(0:1, 0:1)
legend(x=0, y=1.2, pch=c(1,2), legend=c("May","June"))
the first plot character is omitted when plotting to
the screen.
I obtained the same behaviour when placing a legend
in the margin following use of pairs()
-please do not edit the information below--
Version:
platform = i386-pc-mingw32
arch = x86
os = Win32
system = x86, Win32
2018 Apr 16
2
alpha transparency doesn't work for lines when xpd=TRUE
Dear R-devel,
I think I've found a bug - the alpha transparency doesn't work when plotting lines with xpd = TRUE.
#works
plot(1:20, col="#1874CD", xpd=T, type="l")
#works
plot(1:20, col="#1874CD50", xpd=F, type="l")
#doesn't work
plot(1:20, col="#1874CD50", xpd=T, type="l")
Thank you.
Jim
[[alternative HTML version
2007 Jun 25
1
Xorcom Bri 4 Port USB
Hi,
I'm having some trouble setting up a Xorcom Bri 4 port. I have compiled asterisk and zaptel using the Bristuff bristuff-0.3.0-PRE-1y-g patches.
So I'm running zaptel-1.2.17.1 and asterisk-1.2.18.
The problem I'm having is that for one I get no LEDs showing if the unit is in TE and NT mode (not a issue for me but may have some impact on things) I have no errors in any logs I
2007 Jul 04
2
Xorcom Bri and asterisk crashes
We have recently install an asterisk solution with about 60 physical
extensions. While the system is running it runs reasonably well (Still
have a few teething problems) but twice now they have experienced a
degradation in voice quality and dropped calls and then finally asterisk
completely crashes out. Restarting asterisk will work for a little while
and it will crash again, each time less time
2007 Jun 27
1
Zap dialling issues
I'm having problems getting an Xorcom USB Bri 4 dialling out in
Australia.
I can receive calls into the system without an issue, but I can not for
the life of me dial out of the system. Below are my configs, I'm hoping
its something simple that I just can't see as I've been looking at it
for to long. Can any one point me in the right direction.
P.S. Yes it is meant to be in TE
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
Hello Jim,
Thanks again. I am getting the two-headed arrow but I cannot seem to get
the coordinates right for the arrow to appear beneath the map. These
coordinates puts the arrow on the left hand side. Thanks again!
Sincerely,
Milu
On Tue, Apr 12, 2016 at 1:15 PM, Jim Lemon <drjimlemon at gmail.com> wrote:
> Hi Milu,
> There is a two-headed arrow on the image you sent, and it
2003 Oct 12
6
SIP phone
I have a Cisco 7940
when you call in from outside and dial the Cisco phone extension I get
this
Read_channel ## vpb/1-3: Setting record mode, bridge = 0
WARNING[18451]: File chan_sip.c, Line 1111 (sip_write): Asked to
transmit frame
type 8, while native formats is 4 (read/write = 4/4)
== Spawn extension (default, 1004, 1) exited non-zero on 'vpb/1-3'
-- hangup on vpb (vpb/1-3)
2011 Feb 06
2
Legend outside the plot? xpd?
Hi All,
BG: Will try be brief. I'd like 3 graphs on a page (below each other
mfrow=c(3,1)), saved to pdf. The three plot data on the same subject so I'm
having one legend, to the right of the center graph. I'm using
mar=c(5,15,4,15) to bring the sides in so that the graphs are square and not
stretched wide. To have the graph to the side I'm thinking xpd=T. Each graph
has a number
2011 Jun 01
10
busy hangup HDLC Bad FCS (8) on Primary D-channel
Hi all,
After running fine for a few months now asterisk seems to hang
frequently , still functioning but the DAHDI channels seem busy (users
report a busy signal when calling or being called)
A reboot will allow it to run for another day or maybe 2 or 3 till the
problem occurs again.
running stock Asterisk 1.6.2.9-2+squeeze2 on Debian with stock kernel
2.6.32-5-686
i get the following
2008 Mar 01
1
jpeg and margin text
Hi guys,
I use R 2.6.2 and Windows XP.
I’ve got the following question: I wrote a lot of text into the margin of a
plot. When I use the “jpeg”-function, only a little part of the margin text
is displayed in the final jpeg? Any ideas to change it?
Source-Code:
datenbankdaten<-data.frame(LETTERS[1:20],
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
Dear Jim,
Thanks again! I do want the arrows at the bottom (beneath the map). This is
what I am doing:
# Draw the map
eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS
Score - Europe",colourPalette=colourPalette,
catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe",
addLegend=FALSE)
# ISO3 codes on