search for: t2

Displaying 20 results from an estimated 1273 matches for "t2".

2009 Jun 04
0
Dropping terms from regression w/ poly()
...et shows that the odd orders in Theta and Beta are not significant (expected because it is a symmetric measurement that I'm fitting). Now I want to simplify my model by dropping all the odd-order terms. I couldn't figure out a way to do that without defining new design matrices like this: T2 <- matrix(0,nrows,ntheta) for(i in 1:ntheta){ T2[,i] <- Theta[,i] } B2 <- matrix(0,nrows,nbeta) for(i in 1:nbeta){ B2[,i] <- Beta[,i] } R2 <-matrix(0,nrows,2) R2[,1] <- Rad[,1] R2[,2] <- Rad[,2] And then fitting a model using the individual columns of T2, R2 and B2. That...
2011 May 19
2
trouble with summary tables with several variables using aggregate function
Dear all, I am having trouble creating summary tables using aggregate function. given the following table: Var1 Var2 Var3 dummy S1 T1 I 1 S1 T1 I 1 S1 T1 D 1 S1 T1 D 1 S1 T2 I 1 S1 T2 I 1 S1 T2 D 1 S1 T2 D 1 S2 T1 I 1 S2 T1 I 1 S2 T1 D 1 S2 T1 D 1 S2 T2 I 1 S2 T2 I...
2006 Mar 25
2
Rails Plugins: How to copy artefacts to the public directory during install? When is install.rb executed anyway?
....com/pages/css_graphs) from Geoffrey Grosenbach, provides an "images" directory in the plugin top level directory (http://topfunky.net/svn/plugins/css_graphs/). So I assumed that script/plugin install would use this structure and put it below public. But this assumption is wrong: -- DC:~/t2/testtest mkamp$ ./script/plugin install http://topfunky.net/svn/plugins/css_graphs A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs/images A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs/images/colorbar.jpg A /Users/mkamp/t2...
2010 Dec 01
0
problems formulating arguments to lme()
...g the random = argument to give estimates of all 9 random components for this kind of setup where there are (I think) 9 variance/covariance components ... Study.1 Study.2 ... Study.5 Treatment T1: subject: 1 2 3 4 5 6 ... 13 14 15 Treatment T2: subject: 16 17 18 19 20 21 ... 28 29 30 A variable is measured at the same 2 fixed sites (a and b) on each subject { Toy example data at end of email } so fixed effects are :- between-Treatments ( T1 and T2 ) between-sites ( a and b ) Treatment*site interaction and random effects...
2008 Aug 22
3
sun4v arch
I would also like to help as well. As KMacy knows before i asked a lot of questions for T2 types of servers but unfortunately i have no more access to those kind of hardware as well. I;m willing to participate if a team will be formated.
2011 Jul 23
2
[LLVMdev] Build of latest llvm gives warning and error
...dded_Test::TestBody()': C:/Programming/VersionControl/llvm/tools/clang/unittests/Basic/FileManagerTest.cpp:100:3: warning: passing NULL to non-pointer argument 3 of 'static testing::AssertionResult testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&, T2*) [with T1 = int, T2 = const clang::DirectoryEntry]' C:/Programming/VersionControl/llvm/tools/clang/unittests/Basic/FileManagerTest.cpp:100:3: warning: passing NULL to non-pointer argument 3 of 'static testing::AssertionResult testing::internal::EqHelper<true>::Compare(const char*,...
2012 Mar 21
2
Best way to compute the difference between two levels of a factor ?
...ar let's generate a simple data frame with 2 numeric variables collected for different subjects (ID) and 2 levels of a TIME factor (time of evaluation) data=data.frame(ID=c("AA","AA","BB","BB","CC","CC"),TIME=c("T1","T2","T1","T2","T1","T2"),X=rnorm(6,10,2.3),Y=rnorm(6,12,1.9)) ID TIME X Y 1 AA T1 9.959540 11.140529 2 AA T2 12.949522 9.896559 3 BB T1 9.039486 13.469104 4 BB T2 10.056392 14.632169 5 CC T1 8.706590 14.939197 6 CC T2 10....
2011 May 12
1
(no subject)
...anova() Anova() AnovaM() #R-version: 2.12.2 #Hello everyone, #I am currently evaluating experimental data of a two factor experiment. to illustrate de my problem I will use following #dummy dataset: Factor "T1" has 3 levels ("A","B","C") and factor "T2" has 2 levels "E" and "F". The design is #completly balanced, each factor combinations has 4 replicates. #the dataset looks like this: T1<-(c(rep(c("A","B","C"),each=8))) T2<-(c(rep(rep(c("E","F"),each=4),3))) RESP...
2006 Mar 05
1
Sweave and long strings
...<- odbcConnect(dsn="database",uid="root",pwd="password") df1 <- sqlFetch(channel,"table1",rownames=TRUE) df2 <- sqlFetch(channel,"table2",rownames=TRUE) cmd <- "SELECT t1.isoisotope, t1.periode,t1.nbZ, t2.filnomchaineradio, t2.filcodepere, t2.filcodefils, t2.filproba, t2.filtransition from table1 t1, table2 t2 WHERE t1.isoisotope = t2.filcodepere" dfQuery <- sqlQuery(channel, cm...
2015 Feb 16
2
[LLVMdev] alias result
...; <hyliuhp at gmail.com> >> To: "Hal Finkel" <hfinkel at anl.gov> >> Cc: llvmdev at cs.uiuc.edu >> Sent: Monday, February 16, 2015 1:38:40 PM >> Subject: Re: [LLVMdev] alias result >> >> Yes, in my example, %1 and %2 point to t. %3 points to t2. >> >> But t and t2 point to the same var, is it? That's where I'm confused. > So you believe that: >>>>>> (1): store i64* %thd, i64** %t, align 8 //int64 *t = &thd; > ... >>>>>> (3): store i64* %1, i64** %t2, align 8 //int64...
2015 Feb 16
2
[LLVMdev] alias result
Yes, in my example, %1 and %2 point to t. %3 points to t2. But t and t2 point to the same var, is it? That's where I'm confused. On 2/16/15 12:37 PM, Hal Finkel wrote: > ----- Original Message ----- >> From: "Haopeng Liu" <hyliuhp at gmail.com> >> To: "Hal Finkel" <hfinkel at anl.gov> >> Cc:...
2011 Sep 22
7
need help on melt/cast
Hello, I need to convert dataframe from: ID T0 T1 T2 A 1 2 3 B 4 5 6 C 7 8 9 to: ID Variable Value A T0 1 A T1 2 A T2 3 B T0 4 B T1 5 B T2 6 C T0 7 C T1 8 C T2 9 i tried to use melt cast but it gives me all t...
2008 Jun 14
3
cbind'ing multivariate ts objects
I use R 2.7.0 on GNU/Linux. I have noticed a problem in cbind method for multivariate time series (ts) objects. Consider the following example: > t <- ts(data.frame(a = 10:20, b = 20:30, c = 30:40, d = 40:50)) > t1 <- t[, c('a', 'b')] > t2 <- t[, c('c', 'd')] > > colnames(t1) [1] "a" "b" > colnames(t2) [1] "c" "d" > colnames(cbind(t1, t2)) [1] "t1.a" "t1.b" "t2.c" "t2.d" > Although it seems to be the documented behavior,...
2017 Feb 14
2
Ensuring chain dependencies with expansion to libcalls
...ry calls for certain operations (like sdiv). We recently ran into a problem where these operations that are expanded to library calls aren't maintaining the proper ordering in relation to other chains in the DAG. The following snippet of a DAG demonstrates the problem. t0: ch = EntryToken t2: i64,ch,glue = CopyFromReg t0, Register:i64 %reg0 t4: i64,ch,glue = CopyFromReg t2:1, Register:i64 %reg1, t2:1 t6: i64,ch,glue = CopyFromReg t4:1, Register:i64 %reg2, t4:1 t8: i64,ch,glue = CopyFromReg t6:1, Register:i64 %reg3, t6:1 t11: ch = CopyToReg t0, Register:i64 %vreg0, t2...
2016 Apr 24
1
assign color to subsets
'grepl' returns a logical vector; you have to use this to get your subset. You can use: df_tq <- subset(df, grepl("t1", Command)) df_t2 <- subset(df, grepl("t2", Command)) # if you want to also get a subset that has both, use df_both <- subset(df, grepl("t1", Command) & grepl("t2", Command)) Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you...
2010 Sep 17
7
removing specific rows from array
...2 with c2 and c3 swapped r6 because c2 and c3 are same as r4 with c2 and c3 swapped r9 because c2 and c3 are same as r7 with c2 and c3 swapped r11 because c2 and c3 are same as r8 with c2 and c3 swapped . . . Any suggestions? Thanks Jim > treats <- c("t0","t1","t2","t3") > (combs1 <- permutations(length(treats),3,treats)) [,1] [,2] [,3] [1,] "t0" "t1" "t2" [2,] "t0" "t1" "t3" [3,] "t0" "t2" "t1" [4,] "t0" "t2" "t3...
2015 Feb 16
2
[LLVMdev] alias result
t and t2 are two pointers defined in .c file. The definitions in .bc are: %thd = alloc i64, align 8 %t = alloca i64*, align 8 %t2 = alloca i64*, align 8 .c file likes this: int thd; int *t = &thd; int *t2 = t; On 2/16/15 12:28 PM, Hal Finkel wrote: > ----- Original Message ----- >> From: &q...
2016 Apr 24
0
assign color to subsets
now after this: df_both <- subset(df, grepl("t1", Command) & grepl("t2", Command)) I use factor to apply the subset to df but then the Command level becomes 0 df_both$Command=factor(df_both$Command) str(df_both) $ Protocol : Factor w/ 0 levels: Do you know what is the reason? Thanks for replying On Sunday, April 24, 2016 12:18 PM, jim hol...
2017 Jun 03
4
New var
...get interval between the start date and end dates (End-start). obs, Start , end, datediff 1,2/1/2015, 1/1/2017, 700 2,4/11/2010, 1/1/2011, 265 3,1/4/2006, 5/3/2007, 484 4,10/1/2007, 1/1/2008, 92 5,6/1/2011, 1/1/2012, 214 6,10/15/2004,12/1/2004,47 Second. I want create 5 more variables t1, t2, t3, t4 and t5 The value of each variable is defined as follows if datediff < 100 then t1=1, t2=t3=t4=t5=-1. if datediff >= 100 and < 200 then t1=0, t2=1,t3=t4=t5=-1, if datediff >= 200 and < 300 then t1=0, t2=0,t3=1,t4=t5=-1, if datediff >= 300 and < 400 then t1=0,...
2009 Jul 30
0
randomized block design analysis PROBLEM
...a student and I have some trouble with the experimental (columns-experiments) design of my project. I use a randomized block design with 4 treatments including a control. For each treatment, I use 3 replicates and 3 blocks. The treatments are: -T1 = COD (300 mg/Lit) COD=chemical oxygen demand -T2 = COD (200 mg/Lit) -T3 = COD (100 mg/Lit) -T4 = COD (0 mg/Lit) as a control The experiment is conducted during three months and a sample is taken each Week in every experimental unit. At the first, I irrigated all soil columns (12 columns) with demonize water for 1 week. Then during 8 weeks, I i...