Displaying 7 results from an estimated 7 matches for "patient1".
Did you mean:
patient
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
.............................
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
2007 Jan 07
2
different points and lines on the same plot
Dear all,
I have following data called "paitent"
day patient1 patient4 patient5 patient6
0 -0.27842688 -0.04080808 -0.41948398 -0.04508318
56 -0.22275425 -0.01767067 -0.30977249 -0.03168185
112 -0.08217659 -0.26209243 -0.29141451 -0.09876170
252 0.08044537 -0.26701769 0.05727087 -0.09663701
where each patient have response values at fou...
2002 Aug 08
1
The unary - operator and matrix column labels
...d to be the remaining 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...
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 pat...
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), .L...