Guest User

Untitled

a guest
Nov 16th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. > head(APD.dataframe)
  2. Serial_number Lot Wafer Irradiated Amplification Voltage Dark_current
  3. 1 912009913 9 912 0 1.00252 24.9681 0.000059
  4. 2 912009913 9 912 0 1.00452 29.9591 -0.002713
  5. 3 912009913 9 912 0 1.00537 34.9494 -0.018948
  6. 4 912009913 9 912 0 1.00560 44.9372 -0.023865
  7. 5 912009913 9 912 0 1.00683 49.9329 -0.032359
  8. 6 912009913 9 912 0 1.00690 54.9625 -0.039507
  9.  
  10. library(dplyr)
  11. APDmin_irr<- APD.frame_irr %>% group_by(Serial_number, Threshold) %>% top_n(n, Amplification) %>% ungroup()
  12. APDmin_irr<- APDmin_irr[!APDmin_irr$Threshold == "No", ]
  13. APDmax_irr<- APD.frame_irr %>% group_by(Serial_number, Threshold) %>% top_n(-n, Amplification) %>% ungroup()
  14. APDmax_irr<- APDmax_irr[!APDmax_irr$Threshold == "Yes", ]
  15. APD_irr<- rbind(APDmin_irr, APDmax_irr)
  16. APD_irr<- with(APD_irr, APD_irr[order(Serial_number, Amplification),])
  17. APD_irr$Threshold<- NULL
  18.  
  19. ggeffect(fit3_irr)
  20. Error: Unknown column `log(log(Amplification))`
  21. In addition: Warning message:
  22. 'glue::collapse' is deprecated.
  23. Use 'glue_collapse' instead.
  24. See help("Deprecated") and help("glue-deprecated").
  25.  
  26. APDmin_irr<- APD.frame_irr %>% group_by(Serial_number, Threshold) %>% top_n(n, Amplification) %>% ungroup()
  27. APDmin_irr<- APDmin_irr[!APDmin_irr$Threshold == "No", ]
  28. APDmax_irr<- APD.frame_irr %>% group_by(Serial_number, Threshold) %>% top_n(-n, Amplification) %>% ungroup()
  29. APDmax_irr<- APDmax_irr[!APDmax_irr$Threshold == "Yes", ]
  30. APD_irr<- rbind(APDmin_irr, APDmax_irr)
  31. APD_irr<- with(APD_irr, APD_irr[order(Serial_number, Amplification),])
  32. APD_irr$Threshold<- NULL
Add Comment
Please, Sign In to add comment