跳到主要內容

R語言翻轉教室-3【01-RBasic-03-Data-Structure-Object】


*R的物件結構

組成R語言的基本物件結構為「向量」。


向量物件有兩個很重要的屬性:`mode`和`length`。

  • `mode`代表這個向量的值型態,總共有:`logical`、`integer`、`numeric`、`complex`、`character`和`raw`。
  • `length`則代表這個向量中值的個數。

list可以裝所有R的物件


所有的R物件都有「屬性」


所有R 物件的attributes都是帶有名字的list。


本課程筆記,出處:R語言翻轉教室

回家作業:連結

留言

這個網誌中的熱門文章

【Android Development for Beginners】Lesson 2B : String Data Type, Combining Strings Together, and Integer Variables

This Notes is according to the udacity free course : Android Development for Beginners Lesson 2B :  String Data Type,  Combining Strings Together and Integer Variables Finally We cross the river and change the layouts successfully. But We can do it better by letting the price change automatically but not change after the we click the "order" button. So this is what we want to do in this class.

【Android Development for Beginners】 Lesson 2A : Create a New Project , Plan How to Build the Layout, Build Layout

This Notes is according to the udacity free course : Android Development for Beginners Lesson 2A : Create a New Project Plan How to Build the Layout Build layout Follow the instruction below to build up a new app called "Just Java" use empty activity .

【Android Development for Beginners】Lesson 2A : Update a Variable in the App

This Notes is according to the udacity free course : Android Development for Beginners The Notes below are my own notes in class. Lesson 2A :  Update a Variable in the App When you put new variable in the MainActivity.java you will get a new results when you press the button"+"