search for: ttt

Displaying 20 results from an estimated 210 matches for "ttt".

Did you mean: tt
2008 Mar 10
2
source() behavior I don't understand
temp.ttt <- "ttt <- 1\nttt" conn.ttt <- textConnection(temp.ttt) source(conn.ttt, echo=TRUE) ## name of variable is echoed close(conn.ttt) cat(file="c:/temp/temp.R", temp.ttt) ## name of variable not echoed source("c:/temp/temp.R", echo=TRUE) temp.abc <- "a...
2005 Oct 13
0
BIND help please
I am setting up a test domain to learn bind, and how it,s working. The master domain is bbb.ttt.domene 10.11.12.13 the child domain ftp.bbb.ttt.domene 10.11.55.77 The thing I don't understand is, why don't the query report additional info (ip address)? Her is two queries(the first the one that troubles me), cut of named.conf, test of zone file, the zone file and cut from log file...
2018 May 01
2
How would I color points conditional on their value in a plot of a time series
Excellent! Worked like a charm. Thanks. --Chris Ryan On Tue, May 1, 2018 at 4:33 PM, William Dunlap <wdunlap at tibco.com> wrote: > The ts method for plot() is quirky. You can use the default method: > > plot(as.vector(time(ttt)), as.vector(ttt), type = "p", col=ifelse(ttt<8, > "black", "red")) > > > Bill Dunlap > TIBCO Software > wdunlap tibco.com > > On Tue, May 1, 2018 at 1:17 PM, Christopher W Ryan <cryan at binghamton.edu> > wrote: > >> How wo...
2018 May 01
0
How would I color points conditional on their value in a plot of a time series
You may also want to check this out: plot(ttt, type = "p") points(ttt, col = ifelse(ttt < 8, "black", "red")) Eivind K. Dovik Bergen, NO On Tue, 1 May 2018, Christopher W Ryan wrote: > Excellent! Worked like a charm. Thanks. > > --Chris Ryan > > On Tue, May 1, 2018 at 4:33 PM, William Dunlap...
2018 May 01
2
How would I color points conditional on their value in a plot of a time series
How would I color points conditional on their value in a plot of a time series. Something like this: ## demonstration data ttt <- ts(rpois(12, lambda = 8), start = c(2000, 1), freq = 4) ttt plot(ttt, type = "p") ## doesn't work--all points the same color plot(ttt, type = "p", col = ifelse(ttt < 8, "black", "red")) ## also doesn't work--all points the same color q <...
2004 May 20
2
Get Slot from a Class
Hello, everyone, I don't quite understand the following message: > TTT <- t.test(1:10, y=c(7:20)) > class(TTT) [1] "htest" > TTT@p.value Error: Trying to get slot "p.value" from an object whose class ("htest") is not defined > TTT$p.value [1] 1.855282e-05 Why the message says the class of TTT is not defined while class(TTT)...
2018 May 01
0
How would I color points conditional on their value in a plot of a time series
The ts method for plot() is quirky. You can use the default method: plot(as.vector(time(ttt)), as.vector(ttt), type = "p", col=ifelse(ttt<8, "black", "red")) Bill Dunlap TIBCO Software wdunlap tibco.com On Tue, May 1, 2018 at 1:17 PM, Christopher W Ryan <cryan at binghamton.edu> wrote: > How would I color points conditional on their value in a...
2006 Nov 22
1
question about the "solve" function in library "Matrix"
Hi: I have some problems when I use the function "solve" function in a loop. In the following code, I have a diagonal martix "ttt" whose elements change in every iteration in a loop. I defined a "dpoMatrix"class before the loop so I do not need to define this class every time in the loop. The reason is to save some computing time. The code is below. The inverse of the matrix "ttt" should change acc...
1997 Dec 02
1
R-alpha: two-sided to one-sided formula
At times we want to convert a two-sided formula to a one-sided formula. In S we can do this by dropping the second entry in the formula. In R that object no longer has a formula class. R> ttt <- score ~ age | Infant R> class(ttt) [1] "formula" R> length(ttt) [1] 3 R> ttt[-2] [[1]] ~ [[2]] age | Infant R> class(ttt[-2]) NULL R> do.call("~", ttt[-(1:2)]) ~age | Infant In general it would not be a good idea to propagate the formula clas...
2012 Mar 14
1
[ESS] completion in [] (R internal completion fails)
...t;iris$Species" Best, Vitalie. >>>> Andreas Leha <andreas.leha at med.uni-goettingen.de> >>>> on Wed, 14 Mar 2012 10:21:37 +0100 wrote: >> Hi all, >> I am seeing strange behaviour with completion inside []. >> Suppose I have >> ttt <- data.frame(aaa=1, bbb=1) >> and I want to run >> ttt$aaa[ttt$aaa == 1] <- 2 >> then completion at this point fails: >> ttt$aaa[ttt$aa<TAB> >> On the other hand, strangly enough, this works as expected: >> ttt$aaa[ ttt$aa<TAB>...
2010 May 07
2
Problems with the IMAP proxy after upgrading from dovecot 1.1.16 to 1.211
...emote MYSQL database. There were no trouble with dovecot 1.1.16. But now, with the most recent version, we get frequent login failures. It seems dovecot reconnects too late to the MySQL database after a timeout, after sending the SQL query. Here's a piece of my log file: May 7 14:46:32 ttt dovecot: auth(default): new auth connection: pid=5136 May 7 14:46:42 ttt dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=imap^Isecured^Ilip=xxx.xxx.xxx.xxx^Irip=yyy.yyy.yyy.yyy^Ilport=sss^Irport=26480^Iresp=<hidden> May 7 14:46:42 ttt dovecot: auth-worker(default): sql(uid,yy...
2006 Oct 20
6
summing elements in a list of functions
...o find a way to add up the previous 4 functions and obtain a new function: > rrr <- function(x) {1+x+x^2+x^3} without, actually, having to write it in the previous form (I could have cases with hundreds of functions). I thought that perhaps I could first define a list of functions: > ttt <- list(t0,t1,t2,t3) and then I could use something like "sum", to add up all the elements of the list and obtain another function. I've tried: > rrr <- function(x) {sum(ttt)} but it does not work. Any help with this is greatly appreciated. Cheers, james -- Dr James F...
2009 Jul 10
1
getting a timeseries element into a string
...query. Input and output are shown below. I must be missing something very basic, but I can't seem to pry the data ("2008-07-01") into a string variable. Any suggestions would be appreciated. Thank you, Andrew =====script: class(ts) (ts[1,0]) #returns first date in return series ttt<-(sprintf("%s",ts[1,0])) print(ttt) =====output: > class(ts) [1] "timeSeries" attr(,"package") [1] "timeSeries" > (ts[1,0]) #returns first date in return series GMT 2008-07-01 > ttt<-(sprintf("%s",ts[1,0])) > print(ttt) cha...
2002 Nov 18
3
Problems copying digital images to Samba Share
...quot; without the quotes. They are large, 20MB or more, and there are a lot of them. I am using Xcopy to copy from the Windows 2000 machine to the samba share. When I go to the Linux box, log in and do a directory there are three versions of each file. they look like the following. -rwxr--r-- 1 Ttt Ttt 28778288 Nov 14 20:40 LK00000005373.png -rwxr--r-- 1 Ttt Ttt 0 Nov 14 20:40 LK00000005373.png:{4c8cc155-6c1e-11d1-8e41-00c04fb9386d}:$DATA -rwxr--r-- 1 Ttt Ttt 6340 Nov 14 20:40 LK00000005373.png:?Q30lsldxJoudresxAaaqpcawXc:$DATA I would really a...
2013 Nov 20
4
How to stop Kaplan-Meier curve at a time point
Hello R users I have a question with Kaplan-Meier Curve with respect to my research. We have done a retrospective study on fillings in the tooth and their survival in relation to the many influencing factors. We had a long follow-up time (upto 8yrs for some variables). However, we decided to stop the analysis at the 6year follow up time, so that we can have uniform follow-up time for all the
2010 Apr 02
1
can't read excel file with read.xls()
Hi, I encountered a problem of not being able to read in an excel spreadsheet using read.xls() in the xlsReadWrite package. can anyone help? Here is an example code write.xls(matrix(1:9,nrow=3),"ttt.xls") read.xls("ttt.xls") Error in read.xls("ttt.xls") : Unexpected error. Message: Can't find the file "ttt.xls" The "ttt.xls" file was created in the current working folder successfully. Thanks John
2012 Jul 11
2
nls problem: singular gradient
...<- seq(0,1,0.001) t0 <- 0.5 tau1 <- 0.02 # generate yy(t) yy <- 1/2 * ( 1- tanh((t - t0)/smallc) * exp(-t / tau1) ) + rnorm(length(t))*0.01 # show the curve plot(x=t, y=yy, pch=18) # prepare data dd <- data.frame(y=yy, x=t) nlsfit <- nls(data=dd, y ~ 1/2 * ( 1- tanh((x - ttt)/smallc) * exp(-x / tau2) ), start=list(ttt=0.4, tau2=0.1) , trace=TRUE) # get error: # Error in nls(data = dd, y ~ 1/2 * (1 - tanh((x - ttt)/smallc) * exp(-x/tau2)), : # singular gradient -- Jonas Stein <news at jonasstein.de>
2007 Jun 21
1
Recycle bin and ACL
...= tmp recycle:versions = Yes Problem is that everybody can see deleted documents in the recycle bin. But if I set recycle:subdir_mode = 0770 then members of the group can not delete into the recycle bin. This is because we are using ACLs. For example a directory has following ACL: $ getfacl ttt # file: ttt # owner: root # group: Domain\040Admins user::rwx group::rwx group:projekt-rw:rwx group:projekt-r:r-x mask::rwx other::--- If I delete a file in directory ttt, this directory is created in the recycle bin with following ACLs: $ getfacl ttt # file: ttt # owner: jensenh # group: Domain...
2004 Jan 21
2
subset select within a function
Dear all, I'd like to subset a df within a function, and use select for choosing the variable. Something like (simplified example): mydf <- data.frame(a= 0:9, b= 10:19) ttt <- function(vv) { tmpdf <- subset(mydf, select= vv) mean(tmpdf$vv) } ttt(mydf$b) But this is not the correct way. Any help? Thanks in advance Juli
2012 Dec 12
2
help with predict.glm, and charting with factors
Dear R Wizards, After much frustration and days of confusion I have finally broken down and am asking for help, which I don’t like doing, but I just can’t figure this one out on my own. I’ve conducted a laboratory experiment testing the effects of temperature and salinity on whether or not a biological event will occur (Go or NoGo). I’ve coded the factors temperature and salinity as factors for