Displaying 7 results from an estimated 7 matches for "posb".
Did you mean:
pos
2010 May 26
2
writing function : can't find an object
...(i in sel) {
assign(paste("Pos",i,sep=""),position(i),envir=.GlobalEnv)
assign(paste("Trad",i,sep=""),trade(i),envir=.GlobalEnv)
}
#access elements in my environment
posA<-get(paste(c("Pos",x),collapse=""))
posB<-get(paste(c("Pos",y),collapse=""))
av<-get(paste(c("Trad",y),collapse=""))
#apply some change on element columns then create only one data frame with
the three elements
allcon<-ddply(rbind(av[,1:3],
transform(posA,prix=POSITION*SETTLEMENT...
2010 May 13
2
long command line cut in 2 parts
Dear group,
I have this command line in a function:
zz<-merge(transform(merge(value,allcon,all.y=T),SHORTDESCRIPTION=NULL,VALUE=
NULL,PL=-VALUE*pl,quantity=NULL),PosB,all.x=T,sort=F)
I want to cut it in 2 lines (just for convenient purpose). Here is what I
did :
zz<-merge(transform(merge(value,allcon,all.y=T),SHORTDESCRIPTION=NULL,
+ VALUE=NULL,PL=-VALUE*pl,quantity=NULL),PosB,all.x=T,sort=F)
But when I source the function, I get an error message:
Erro...
2008 Jun 23
2
Pairwise Partitioning of a Vector
...98.8 113.9
....
PAIR9
part1 = 30.9 60.1 70.0 73.0 75.0 83.9 93.1 97.6 98.8
part2 = 113.9
I'm stuck with this kind of loop:
__BEGIN__
# gexp is a Vector
process_two_partition <- function(gexp) {
sort.gexp <- sort(as.matrix(gexp))
print(sort.gexp)
for (posb in 1:ncol(gexp)) {
for (pose in 1:ncol(gexp)) {
sp_b <- pose+1
sp_e <- ncol(gexp)
# This two doesn't do what I want
part1 <- sort.gexp[posb:pose]
part2 <- sort.gexp[sp_b:sp_e]
# we later want to process part1 and...
2007 Mar 08
2
Removing duplicated rows within a matrix, with missing data as wildcards
I'd like to remove duplicated rows within a matrix, with missing data
being treated as wildcards.
For example
> x <- matrix((1:3), 5, 3)
> x[4,2] = NA
> x[3,3] = NA
> x
[,1] [,2] [,3]
[1,] 1 3 2
[2,] 2 1 3
[3,] 3 2 NA
[4,] 1 NA 2
[5,] 2 1 3
I would like to obtain
[,1] [,2] [,3]
[1,] 1 3 2
[2,] 2 1 3
2005 Nov 11
0
Re: aec
...r, I've had some limited success using two identical soundblaster
live cards, card A (mic) and card B (output card which samples speakers).
On each event (sampling capture position passed a marker in the buffer):
- Fetch hardware sample-accurate sampling position of card A and B as PosA
and PosB.
- Copy 320 samples from buffer of card A at offset WantPosA into "mic
input".
- Calculate "negative offset" SampOfs = PosA-WantPosA.
- Copy 320 samples from card B at offset PosB-SampOfs into "speaker
input".
- WantPosA += 320
- Wait for next event and repeat....
2010 May 21
4
indexing problem
Dear group,
Here is my environment :
> ls()
[1] "l" "PLglobal" "Pos100415" "Pos100416" "Pos100419"
"Pos100420" "position" "select" "Trad100415" "Trad100416"
"Trad100419" "Trad100420" "trade" "y"
With objects :
> l
[1]
2005 Nov 11
4
Re: aec
To everyone on the list: do *NOT* attempt to do echo cancellation with
signals sampled using different clocks. This will *NOT* work. Just a
0.1% difference between the two sampling rates (it's sometimes worse
than that) means that the impulse response drifts by 8 samples every
second. There's just no way to efficiently track this. Or at least no
way that doesn't involve something 100x