Publications by Roel Ceballos
Basic R Training Module Day 1 Session 2
Learning Objectives: At the end of the session, the participants are expected to: learn how to import data to R from difference data sources. learn how to export or write data into different data formats. manage data in R in preparation for data analysis. Importing Data into R In this section, you will learn how to import data from different so...
17377 sym R (8697 sym/90 pcs) 11 img
Math 204 - Machine Problem 2
Instruction: For all the coding tasks below, create a single R Script and save it with the file name format {familyname_firstname.R}. Make sure to submit the file on or before the deadline. Crime Rates in the Philippines The data in Table 1 below shows the crime rate in the Philippines from 1981 to 1999. crime<-data.frame( Year=c(1981,1982,...
1752 sym R (250 sym/1 pcs)
Module 3 Lesson 6 :R Graphs and Plots (base and ggplot2)
Learning Objectives: At the end of the session, the participants are expected to: understand the basic concepts of presenting data learn how to use the R base functions in generating appropriate plots to effectively present data learn how to use the functions from the package ggplot2 for effective data presentation Introduction After data coll...
21087 sym R (31638 sym/169 pcs) 122 img
Math 204 Machine Problem 1
Instruction: For all the coding tasks below, create a single R Script and save it with the file name format {MacProb1_familyname_firstname.R} PART I The data below is taken from the Regional Situationer Report of DOH Region XI as of September 8, 2020. 1 Using the data in Table 1 above, do the following: Create a variable in R that contains th...
2996 sym 2 img
Basic R Training Module Day 3
Learning Objectives: At the end of the session, the participants are expected to: understand the basic concepts of statistical inference learn how to use the R functions in performing basic hypothesis testing Introduction Statistical inference is the process through which inferences about a population are made based on certain statistics calcu...
36158 sym R (17448 sym/122 pcs) 12 img
Day 2 Workshop Guide
Instruction: For all the coding tasks below, create a single R Script and save it with the file name format {familyname_firstname.R}. Make sure to submit the file on or before the deadline. Crime Rates in the Philippines The data in Table 1 below shows the crime rate in the Philippines from 1981 to 1999. crime<-data.frame( Year=c(1981,1982,...
1752 sym R (250 sym/1 pcs)
Stat 312 Module 1 Lesson 3 : Intro to R Functions and Preview to R Data Types
Preview of R Functions: In the following example, we first define a function oddcount() in the text editor. We then call the function on a couple of test cases. The function is supposed to count the number of odd numbers in its argument vector. #create the function oddcount<-function(x) {k<-0 for (n in x){ if (n%%2==1) k<-k+1} return(...
4912 sym R (2062 sym/33 pcs)
Stat 312 Module 1 Lesson 2: Built-in datasets, Getting Help and R Packages
Running R Codes There are two ways to run codes in R. These are: Interactive Mode. Batch Mode. Running R in Batch Mode Sometimes it’s preferable to automate the process of running R. For example, we may wish to run an R script that generates a graph output file, and not have to bother with manually running R. Here’s how it could be done. In...
7715 sym R (2104 sym/43 pcs) 7 img
Stat 312 Module 1 Lesson 1: Intro to R Programming
What is R and Why use R? R is a scripting language. Used widely for statistical data manipulation and analysis. R has become popular because it’s free and people can contribute to the development of R. R is the defacto standard among professional statisticians. comparable, and often superior, in power to commercial products. available for Wind...
8464 sym R (1112 sym/33 pcs) 1 img
Stat 312 Module 2 Lesson 1 : Vectors
Introduction The fundamental data type in R is the vector. You saw a few examples in the previous lessons, and now you’ll learn the details. We’ll start by examining how vectors relate to some other data types in R. You’ll see that unlike in languages in the C family, individual numbers (scalars) do not have separate data types but instead ...
35266 sym R (8047 sym/262 pcs) 4 img