search for: t_depth

Displaying 5 results from an estimated 5 matches for "t_depth".

Did you mean: f_depth
2024 Jun 12
3
my R code worked well when running the first 1000 lines of R code
Hi R users, The following code worked well to summarize four data groups in a dataframe for three variables (t_depth, t_alt_count, t_alt_ratio), 12 columns of summary, see attached. However, after running another 2000 lines of R codes using functions from more than 10 other R libraries, then it only generated one column of summary. Do you know why? Thank you, Yuan Chun Ding summary_anno1148ft <- anno1148ft...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...ce, so providing me suggestion. > > For conflicting issue, > > What I tried was to add dplyr::pivot_longer or tidyr:: pivot_longer, Do that to all functions comming from contributed packages. At least to those. summary_anno1148ft <- anno1148ft %>% tidyr::pivot_longer(c(t_depth, t_alt_count, t_alt_ratio), names_to = "measure") %>% dplyr::group_by(dat, measure) %>% dplyr::summarize(minimum = min(value,na.rm=T), q25 = quantile(value, probs = 0.25,na.rm=T), med = median(value,na.rm=T), q75 = q...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...but on line 1999 has a letter... The data type may vary. On Wed, 12 Jun 2024, 17:28 Yuan Chun Ding via R-help, <r-help at r-project.org<mailto:r-help at r-project.org>> wrote: Hi R users, The following code worked well to summarize four data groups in a dataframe for three variables (t_depth, t_alt_count, t_alt_ratio), 12 columns of summary, see attached. However, after running another 2000 lines of R codes using functions from more than 10 other R libraries, then it only generated one column of summary. Do you know why? Thank you, Yuan Chun Ding summary_anno1148ft <- anno1148ft...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...roviding me suggestion. > > For conflicting issue, > > What I tried was to add dplyr::pivot_longer or tidyr:: pivot_longer, Do that to all functions comming from contributed packages. At least to those. summary_anno1148ft <- anno1148ft %>% tidyr::pivot_longer(c(t_depth, t_alt_count, t_alt_ratio), names_to = "measure") %>% dplyr::group_by(dat, measure) %>% dplyr::summarize(minimum = min(value,na.rm=T), q25 = quantile(value, probs = 0.25,na.rm=T), med = median(value,na.rm=T), q7...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...olumn 1 for 1-1000 but on line 1999 has a letter... The data type may vary. On Wed, 12 Jun 2024, 17:28 Yuan Chun Ding via R-help, <r-help at r-project.org> wrote: > Hi R users, > > The following code worked well to summarize four data groups in a > dataframe for three variables (t_depth, t_alt_count, t_alt_ratio), 12 > columns of summary, see attached. > However, after running another 2000 lines of R codes using functions from > more than 10 other R libraries, then it only generated one column of > summary. > Do you know why? > > Thank you, > > Yuan Chu...