Displaying 20 results from an estimated 1000 matches similar to: "PVQ Quantization"
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
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
2009 Mar 18
2
Octagon Coding
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear Celts,
I've become intrigued by the problem of spherical quantizers, so I decided
to see if I could come up with something better than PVQ. What I wound up
writing is something I call an "octagon quantizer. In two dimensions, PVQ
uses a "diamond" (square) shape. An octagon code (OVQ) uses an octagon,
which is a much better
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 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:
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
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/attachment.png>
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.
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
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
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
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
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-
2000 Jun 15
2
[PATCH] ./configure fails to recognize alphapca56 (R-1.1.0)
I think I reported this bug in the past. At that time, I was told that
it is a bug of autoconf.
./configure does not recognize Linux on DEC Alpha 21164PC (a cheap version
of Alpha EV56), so all the compilation flags were set incorrectly. I
don't know the right way to fix it (I don't know how autoconf works
yet ...), but the following patch fixes the problem.
Thank you,
Naoki
Naoki
2000 Oct 25
1
Vector quantization - is it a bad thing?
Hi.
I have been talking with Psytel MPEG-4 AAC developer (www.psytel.com)
about various compression formats, and to make it short he said that one
of the main drawbacks of Vorbis is its vector quantization - it introduces
more error then other quantization methods (like non-uniform scalar
quantization, if I got it right), probably used in AAC and other similar
codecs. I know vector quantization