Hi again Joshua.
I tried your function. I think it's what I need. It works well in the small
example of my first post. But I have difficulties to adapt it to my data.
I'll try to give you another fake example with my real script and kind of
data (you can just copy and paste it to try):
ST1 <-
dat
Hi Joshua,
Thanks you for your answer. I have to leave my work now but I'll try your
proposition tomorrow and I'll tell you if it works for me.
Good evening
--
View this message in context:
http://r.789695.n4.nabble.com/select-part-of-files-from-a-list-files-tp4630769p4630777.html
Sent from the
Hi Jeff,
Does this work okay for you?
ST <- list(data.frame(a=1:10),
data.frame(b=c(NA,NA,NA,NA,NA,6:10)),
data.frame(c=c(1,NA,NA,4:10)),
data.frame(d=c(NA,NA,NA,NA,NA,NA,NA,NA,NA,NA)),
data.frame(e=c(1,2,3,4,NA,NA,7:9,NA)))
doit <- function(data, rows, minpresent) {
if (sum(!is.na(dat
Hi everyone.
I'm working on a list of files (about 50 files). I've listed them thanks to
the function: list.files.
Each of my files contains 35000 lines of data. These files may also contain
some missing values NA (sometimes till 10 000 NAs following each other).
The aim is to do some correlation
4 matches
Mail list logo