search for: seg1

Displaying 6 results from an estimated 6 matches for "seg1".

Did you mean: seg
2010 Jul 19
5
par("uin") ?
...* dy)^2) if (scale > 5 * rad) rad <- rad/scale qcirc <- cbind(cos((0:10) * pi/20), sin((0:10) * pi/20)) qcircr <- cbind(cos((10:0) * pi/20), sin((10:0) * pi/20)) rot <- function(theta) t(cbind(c(cos(theta), sin(theta)), c(-sin(theta), cos(theta)))) seg1 <- t(t(rad * qcirc %*% rot(-pi/2)) + c(0, rad)) seg4 <- t(t(rad * qcirc) + c(0, 1 - rad)) seg3 <- t(t((rad * qcircr) %*% rot(pi)) + c(2 * rad, 0.5 + rad)) seg2 <- t(t((rad * qcircr) %*% rot(pi/2)) + c(2 * rad, 0.5 - rad)) bra <- rbind(seg1, seg2, seg3,...
2010 Mar 17
1
question about multinom function (nnet)
Dear All. I have the following table that I want to analyze using multinom function freq segments sample 4271 Seg1 tumour 4311 Seg2 tumour 3515 Seg1 normal 3561 Seg2 normal I want to compare model with both factors to the one where only sample is present. model1=multinom(freq~segments+sample,data=table) model2=multinom(freq~ sample,data=table) anova(model2,model1) Likelihood ratio test...
2008 Jun 21
2
clicking on plot and recording XY coords
...ppose that the user will choose four coordinates inside the region of intersection between three segmentes. On each click, I would like to record the position clicked in a vector. Any help are welcome. Miltinho ----- number.clicks<-4 for (i in 1:number.clicks) { plot(0,0, type="n") seg1<-arrows(-0.5,-1,0.5,0, col=1) seg2<-arrows(0,-1,-0.3,0.3, col=2) seg3<-arrows(0.2,-0.7,-0.5,0, col=4) # here I would like click on PLOT # and record de XY position # before go to next aquisition } [[alternative HTML version deleted]]
2013 Mar 12
1
Constrain slope in segmented package
...strain a null-left-slope, but I cannot make it. I followed the explanations of the package (http://dssm.unipa.it/vmuggeo/segmentedRnews.pdf) to write the following code : fit.glm <- glm(y~x) fit.seg <- segmented(fit.glm, seg.Z=~x,psi=0.3) fit.glm <-update(fit.glm,.~.-x) fit.seg1 <-update(fit.seg) If I got well, the two last lines are supposed to constrain the slope, but it did not change anything. Could you help me with this ? By the way, I don't understand the ".-.-x" code in the update function. Thanks a lot by anticipation ! Pierre -- Pierre Haina...
2004 Aug 06
1
Need a command-line splicer of audio files for Linux
sox works great. to splice out a 10-minute segment starting 12m34s into a .wav file: sox infile.wav outfile.wav trim 12:34 10:00 to splice two segments together, well: cat seg1.wav seg2.wav > joined.wav <p>samurai.fm wrote: > SOX might work? > > -----Original Message----- > From: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org] On Behalf Of > Mailing List Receiver > Sent: Friday, March 26, 2004 9:01 AM > To: icecast@xiph.org > Subj...
2004 Aug 06
5
Need a command-line splicer of audio files for Linux
I am looking for a command-line driven audio splicer for .wav files. Any ideas? todd@toolz.com --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent