search for: min_age

Displaying 2 results from an estimated 2 matches for "min_age".

2024 Mar 18
0
[PATCH] add option to skip files based on age/mtime
...ough that wasn't what was wanted. diff --git a/generator.c b/generator.c index 110db28f..22f0973f 100644 --- a/generator.c +++ b/generator.c @@ -70,6 +70,8 @@ extern int ignore_times; extern int size_only; extern OFF_T max_size; extern OFF_T min_size; +extern int max_age; +extern int min_age; extern int io_error; extern int flist_eof; extern int allowed_lull; @@ -1706,6 +1708,23 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, goto cleanup; } + if (max_age > 0 && time(NULL)-file->modtime > max_age) { + if (INFO_GTE(SKIP, 1))...
2009 May 25
3
long format - find age when another variable is first 'high'
Dear R, I've got a data frame with children examined multiple times and at various ages. I'm trying to find the first age at which another variable (LDL-Cholesterol) is >= 130 mg/dL; for some children, this may never happen. I can do this with transformBy and ddply, but with 10,000 different children, these functions take some time on my PCs - is there a faster way to do this in R?