search for: patient2

Displaying 9 results from an estimated 9 matches for "patient2".

Did you mean: patient
2009 Sep 20
2
missing level of a nested factor results in an NA in lm output
...0.54577 FEATURE6374:GROUP2 0.6728 0.6993 0.962 0.35867 FEATURE4227:GROUP3 1.0135 0.6993 1.449 0.17786 FEATURE6374:GROUP3 2.2665 0.6993 3.241 0.00885 ** FEATURE4227:GROUP4 1.3278 0.6993 1.899 0.08679 . FEATURE6374:GROUP4 0.5610 0.6993 0.802 0.44103 GROUP0:PATIENT2 -0.5569 0.4037 -1.379 0.19785 GROUP1:PATIENT2 -0.1104 0.4037 -0.273 0.79014 GROUP2:PATIENT2 -0.9702 0.4037 -2.403 0.03712 * GROUP3:PATIENT2 -0.1400 0.4037 -0.347 0.73586 GROUP4:PATIENT2 -0.5947 0.4037 -1.473 0.17147 --- Signif. codes: 0 ?***? 0.001...
2011 Dec 07
2
plotting and coloring longitudinal data with three time points (ggplot2)
...ow long we have been in contact with our patients, how much of the contact time that was assessment and how much that was actual treatment. Below is an example (I call it the not-working example) df2 <- data.frame( ?date2 = seq(Sys.Date(), len= 156, by="2 day")[sample(156, 78)], ?patient2 = factor(rep(1:26, 3), labels = LETTERS) ) df2 <- df2[order(df2$date2), ] dt2 <- qplot(date2, patient2, data=df2, geom="line") dt2 + scale_x_date(major="months", minor="weeks") df2[ which(df2$patient2=='B'), c("patient2", "date2")...
2009 Sep 18
0
missing values at a combination of two factors
...t value Pr(>|t|) (Intercept) 13.18320 0.37333 35.312 <2e-16 *** GROUP1 0.61861 0.52797 1.172 0.251 GROUP2 0.18993 0.52797 0.360 0.722 GROUP3 0.27163 0.52797 0.514 0.611 GROUP4 -0.28173 0.52797 -0.534 0.598 GROUP0:PATIENT2 0.12643 0.52797 0.239 0.812 GROUP1:PATIENT2 -0.72617 0.52797 -1.375 0.180 GROUP2:PATIENT2 -0.26360 0.52797 -0.499 0.621 GROUP3:PATIENT2 0.04293 0.52797 0.081 0.936 GROUP4:PATIENT2 0.59812 0.52797 1.133 0.267 GROUP0:PATIENT3 0.28147 0.52797 0.533 0.5...
2010 Jun 18
2
help with reshape is needed again!
hi, folks: i need to transpose the following data: gene tissue patient1 patient2 patient3..... --------------------------------------------- gene1 breast 10 100 1 gene2 breast 20 200 4 gene3 breast 30 50 5 gene4 breast 40 400 9 ................................ to th...
2002 Aug 08
1
The unary - operator and matrix column labels
...g observations, namely, -ig1. The problem is that I would like to be able to specify ig1 not as a vector of numeric indicies, but as a vector of column labels (as specified by data <- as.matrix(read.table("file", header=T....)). But if I do this: ig1 <- c('patient1', 'patient2') then, while I can do this: data[,ig1] I can no longer do this: data[,-ig1] because the unary operator does not like working with column labels. Is there a way to go backwards and determine the column indices from the column labels, or perhaps and even more simple way to obtain a vector...
2017 Dec 02
0
How can you find the optimal number of values to randomly sample to optimize random forest classification without trial and error?
I have data set up like the following: control1 <- sample(1:75, 3947398, replace=TRUE) control2 <- sample(1:75, 28793, replace=TRUE) control3 <- sample(1:100, 392733, replace=TRUE) control4 <- sample(1:75, 858383, replace=TRUE) patient1 <- sample(1:100, 28048, replace=TRUE) patient2 <- sample(1:50, 80400, replace=TRUE) patient3 <- sample(1:100, 48239, replace=TRUE) control <- list(control1, control2, control3, control4) patient <- list(patient1, patient2, patient3) To classify these samples as either control or patient, I want make frequency distributions of prese...
2010 Jun 17
2
help for reshape function
hi, everyone: i have a question on the reshape function. i have the following dataset : gene tissue patient1 patient2 patient3............. _________________________________________________ gene1 breast 10 20 50 gene2 breast 20 40 60 gene3 breast 100 200 300 which i hope to convert to the following format: gene patientID value gene1 ---------------...
2008 Dec 05
1
complex(?) reshaping question
Hello, I have a problem with data reshaping. Here's my data DF <- structure(list(idvar1 = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("patient1", "patient2" ), class = "factor"), idvar2 = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L), .Label = c("dob", "hog"), class = "factor"), eka1 = structure(c(NA, NA, NA, NA, NA, NA, NA, NA, 2L, 1L, NA, NA, NA, NA), .Label = c("as&quot...
2012 Sep 07
2
Contrasts for 2x4 interaction in mixed effects model
Hello everyone, I am running a mixed effects model where I have two fixed factors, one with 2 levels and one with 4, and their interaction. Let's say these are my factors and their levels: FirstFactor: 1, 2 SecondFactor: A, B, C, D For the interaction, I am interested in the four two-way comparisons, not the two four-way comparisons. In other words, I want to test whether 1A is