similar to: Back to back barplot

Displaying 20 results from an estimated 9000 matches similar to: "Back to back barplot"

2012 Apr 12
2
pyramid.plot in plotrix, axis labelling
Hi, I've been looking at ways to make pyramid plots in R. I like the pyramid.plot method in plotrix as it seems the simplest to use and building them in ggplot looks a bit more code intensive than I'd like, being as I'm new to R. This package does pretty much what I need it to do, however I can't seem to scale the x axis labels. The other labels scale fine with labelcex. I
2012 May 22
2
getting a Likert plot from a data frame
I'm creating a stacked bar chart using the likert command in the HH package. My data are in a data frame, with two numeric variables and a categorical variable, I can't get likert to use the column containing the categorical variable as a my y axis label. Here is a quick example: library(HH) #my data are:
2009 Jul 09
9
Population pyramids
Hi, I hope somebody can help me with this issue: I am doing population pyramids using the barplot command, so in the left side I have male age structure and in the right side the female age structure. To plot the male age structure I put the data in negative numbers. Now, I want to change the sign in the bar plot in such way that I have no-sign numbers, both in left and right side of the graph. I
2011 Nov 14
1
Confused with an error message related to "plotrix" library in the newer versions of R.
Dear R Users, Greetings! I am confused with an error message related to "plotrix" library in the newer versions of R. I used to run an R script without fail in the earlier versions (R 2.8.1) of R; but the same script is now throwing up an error message in the newer versions (Now I have R 2.13.0 & R 2.14.0). Herewith I am furnishing the same code for your perusal. It would
2010 Feb 13
4
Labels on a pyramide
I am using pyramid.plot() from the plotrix package. I have something like this ############################################ xy.pop<-dados$masfr xx.pop<-dados$femfr #agelabels<-dados$femlab xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11) xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.5,0.5,1),c(0.5,0.5,0.5,1),11) xylab<-dados$maslab xxlab<-dados$femlab
2009 Jul 30
1
Transparency and pyramid.plot
Hi all Another question related to my earlier -- how might I get transparency to work with pyramid.plot in library(plotrix)? I can't figure it out, and the help page says it is there but doesn't give an example. Thanks!
2012 Sep 24
1
Adding textbox to multiple panels in lattice
Dear R-users, I am trying to add some text in a textbox to all panels in the following example file. Using the panel-function, I can add a white rectangle with panel.rect but then I have to fit in the text into the box by hand and it will not automatically be centered. Does anyone know how to add the text centered with a white box around it automatically? Is there something like panel.textbox for
2008 Aug 31
1
how to draw a perspective pyramid
Dear list, I am trying to construct a perspective plot of a 2D triangle, or pyramid. I can easily do the one dimensional plot (code below), but I can't figure out how to do it in a perspective plot for two input variables. Does anyone have a simple solution? Thanks! Derek #code for a triangle u <- seq(-1,1,.001) tri <- (1-abs(u)) plot(tri~u,type="l",main="Second
2010 Nov 22
8
Router for SOHO network - hardware considerations
Hi, Last week I finished installing a small network in a private school : one server (an old IBM X225), seventeen desktops (Fujitsu Siemens PIV 2.4 GHZ, 512 MB RAM, 40 GB HD), all running CentOS 5.5. One extra machine is acting as a router, in that it is installed between the DSL modem and the network, with two Ethernet cards, and it's taking care of DHCP, DNS, NTP and also acts like a
2005 Aug 23
1
Problem with RCMD build ...
Hi I have write A function to draw pyramid of age. I have two function draw.pyramide(h,f,l) , pyramide(h,f,l) and a data frame with data. I first use package.skeleton("pyra") I got the package structure Then in my shell I use > RCMD build pyra I get this : check for description ... OK .... removing junk files but "cannot open
2012 Feb 03
2
Clear last x entries of R console
Hi All, I am trying to build in a progress-tracker into my loops that let me have a sense of their progress. I'd like to be able to output to screen a series of periods "...." etc. for each completion of the loop, but I <don't> want to build a pyramid, e.g. . .. ... .... etc. So I need to be able to delete <the last line> of the console entry to accomplish this.
2016 Sep 13
4
web admin ui for samba AD
On 09/12/2016 01:17 PM, Jeff Sadowski via samba wrote: > This thread has me thinking about good ways to use python with web pages. > Maybe php or just flat HTML for the main page and have python work with cgi > to pass information with json's using AJAX > > Any thoughts on this? cgi is probably not what you want to do I doubt you want to make things complex by mixing php and
2017 Apr 28
1
PVQ Quantization
Hi, I'm studying at ETH Zurich and want to use a pyramid vector quantization for my semester thesis. Unfortunately, I have some troubles with generating the codebooks for high dimensions. For vectors with dimension bigger than 12 it takes such a long computation time to generate. I thought maybe you could help me out with a efficient way to do this? Is there some code available? Thanks for
2010 Feb 22
1
plotrix 2.8-3
Hi all, I'm announcing this version of plotrix because I have made a couple of changes that will affect users. Although the function that used to be known as hierobarp is fairly new, there may be some users who are surprised when they find that it has changed its name to barNest. I will probably rename the two functions hierobarp.svymean and hierobarp.svyprop in the next version to
2013 Jan 22
1
How to remove the vertical space between two graps
Hi, I have created a barplot using the following code. a<-c(11,23,15,34,42,31) m<-matrix(a,nrow=2) m[2,]<-(-1)*m[2,] par(mar=c(4,4,4,0)) barplot(m[2,],horiz=T) par(mar=c(4,0,4,2)) barplot(m[1,],horiz=T,col="black") and the plot obtained is shown in "plot1.tiff". I was not willing to see the gap (vertical space) between two graphs. How can I achieve it? Further
2008 Mar 14
2
using nrow to identify one row
Hi fellow R-users, I have run into a problem when trying to identify the number of rows in a matrix. Say we have an arbitrary 5 by 5 matrix called temp: temp <- matrix(norm(25), nrow=5) The problem is that nrow(temp[1,]) returns NULL. I would like it to return 1 because in my larger program I am indexing the rows of large matrices according to another variable and I need to test when the
2008 Jan 29
2
how do i creat multiple back to back histograms?
Een ingesloten tekst met niet-gespecificeerde tekenset is van het bericht gescrubt ... Naam: niet beschikbaar Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080129/23f6cbc7/attachment.asc
2007 Sep 16
0
Dual Connections with Soekris net4801and Pyramid Linux
I''m trying to connect to two ISPs the connections are as follows: Eth0 IP: 192.168.1.1 Mask: 255.255.255.0 Eth1 IP: 216.167.217.241 Mask: 255.255.255.0 Eth2 IP: 216.167.208.40 Mask: 255.255.255.0 Here are the commands to set things up: #Load modules insmod /lib/modules/2.6.19.2- pyramid.metrix.net/kernel/net/ipv4/multipath_drr.ko insmod
2018 May 08
2
Pruning a dendrogram based on frequencies
How can one prune a dendrogram (plot.dendrite, plotrix) based on a minimum level of frequencies?. Franklin.? [[alternative HTML version deleted]]
2010 Jan 27
3
Function for describing segements in sequential data
Dear R-users, Say that I have a sequence of zeroes and ones: x <- c(1,1,1,0,0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0,0) The sequences of ones represent segments and I want to report the starting and endpoints of these segments. For example, in 'x', the first segment starts at location 1 and ends at 3, and the second segment starts at location 8 and ends at location 10. Is there an efficient