search for: pyramid

Displaying 20 results from an estimated 52 matches for "pyramid".

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...
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....
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....
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 /lib/modules/2.6.19.2-pyramid.metrix.net/kernel/net/ipv4/multipath_random.ko insmod /lib/modules/2.6.19.2- pyramid.metrix.net/kernel/net/ipv4/multipath_wrandom.ko insmod /lib/modules/2.6.19.2- pyramid.metrix.net/kernel/net/ipv4/multipath_rr.ko #So...
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!
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=&...
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...
2007 Sep 13
0
Routing for Dual ISP connections
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 /lib/modules/2.6.19.2- pyramid.metrix.net/kernel/net/ipv4/multipath_random.ko insmod /lib/modules/2.6.19.2- pyramid.metrix.net/kernel/net/ipv4/multipath_wrandom.ko insmod /lib/modules/2.6.19.2- pyramid.metrix.net/kernel/net/ipv4/multipath_rr.ko #S...
2011 Nov 14
1
Confused with an error message related to "plotrix" library in the newer versions of R.
...uot;35-39","40-44","45-49","50-54","55-59","60-64","65+") xycol<-color.gradient(c(0,0,0.5,0.15),c(0.25,0.5,0.5,1.75),c(0.5,1.5,1,0),18) xxcol<-color.gradient(c(0,1,0.5,1),c(0.25,0.5,0.5,1.25),c(0.5,0.25,0.5,1.5),18) par(mar=pyramid.plot(xy.pop,xx.pop,labels=agelabels, labelcex=1.125, main="Population Pyramid -- Malawi", xycol=xycol, xxcol=xxcol)) Much Appreciated, *Prasanth, V.P.* Global Manager – Biometrics Delta Technology & Management Services Pvt Ltd, Plot No: 13/2, Sector - I, Third F...
2012 May 22
2
getting a Likert plot from a data frame
...ntaining the categorical variable as a my y axis label. Here is a quick example: library(HH) #my data are: df<-data.frame(as.character(cat=c("group1","group2","group3","group4", "group5")),males=c(20,30,45,12,5),females=c(35,23,32,8,5)) #make a pyramid Likert chart p<-likert(df) as.pyramidLikert(p) It tries to plot three variables here when I just want two. I think I understand what is happening - my categorical variable is treated as a factor and I think it gets inserted as an integer into the matrix which the command derives from my data fa...
2009 Dec 09
3
Population Histogram
How would I make a population histogram in R from an excel file? Thanks [[alternative HTML version deleted]]
2010 Nov 22
8
Router for SOHO network - hardware considerations
...d and cheap (if possible). I imagine some tiny box just with a CPU and a small harddisk, a little RAM and two network interfaces (one out, one in), where I could install a very stripped-down CentOS, and then just forget about it. So far, I've googled a bit, and I've found two things: 1) Pyramid Soekris boards, where I can put something like Pyramid Linux on it. And 2) The Linksys WRT54GL, for which there are Linux firmwares like OpenWRT and DD-WRT. Is there anything you could especially recommend for this job? (I'm not afraid of getting my hands dirty, BTW :oD) Cheers, Niki
2012 Sep 24
1
Adding textbox to multiple panels in lattice
...;,lty=1) ls1 <<- list(...) y <<- y iFrame <- iEduDat[ls1$subscripts,] iSex <- with(iFrame,unique(sex)) if (iSex=="Female"){ panel.pyramid(x,y,...) iCc <- with(iFrame,unique(cc)) iYr <- with(iFrame,unique(yr)) totpop <- round(sum(abs(subset(iEduDat,cc==iCc & yr==iYr,select=value)))/1000,2) LAB <- paste("...
2017 Jun 22
1
Back to back barplot
Dear Gentlemen, i want to create a back-to back barplot in R, close to a pyramid chart, but with categories, please help; Here is a sample, Franklin. -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 8108 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20170622/75cf841c/attac...
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. There are commands to erase the whole console, but that's not what I want either; ideally, the command would allow me to erase the last line or the last x lines. Thanks Anglis...
2016 Sep 13
4
web admin ui for samba AD
...t; 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 python. If you have not written stuff in python, you may find you like it better than php. I suggest you take a look at pyramid, or flask as one of python web frameworks. Probably flask would be good choice. I have thought about writing web UI to do most of what an account operator would do with the aduc tool. So -- if anyone wants to start a project doing using one of the python web frameworks, please announce it on this...
2010 Feb 22
1
plotrix 2.8-3
...o 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 barNest.* as well. The other major changes are to the pyramid.plot function. A recent exchange with a user led to new options to use different category labels for the left and right bars and to place the category labels and values outside the bars. So there are a couple of new arguments and options. The help page and examples should make these clear. If n...
2010 Apr 18
0
PVQ/CWRS with separated signs
The attached code implements PVQ encoding/decoding with separated signs [1]. It's in Python to use the unlimited-precision integers. The concept is to map vectors on some L-dimensional pyramid into integers 0...N, just like the standard PVQ. The only change is the mapping itself. The mapping is altered so that all sign data is in the least significant bits. A vector with Z nonzero components has Z signs associated with it, and they are stored in the last Z bits. The integer encoding...
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...
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