Vector
四項基本的資料結構 vector、data.frame、list、factor
data.frame 幾乎等同於 list of vectors
list很像list但可以容納多類、多層的資料
factor相當於因素分析中的因素,指的是統計中的類別變項如性別,
很像vector但用起來一點都不像
常見的變數、物件型態 character, numeric, and POSIX time
文字(character)和數字(numeric)是基本型態
時間是一種稍微複雜的物件型態
資料的基本操作
初始化Creating
存取accessing
刪除deleting
插入inserting data of vector and data.frame
Accessing data by index or TRUE/FALSE vector.
Slides and Videos
Last updated
Was this helpful?