Please enable JavaScript.
Coggle requires JavaScript to display documents.
R (workingdir (getwd(), File Change Dir, dir()), sequence (x<1:20),…
R
workingdir
getwd()
File Change Dir
dir()
sequence
x<1:20
data types
Objects
Charachter
numeric
default
integer
Put L to say number
Inf
Infinity
NAn
Not a number
complex
logical (true/false)
most basic is vector
object of same class
list - element can contain different objects
x<-list(1,"a",TRUE,1+3i)
vector()
class of obj
length of arg
vector(class, length)
c()
mixing objects -LCD
coercion happens
as.type()
explicit coercion
as.numeric(vector)
as.character(x)
attributes()