similar to: Break [SEC=UNCLASSIFIED]

Displaying 20 results from an estimated 1000 matches similar to: "Break [SEC=UNCLASSIFIED]"

2007 Sep 20
1
Identify and plotting symbols. [SEC=UNCLASSIFIED]
Rolf turner wrote: >I have been trying, unsuccessfully, to use identify() to (simply) >return a list of the indices of points clicked on and overplot (with >say a solid dot) each clicked-on point so that I can see where I've >been. I.e. I don't want to see the indices printed on the screen; I just want the points I've already selected to be highlighted. > >I
2007 Nov 30
0
vector sprintf argument [SEC=UNCLASSIFIED]
Hi Tom, Try this: > G <- "Number: %s" > sprintf(G, toString(A)) [1] "Number: 3, 4, 5" Cheers Joe Joe Crombie Biosecurity and Information Sciences Bureau of Rural Science Canberra Australia p: +61 2 6272 5906 e: joe.crombie at brs.gov.au -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of
2007 Dec 21
1
using apply to loop [SEC=UNCLASSIFIED]
Hi Louis, You could try this: # find the index of the maximum value in each row of _data_, # disregarding the last column classified <- apply(data[,-(nclass+1)],1,which.max) ## or, if the maximum may be repeated: classified <- apply(data[,-(nclass+1)], 1, FUN = function(x) which(x == max(x))) # the variable _truth_ is just the last column of _data_ ? truth <- data[,nclass + 1] ?table
2007 Sep 21
0
Time series graphs, question about using zoo [SEC=UNCLASSIFIED]
Hi Fang, An easy way of doing this is by: > matplot(one, pch = LETTERS[1:4], type = 'b') Cheers Joe Joe Crombie Information and Risk Sciences Bureau of Rural Science Canberra Australia p: +61 2 6272 5906 e: joe.crombie at brs.gov.au -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of fang liu Sent: Friday,
2007 Jan 22
0
[UNCLASSIFIED] predict.survreg() with frailty term and newdata
Dear All, I am attempting to make predictions based on a survreg() model with some censoring and a frailty term, as below: predict works fine on the original data, but not if I specify newdata. # a model with groups as fixed effect model1 <- survreg(Surv(y,cens)~ x1 + x2 + groups, dist = "gaussian") # and with groups as a random effect fr <- frailty(groups,
2007 Oct 16
0
partitioning data [SEC=UNCLASSIFIED]
Hi Stephen, Check the help for predict.glm(). The argument for passing new data is actually 'newdata', as in: > pred = predict(glm.model, newdata=form[150001:200000,-1], > type="response") Cheers Joe -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of stephenc at ics.mq.edu.au Sent: Tuesday, 16
2007 Oct 24
0
random walk w/ reflecting boundary: avoid control construct? [SEC=UNCLASSIFIED]
Hi Johannes, I came up with the following (assuming that if step[i] is independent of step[i-1] then it is also independent of -step[i-1]): Cheers Joe > # your (unbounded) random walk > k <- cumsum(c(0,sample(c(-1,1), 1000, rep = T))) > > #shift it to positive, to allow following calculations k <- k - min(k) > # set your bound (remember min(k) is now zero) wid <- 10
2006 Mar 23
1
YAML inconsistencies...
I figured I''d post here before submitting a ticket, but I''m seeing some confusing stuff when dealing with YAML now. I was using it to freeze objects in my database, and so i had some data already around to mess with. I upgraded both Ruby (1.8.3 -> 1.8.4) and Rails ( -> 1.1RC1) and this junk started. I''ve outlined the problem in two pastes, which I''ll
2016 Sep 30
2
[PATCH] customize: Add --append-line.
This appends a single line to a file, with some cleverness involving guessing the right line endings to use. Also adds a test. --- builder/test-virt-builder.sh | 57 +++++++++++++++++++++++++++++++++++- customize/Makefile.am | 2 ++ customize/append_line.ml | 70 ++++++++++++++++++++++++++++++++++++++++++++ customize/append_line.mli | 20 +++++++++++++ customize/customize_run.ml
2015 Jul 02
0
multiple sip trunks with the same ITSP
HI LIST CAN U HELP ME If there are multiple sip trunks with the same ITSP then an incoming call is arbitarily matched to the last peer with the same host IP address. This is not a serious problem because the DID is still correct but it does have many insidious effects due to the incorrect channel name Example register=myaccount1 at sip.myitsp.com/line1 register=myaccount2 at
2006 Mar 25
2
Textilize problems with line breaks
I''m having a problem formatting some text. I have a textarea that I input my text into, which will then be put into an e-mail and sent out. The problem I am having is when there is a single line break. Multiple line breaks work fine (hitting enter twice), but single line breaks don''t seem to work properly. Take the following input: Line1. Line2. Line3. Line4. Using
2004 Mar 10
1
coreutils-4.5.3-28 causing duplication?
Here's a bit of a strange one. I hunted through the ocfs-users archives, but didn't see any mention of this, so here goes... Using coreutils 4.5.3-27 on RHAS 3, the utilities perform as expected against non-OCFS volumes: $ rpm -q coreutils coreutils-4.5.3-27 # cat a 3 line test file. Works as expected $ cat /var/tmp/file line1 line2 line3 # copy that file. Works as expected $ cp
2003 Jul 27
2
continuous independent variable in lme
Dear All, I am writing to ask a clarification on what R, and in particular lme, is doing. I have an experiment where fly wing area was measured in 4 selection lines, measured at 18 and 25 degrees. I am using a lme model because I have three replicated per line (coded 1:12 so I need not use getGroups to creat an orederd factor). The lines are called: "18"; "25";
2004 Jun 28
2
Would this work?
I am trying to implement a rollover of extensions. exten => 3000,1,GotoIf($[${line1} = Congestion]?3:2) exten => 3000,2,Dial(${line1},15,rt) exten => 3000,3,GotoIf($[${line2} = Congestion]?5:4) exten => 3000,4,Dial(${line2},15,rt) exten => 3000,5,GotoIf($[${line3} = Congestion]?7:6) exten => 3000,6,Dial(${line3},15,rt) exten => 3000,7,GotoIf($[${line4} = Congestion]?1:8)
2010 Mar 16
2
Is there a way to edit a specific line in a function (e.g: doing function->text->edit->function) ?
Hello, Let's say we have the following function: foo <- function(x) { line1 <- x line2 <- 0 line3 <- line1 + line2 return(line3) } And that we want to change the second line to be: line2 <- 2 How would you do that? The two ways I know of are either to use fix(foo) And change the function. Or to just write the function again. Is there
2014 Jun 12
1
regression bug with getParseData and/or parse in R-3.1.0
Hi, With R-3.1.0 I get: > getParseData(parse(text = "{1}", keep.source = TRUE)) line1 col1 line2 col2 id parent token terminal text 7 1 1 1 3 7 9 expr FALSE 1 1 1 1 1 1 7 '{' TRUE { 2 1 2 1 2 2 3 NUM_CONST TRUE 1 3 1 2 1 2 3 5 expr FALSE 4 1 3 1
2007 May 15
1
Efficiently reading random lines form a large file
I need to read two different random lines at a time from a large ASCII file (120 x 296976) containing space delimited 0-1 entries. The following code does the job and it's reasonable fast for my needs: lineNumber = sample(120, 2) line1 = scan(filename, what = "integer", skip=lineNumber[1]-1, nlines=1) line2 = scan(filename, what = "integer",
2010 Sep 19
0
A logging/graphing UPS client using rrdtool and UPS::Nut
I finally got around to writing myself a NUT UPS monitoring tool. NUT's UPS monitoring CGI tools provide a detailed instantaneous view of the UPS's state at any moment, but provide no history. The attached tool, upswatch, uses Kiss Gabor's UPS::Nut module and Tobi Oetiker's rrdtool to provide a graphical history of the major UPS operating parameters via a web browser.
2016 Jun 09
1
for loop example
> From: Indunil Jayasooriya <indunil75 at gmail.com> > > > > > > [root at centos67 loop]# cat file1 > > > firstname1 > > > firstname2 > > > > > > [root at centos67 loop]# cat file2 > > > lastname1 > > > lastname2 > > > > > > I need a OUTPUT like this > > > > > > > > >
2006 Aug 04
2
expression() - Superscript in y-axis, keeping line break in string
I've tried several different ways to accomplish this, but as yet to no avail. My y-axis for a plot has a rather long label, and thus I have been using "/n" to break it into two lines. However, to make it technically correct for publication, I also need to use superscript in the label. For example: par(oma=c(0,0,2,0),mar=c(5,6,0.25,2),lheight=1) plot(1:10,