R (untuk Jurnalis)

by dalimun

Lama tidak berjumpa namun R masih jadi bahasa pemrograman idola saya (note: tidak ada satupun bahasa pemrograman yang saya kuasai, namun bukankah cinta tak harus memiliki? *aihmateek :))

Belum tahu R? Definisi dari CRAN: R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.

Mengapa R? Artikel yang dipublikasikan The New York Times pada 2009 berjudul Data Analysts Captivated by R’s Power bisa membantu menjawab.

Ingin mengenal R lebih jauh? Silakan gunakan search engine Internet.

Tidak suka R? Masih banyak alternatif lain, lagi-lagi search engine bisa membantu.

Sudah mahir namun ingin menyegarkan ingatan tentang R? Google Developers menyediakan video berseri yang dapat dinikmati di Youtube. Berikut daftarnya:

1.1 – Initial Setup and Navigation
1.2 – Calculations and Variables
1.3 – Create and Work With Vectors
1.4 – Character and Boolean Vectors
1.5 – Vector Arithmetic
1.6 – Building and Subsetting Matrices
1.7 – Section 1 Review and Help Files
2.1 – Loading Data and Working With Data Frames
2.2 – Loading Data, Object Summaries, and Dates
2.3 – if() Statements, Logical Operators, and the which() Function
2.4 – for() Loops and Handling Missing Observations
2.5 – Lists
3.1 – Managing the Workspace and Variable Casting
3.2 – The apply() Family of Functions
3.3 – Access or Create Columns in Data Frames, or Simplify a Data Frame using aggregate()
4.1 – Basic Structure of a Function
4.2 – Returning a List and Providing Default Arguments
4.3 – Add a Warning or Stop the Function Execution
4.4 – Passing Additional Arguments Using an Ellipsis
4.5 – Make a Returned Result Invisible and Build Recursive Functions
4.6 – Custom Functions With apply()

Advertisements