my_obj <- 52After today’s session you will be able to:







<-)
We can make an object like so:
yy with a value of 55
<-)
my_char with a value of “text”
#)
Here are some example comments:
round that rounds decimals either up or down
round has two arguments:
x = the number(s) to rounddigits = the number of digits to which to round x
? and then the function name
?mean
?round and see what happenspi that includes the first 6 digits of π
round function, round pi to 3 digits
sqrt)
sqrt expect?
c function
my_vector <- c(1, 2, 3, 4)
class function
class(my_object)
as.<desired class>()
as.numeric()
my_text <- as.character(111)
my_num <- as.numeric("hello")c function!