Displaying 20 results from an estimated 20000 matches similar to: "plotting"
2005 Apr 18
3
using imported tables
I've recently found out using read.table i can insert a table into R from a .dat
file. The problem i'm having is now that i've got R to read the package i want
to use the data from each column. I've tried adding titles to each column
using col.name, but it assigns a name to the entire table and wont recognize
the name i gave the table later in programming. Is there something
2010 Aug 23
2
change order of plot panels in faceted ggplot/qplot
Hi,
I have a 5-paneled figure that i made using the facet function in
qplot (ggplot). I've managed to arrange the panels into two rows/
three columns, but for the sake of easy visual comparisons between
panels in my particular dataset, I want to have the two plots on the
bottom align on the right hand side of the figure instead of the left.
Here's an example:
m <-
2004 Aug 06
1
narrowband embedded in wideband
It looks like I'll need to go further into the guts of speex to do
this. I do, however, see some lines in nb_celp.c/nb_decode() that
look interesting. I guess I'll play with it. I doubt that it will be
terribly clean, though.
Jean-Marc: Take a look at line 1195 in nb_celp.c (CVS). It reads
"speex_warning ("More than to wideband layers found: corrupted
2004 Apr 20
1
FW: Aligning different trellis plots
All --
I am trying to combine trellis plots and having a couple of small problems.
I'm trying to combine two trellis plots that display data of different
kinds. Each has a single row of plots, and I'd like to display them over
one another. So I use
print(plot1, split = c(1,1,2,1), more = TRUE)
print(plot2, split = c(1,2,1,2))
I end up with two minor issues. First, I'd like to
2004 Aug 06
1
Psycho Acoustic models i Speech Coding
(This is almost out of topic but anyway...)
It is surprising how little research effort have been put into psy-acou
models for CELP. The basic problem lies in that it is not easy to alter
the LP model without distroying the minimum-phase property (ie. the
stability of the predictor). That leaves us with psy-acou modelling of
the noise-part only. However, my own research is in constrained
2004 Aug 06
3
status report on the Windows CE (PocketPC) ACM codec
Christian Buchner wrote:
> Now here is where I have problems and not yet found a solution:
I know very little about this, so take everything that follows with a
large pinch of salt.
> * the function names exported in the .lib created by gcc are not compatible
> with the function name decorations that the VisualC++ embedded linker expects.
Which version of gcc are you using? I know
2006 May 10
2
[LLVMdev] SCCP
Chris Lattner wrote:
> On Tue, 9 May 2006, Nick Lewycky wrote:
>
>>>> For an analysis pass, I'm interested in reading the lattice values
>>>> calculated by SCCP. Should I split the current SCCP optimization
>>>> into an
>>>> analysis piece and the optimization that depends on it, so that I can
>>>> use its analysis results?
2004 Mar 23
1
R equivilant to RAND_MAX in C
Hello,
I have some C code that I'm interfacing to R using the .C calling
interface. Currently the C code uses the rand() function from the GNU C
library to generate random numbers. Since I need the random numbers in a
range from 0 to a (where a is an integer) I use the RAND_MAX macro as
(int)(rand() * (float)(*nobs-1) / (RAND_MAX+1.0))
(taken from the rand() manpage)
However, since I have
2004 Aug 06
1
Speex, what container?
The aplication that I am developing is like a sound recorder (goes directly to the soundboard and start capturing the sound and writing the file, using the directsound api). I'm already capable of writing to normal wav files but I wanted to encode the audio with speex to have smaller size (and still good quality).
How can I write the wav files with speex content using the ACM codec? (like
2007 Dec 06
3
Vertical text in a plot
Hi,
Consider this simple plot:
> plot(1:25,runif(25,0,1),ylab="First Y-axis label",xaxt="n")
I want to add an additional axis as
> axis(4,at=seq(0.2,1,.2), labels=1:5)
I have no idea how to add now the title of the new axis as "Second
Y-axis label". I want this text to be vertically directed from bottom
to top. I can't find the function in text() to write
2006 May 10
2
[LLVMdev] SCCP
Chris Lattner wrote:
> On Tue, 9 May 2006, Nick Lewycky wrote:
>
>> For an analysis pass, I'm interested in reading the lattice values
>> calculated by SCCP. Should I split the current SCCP optimization into an
>> analysis piece and the optimization that depends on it, so that I can
>> use its analysis results?
>
> SCCP is already split into an SCCPSolver
2002 Nov 20
1
Key comment to syslog on login
Hello,
Firstly thankyou for developing openssh - it is a great tool.
Secondly I'm not subscribed to this list - sorry!
It would be helpful to log the key comment to syslog when logging in using
private key authentication.
At the moment I get.
Nov xx xx:xx:xx hostname sshd[pid]: Accepted publickey for root from xxx.xxx.xxx.xxx port xxxxx ssh2
If this could be changed to log the key comment
2013 Feb 02
1
Why replacement has length zero? And How can I fix it?
Hi
for the loop section runif needs curved brackets
Try
IAP <-NA
for (i in 1:Sample.Size){
if (DataSet$SES[i]>0) {
IAP[i] <- ifelse(runif(1)>0.75, 1, 0) # High SES, higher chance to be in
Treatment #
}
else {
IAP[i] <- ifelse(runif(1)<=0.25, 1, 0) # Low SES, lower chance to be in
Treatment #
}
} # End loop #
IAP
IAP
zjiaqi19880219 wrote
> Hi,
2006 May 05
2
boxplot - labelling
Hi,
How can I get the values of mean and median (not only points but values too) on the boxplot. I am using boxplot function from graphics package. Following is my data set
> df
[1] 5 1 1 0 0 10 38 47 2 5 0 28 5 8 81 21 12 9 1 12 2 4 22 3
> mean.val <- sapply(df,mean)
> boxplot(df,las = 1,col = "light blue")
> points(seq(df), mean.val,
2006 May 10
0
[LLVMdev] SCCP
On Tue, 9 May 2006, Nick Lewycky wrote:
>>> For an analysis pass, I'm interested in reading the lattice values
>>> calculated by SCCP. Should I split the current SCCP optimization into an
>>> analysis piece and the optimization that depends on it, so that I can
>>> use its analysis results?
>>
>> SCCP is already split into an SCCPSolver class
2006 May 10
0
[LLVMdev] SCCP
On Tue, 9 May 2006, Nick Lewycky wrote:
>> You could do that, but SCCPSolver isn't really useful to mainline LLVM
>> for anything other than SCCP and IPSCCP, so we don't need it in a public
>> header. Out of curiosity, what are you looking to use the latice values
>> for? Why not just run SCCP and then look at the transformed code?
>
> I was planning to
2007 Oct 17
3
Observations on SVD linpack errors, and a workaround
Lately I'm getting this error quite a bit:
Error in La.svd(x, nu, nv) : error code 1 from Lapack routine 'dgesdd'
I'm running R 2.5.0 on a 64 bit Intel machine running Fedora (8 I think).
Maybe the 64 bit platform is more fragile about declaring convergence.
I'm seeing way more of these errors than I ever have before.
From R-Help I see that this issue comes up from time to
2004 Aug 06
2
@Christian Buchner: speex acm & netmeeting
Ok,
I uploaded that tool including sources onto my site (darkav.de.vu).
bye,
D A
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list
2007 Jul 17
2
xyplot for longitudinal data
Dear R-help subscribers,
I use xyplot to plot longitudinal data as follows:
score<-runif(100,-4,5)
group<-sample(1:4,100,rep=T)
subject<-rep(1:25,4)
age<-rep(runif(4,1,40),25)
df<-data.frame(score,group,age,subject)
xyplot(score~age|group, group=subject,
panel=function(...){
panel.loess(...,lwd=4)
panel.superpose(...)}
,data=df)
this produced a plot with four panels one for each
2007 Dec 10
2
Viewport and grid.draw
Hi Deepayan and everyone,
I need to add a common legend to a group of latice
graphs, I have tried different ways using viewport and
grid.draw without success.
Here is what I have:
plot.new()
library(grid)
library('IDPmisc')
print(plot1, split=c(1,1,2,4), more=TRUE)
print(plot4, split=c(2,1,2,4), more=TRUE)
print(plot2, split=c(1,2,2,4), more=TRUE)
print(plot5, split=c(2,2,2,4),