ANU BDSI
workshop Introduction to R programming
Biological Data Science Institute
3rd April 2024
<-
or =
or even ->
c()
:double
with the class as numeric
as.numeric()
tries to coerce input to numeric value.TRUE
is 1 andFALSE
is 0.str()
to see the internal structure of an object in R.data.frame
is a special type of a named list where each element of the vector is the same length.TRUE
.NA
in R denotes missing values – there are in fact different types of missing values (NA_character_
, NA_integer_
, NA_real_
, NA_complex_
).NA
and may need to be handled specially.15:00
anu-bdsi.github.io/workshop-intro-to-R/