bookclub-advr

DSLC Advanced R Book Club
git clone https://git.eamoncaddigan.net/bookclub-advr.git
Log | Files | Refs | README | LICENSE

09.qmd (3516B)


      1 ---
      2 title: Cohort 9
      3 ---
      4 
      5 {{< video https://www.youtube.com/embed/3nhMBcL9WNw >}}
      6 
      7 <details>
      8 
      9 <summary>Meeting chat log</summary>
     10 ```
     11 00:04:26	Howard Baek:	Good to see you again, Olivier
     12 00:11:01	Derek Sollberger (he/him):	start
     13 00:18:16	Olivier Leroy:	T is not a restricted name unlike TRUE:
     14 00:18:17	Olivier Leroy:	> TRUE <-"bob"
     15 Error in TRUE <- "bob" : invalid (do_set) left-hand side to assignment
     16 > T <- "bob"
     17 >
     18 00:22:03	Steffi LaZerte (she/her):	nchar()
     19 00:25:34	Olivier Leroy:	A reference from War ? :p
     20 00:25:39	Olivier Leroy:	Wat
     21 00:26:50	Olivier Leroy:	(https://www.destroyallsoftware.com/talks/wat)
     22 00:32:26	Howard Baek:	I found a blog post discussing different flavors of NA: https://www.njtierney.com/post/2020/09/17/missing-flavour/
     23 00:32:47	Olivier Leroy:	Brb just checking in an other book
     24 00:36:12	Olivier Leroy:	> x <- 1L
     25 > is.numeric(x)
     26 [1] TRUE
     27 > y <- 1.4
     28 > is.numeric(y)
     29 [1] TRUE
     30 00:37:20	Olivier Leroy:	> x <- 1
     31 > is.double(x)
     32 [1] TRUE
     33 00:39:51	Derek Sollberger (he/him):	aside: banker's rounding
     34 00:39:56	Olivier Leroy:	> x <- 2.8
     35 > as.integer(x)
     36 [1] 2
     37 00:40:04	Olivier Leroy:	(truncated)
     38 00:40:11	Howard Baek:	Non-integral numeric values are truncated towards zero (i.e., as.integer(x) equals trunc(x) there)
     39 00:40:29	Howard Baek:	I found the above in the help page
     40 00:40:34	Olivier Leroy:	Reacted to "I found the above in..." with 👍
     41 00:40:38	tataphani:	Reacted to "I found the above in..." with 👍
     42 00:40:39	Steffi LaZerte (she/her):	Reacted to "Non-integral numeric..." with 👍🏻
     43 00:44:36	Jo Hardin:	also, the integer class is complicated because factor variables are integers… sort of
     44 00:44:48	Olivier Leroy:	Reacted to "also, the integer cl..." with 👍
     45 00:44:52	Diana Garcia Cortes:	Reacted to "also, the integer cl..." with 👍
     46 00:45:38	Howard Baek:	Reacted to "also, the integer cl..." with 👍
     47 00:45:47	Howard Baek:	Reacted to "Screenshot2024_06_07_094000.jpg" with 👍
     48 00:46:57	Vania:	Reacted to "Screenshot2024_06_07_094000.jpg" with 👍
     49 00:47:45	Vania:	Replying to "Screenshot2024_06_07_094000.jpg"
     50 
     51 I actually didn’t know this. Really interesting!
     52 00:48:59	Steffi LaZerte (she/her):	Reacted to "Jo Hardin has sent y..." with 😵‍💫
     53 00:49:08	Jo Hardin:	Replying to "Screenshot2024_06_07_094000.jpg"
     54 
     55 i just learned said fact when reading the chapter for today’s meeting.  🙂
     56 00:50:53	Diana Garcia Cortes:	Reacted to "Screenshot2024_06_07_094000.jpg" with 😵‍💫
     57 00:52:18	Howard Baek:	From the help page:
     58 
     59 An array in R can have one, two or more dimensions. It is simply a vector which is stored with additional attributes giving the dimensions (attribute "dim") and optionally names for those dimensions (attribute "dimnames").
     60 A two-dimensional array is the same thing as a matrix.
     61 00:53:02	Howard Baek:	methods("print")
     62 00:58:05	Derek Sollberger (he/him):	(just for fun) "How to pronounce 'POSIXct'"
     63 https://www.howtopronounce.com/pos(just for fun) "How to pronounce 'POSIXct'"
     64 https://www.howtopronounce.com/posixct
     65 00:58:15	Steffi LaZerte (she/her):	Reacted to "(just for fun) "How ..." with 😂
     66 00:58:58	Olivier Leroy:	Reacted to "(just for fun) "How ..." with 😂
     67 00:59:42	Jo Hardin:	gotta run off to a different 10am meeting.  thanks, Derek!
     68 01:00:07	Steffi LaZerte (she/her):	Reacted to "gotta run off to a d..." with 👋🏻
     69 01:01:22	Howard Baek:	Reacted to "gotta run off to a d..." with 👋🏻
     70 01:01:57	Olivier Leroy:	Reacted to "gotta run off to a d..." with 👋🏻
     71 01:03:14	Derek Sollberger (he/him):	end
     72 ```
     73 </details>