search for: tm3

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

Did you mean: tg3
2010 Jun 05
2
how to use 'points' function to plot two curves with errbar
...ows. how to use 'points' function to plot two curves with errbar I am doing like: x.val <- as.integer(names(co2mean)) errbar(x.val, co2mean, co2mean + co2sd, co2mean - co2sd, xaxt='n', col=1, xlab=NA,ylab=NA)# obs error bar lines(x.val, co2mean, col=1, lwd=2) errbar(x.val, co2tm3.month.mean, co2tm3.month.mean + co2sd.tm3, co2tm3.month.mean - co2sd.tm3, xaxt='n', col=2, xlab=NA,ylab=NA)# model error bar lines(x.val, co2tm3.month.mean, col=2, lwd=2) Above code replaces first error bar and its line with second. Kindly help, how to use 'points' function here so...
2017 Jun 04
0
New var
...0, 1, 0, -1, 1, -1), t4 = c(0, -1, 0, -1, -1, -1), t5 = c(0, -1, 1, -1, -1, -1), tf1 = c(0, 0, 0, 1, 0, 1), tf2 = c(0, 0, 0, -1, 0, -1), tf3 = c(0, 1, 0, -1, 1, -1), tf4 = c(0, -1, 0, -1, -1, -1 ), tf5 = c(0, -1, 1, -1, -1, -1), tm1 = c(0, 0, 0, 1, 0, 1), tm2 = c(0, 0, 0, -1, 0, -1), tm3 = c(0, 1, 0, -1, 1, -1), tm4 = c(0, -1, 0, -1, -1, -1), tm5 = c(0, -1, 1, -1, -1, -1)), row.names = c(NA, -6L), .Names = c("obs", "start", "end", "D", "bin", "t1", "t2", "t3", "t4", "t5", &...
2017 Jun 04
2
New var
...1), t4 = c(0, -1, 0, -1, -1, -1), t5 = c(0, -1, 1, -1, -1, > -1), tf1 = c(0, 0, 0, 1, 0, 1), tf2 = c(0, 0, 0, -1, 0, -1), > tf3 = c(0, 1, 0, -1, 1, -1), tf4 = c(0, -1, 0, -1, -1, -1 > ), tf5 = c(0, -1, 1, -1, -1, -1), tm1 = c(0, 0, 0, 1, 0, > 1), tm2 = c(0, 0, 0, -1, 0, -1), tm3 = c(0, 1, 0, -1, 1, > -1), tm4 = c(0, -1, 0, -1, -1, -1), tm5 = c(0, -1, 1, -1, > -1, -1)), row.names = c(NA, -6L), .Names = c("obs", "start", > "end", "D", "bin", "t1", "t2", "t3", "t4", &quo...
2017 Jun 03
2
New var
Thank you all for the useful suggestion. I did some of my homework. library(data.table) DFM <- read.table(header=TRUE, text='obs start end 1 2/1/2015 1/1/2017 2 4/11/2010 1/1/2011 3 1/4/2006 5/3/2007 4 10/1/2007 1/1/2008 5 6/1/2011 1/1/2012 6 10/5/2004 12/1/2004',stringsAsFactors = FALSE) DFM DFM$D =as.numeric(difftime(as.Date(DFM$end,format="%m/%d/%Y"),
2017 Jun 04
0
New var
...1), t4 = c(0, -1, 0, -1, -1, -1), t5 = c(0, -1, 1, -1, -1, > -1), tf1 = c(0, 0, 0, 1, 0, 1), tf2 = c(0, 0, 0, -1, 0, -1), > tf3 = c(0, 1, 0, -1, 1, -1), tf4 = c(0, -1, 0, -1, -1, -1 > ), tf5 = c(0, -1, 1, -1, -1, -1), tm1 = c(0, 0, 0, 1, 0, > 1), tm2 = c(0, 0, 0, -1, 0, -1), tm3 = c(0, 1, 0, -1, 1, > -1), tm4 = c(0, -1, 0, -1, -1, -1), tm5 = c(0, -1, 1, -1, > -1, -1)), row.names = c(NA, -6L), .Names = c("obs", "start", > "end", "D", "bin", "t1", "t2", "t3", "t4", &quo...
2004 Jul 04
2
Random intercept model with time-dependent covariates, results different from SAS
Dear list-members I am new to R and a statistics beginner. I really like the ease with which I can extract and manipulate data in R, and would like to use it primarily. I've been learning by checking analyses that have already been run in SAS. In an experiment with Y being a response variable, and group a 2-level between-subject factor, and time a 5-level within-subject factor. 2