Displaying 3 results from an estimated 3 matches for "ewat".
Did you mean:
swat
2009 Sep 28
2
A programming question - is what I want to do possible in R?
I have a large data frame, 77 rows, with 10 columns. Each row represents a
unique individual with 10 characteristics, some of which are categorical
factors and some continuous numeric variables. Each of the ten variables is
important (the 10 columns obviously correspond to the individuals of
interest). Importantly, this data set represents a population (not sample)
of people with a certain medical
2010 Feb 23
2
Lists into matrices within lists...again
Related questions to this have been asked before, but I have tried all
options they gave me unsuccessfully (do.call and unlist).
I start with three lists of summary statistics, 100 elements each, which I
bind together:
statslist <- as.data.frame(cbind (means, vars, mcrs))
I then take 100 samples of this data frame of varying lengths:
stats <- lapply (1:100, function (dummy) {
2009 Oct 15
1
performing function on lists where each element is a data frame
I have browsed the archive, and played around with a whole bunch of ways of
approaching the problem, and I cannot get the answer that I want.
I have a list with 2000 elements. Each element is a data frame with 2
columns. As an example, see element 1999 below.
[[1999]]
H N
6 0.54 26
10 0.31 13
11 0.12 34
13 0.00 38
4 0.59 37
16 0.44 9
19 0.08 13
14 0.64 39
8