search for: v3b

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

Did you mean: v3
2012 Jan 31
2
question of merging two dataframes
...the value of the second column in database A is less than the value of the second column in database B. Is there a R code to do this? Thanks Dataframe A: V1a V2a V3a 1 2 3 5 2 3 4 6 3 Dataframe B: V1b V2b V3b 1 2 5 9 2 9 2 7 Dataframe C should be: V1a V2a V3a V1b V2b V3b 1 2 3 5 2 5 9 -- View this message in context: http://r.789695.n4.nabble.com/question-of-merging-two-d...
2012 Dec 14
2
Manipulation of longitudinal data by row
...3 variables) and are ignored. Eventually I have to determine mean time to resolution, mean follow-up time, etc and I think I can do that, but the first part is a bit beyond my coding skill. Suggestions appreciated. tC <- textConnection(" ID V1Date V1a V1b V1c V2date V2a V2b V2c V3date V3a V3b V3c 001 4/5/12 Yes Yes No 6/18/12 Yes No Yes NA NA NA NA 002 1/22/12 No No Yes 7/5/12 Yes No Yes NA NA NA NA 003 4/5/12 Yes No No 9/4/12 Yes No Yes 11/1/12 Yes No Yes 004 8/18/12 Yes Yes Yes 9/22/12 Yes No Yes NA NA NA NA 005 9/6/12 Yes No No NA NA NA NA 12/4/12 Yes No Yes ") data1 <- read....
2011 Jul 14
1
Repating a loop of lm function with different columns of database
...o get the p-value in a dataframe with three columns: Fitst column: analyte name (that´s the name of the column)Second column: pvalue of the first measure of the analte predicting the second measureThird column: The effect of time I copy a samller example: txt <- "V1a V2a V3a V1b V2b V3b TimeDifferenceDays2.42 72.4 3.75 2.46 55.4 4.44 6081.66 89.7 2.54 2.17 94.0 2.15 4192.45 112. 0.46 2.40 129.0 .42 7142.58 55.6 5.05 2.44 135.0 5.39 7212.61 332.0 22.6 3.55 238.0 16.4 729" Data <- read.table(textConnection(txt), header = TRUE) Thank you Jon Toledo, MD Postdoctoral fellow...
2023 Jan 26
2
Resumen de R-help-es, Vol 167, Envío 10
..., V1b = sample(c("1","0"), 10, TRUE) , V2a = sample(c("1","0"), 10, TRUE) , V2b = sample(c("1","0"), 10, TRUE) , V3a = sample(c("1","0"), 10, TRUE) , V3b = sample(c("1","0"), 10, TRUE) , V4a = sample(c("1","0"), 10, TRUE) , V4b = sample(c("1","0"), 10, TRUE)) dt[,":="(seq=.I)] setcolorder(dt,"seq") dt1 <- melt(dt,id.vars=1,measure.vars...
2023 Jan 27
0
Resumen de R-help-es, Vol 167, Envío 10
...E) > > > , V2a = sample(c("1","0"), 10, TRUE) > > > , V2b = sample(c("1","0"), 10, TRUE) > > > , V3a = sample(c("1","0"), 10, TRUE) > > > , V3b = sample(c("1","0"), 10, TRUE) > > > , V4a = sample(c("1","0"), 10, TRUE) > > > , V4b = sample(c("1","0"), 10, TRUE)) > > > dt[,":="(seq=.I)] > > > setcolorder(d...
2023 Jan 28
0
Resumen de R-help-es, Vol 167, Envío 10
...E) > > > , V2a = sample(c("1","0"), 10, TRUE) > > > , V2b = sample(c("1","0"), 10, TRUE) > > > , V3a = sample(c("1","0"), 10, TRUE) > > > , V3b = sample(c("1","0"), 10, TRUE) > > > , V4a = sample(c("1","0"), 10, TRUE) > > > , V4b = sample(c("1","0"), 10, TRUE)) > > > dt[,":="(seq=.I)] > > > setcolorder(d...