Displaying 8 results from an estimated 8 matches similar to: "missing values at a combination of two factors"
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
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 the
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
2009 Sep 20
2
missing level of a nested factor results in an NA in lm output
Hello All,
I have posted to this list before regarding the same issue so I
apologize for the multiple e-mails. I am still struggling with this
issue so I thought I'd give it another try. This time I have included
reproducible code and a subset of the data I am analyzing.
I am running an ANOVA with three factors: GROUP (5 levels), FEATURE
(2 levels), and PATIENT (2 levels), where
2011 Dec 07
2
plotting and coloring longitudinal data with three time points (ggplot2)
Dear list,
I have been struggling with this for some time now, and for the last hour I have been struggling to make a working example for the list. I hope someone out there have some experience with plotting longitudinal data that they will share.
My data is some patient data with three different time stamps. First the patients are identified at different times (first time stamp). Second, they
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 =
2002 Aug 08
1
The unary - operator and matrix column labels
I am making some changes to the permax library (so that it will accept NA's). This function performs a permutation analysis to identify discriminating attributes distinguishing two groups of observations. It takes the form (at its most simplistic):
permax(data, ig1)
where ig1 is one group of interest. The other group (if not specified) is assumed to be the remaining observations, namely,
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