Skip to main content

Instructor-led training

Data Analytics with R Training in Troy, Ohio

This course provides an overview of the basic to advanced features of the R programming language.

What you'll learn

This course provides an overview of the basic to advanced features of the R programming language. It is presented as a combination of lectures and hands-on exercises. Course Topics: ... Data Science Basics ... R Language Basics ... Intermediate R ... Charting and Graphing ... Statistical Processing ... Introduction to Text Analytics and the tm Package ... Introduction to Collaborative Filtering ... Implementing a Recommendation Engine

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Troy, Ohio or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

Prior to attending this course, students should be familiar with statistical analysis concepts. Prior programming or scripting experience is strongly recommended but not required.

Course Outline

Upon completion of this course attendees will be able to:
• Describe the data science basics
• Write R programs that perform data analysis
• Use scalars, vectors, and functions in the programs
• Use matrices, factors, and data frames
• Generate R graphs and charts
• Perform statistical processing
• Implement a recommendation engine using collaborative filtering
 
 
I. Data Science Basics
 
II. R Language Basics
 
A. Scalars
B. Vectors
C. Functions
 
III. Intermediate R
A. Matrices
B. Factors
C. Data Frames
 
IV. Charting and Graphing
 
V. Statistical Processing
A. Linear Regression
B. Logistic Regression
 
VI. Text Analytics
A. Introduction to Text Analytics
B. Introduction to the ‘tm’ Package
 
VII. Collaborative Filtering
A. Introduction
B. Implementing a Recommendation Engine
 
 

What makes R for data analytics hard to master

The syntax is small. The difficulty is a different way of thinking about data, and the syllabus builds that up in layers.

  • Vectors before everything. The language basics start with scalars, vectors and functions. In R a scalar is just a length-one vector, and most operations apply across whole vectors. Developers used to explicit loops often write slow, awkward code until this idea sinks in.
  • Structures that carry meaning. The intermediate block covers matrices, factors and data frames. A factor is a categorical variable with defined levels, not a string column. Misunderstanding it is a common source of surprising results in later modeling steps. Data frames combine columns of different types, so indexing and subsetting rules matter.
  • Charting. Producing a chart is easy. Choosing a chart that shows the structure of the data, and reading it correctly, takes practice.
  • Statistical processing. The course covers linear and logistic regression. Running a model takes one line. Judging whether it is appropriate, and interpreting its output, is where the statistics prerequisite pays off. A common misconception is that a fitted model is a valid one.
  • Text and recommendations. Text analytics with the tm package means turning unstructured text into something countable. Collaborative filtering then ends in building a recommendation engine, which combines the earlier skills: data frames or matrices, functions and careful data preparation.

Who it suits and what to take around it

The course assumes familiarity with statistical analysis concepts. Programming or scripting experience is strongly recommended but not required. It suits analysts, developers and technical team members who need to move from spreadsheets or ad hoc scripts to repeatable analysis in R. It also suits training managers who want one cohort to share a common baseline in data handling, regression and basic text work.

If your team lacks the statistics background, build that first. The regression and interpretation sections move quickly for people meeting the concepts for the first time.

For what comes next, Introduction to Machine Learning (introductory, 3 days) is a natural step for teams who want a broader view of machine learning after learning to prepare and model data in R. Teams that standardize on Python rather than R can look at Machine Learning using Python (general, 3 days), which covers the same kind of work in a different language. The full set is listed on the Machine Learning courses and learning guide.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • Explaining an outcome from tabular data. For example, an analyst might load records into a data frame, convert categorical fields to factors, chart the distributions, and fit a linear regression to estimate how several factors relate to a numeric result. The syllabus topics involved are data frames, factors, charting and linear regression.
  • Classifying a yes/no outcome. A team might use logistic regression to model whether a customer takes an action, writing helper functions so the same preparation steps run each time the data refreshes.
  • Suggesting items to users. A team with a table of user ratings might apply collaborative filtering to suggest items each user has not yet rated. The team would build the ratings structure in R and implement the recommendation engine step by step. A team could also use text analytics with the tm package to turn free-text comments into counts they can analyze.

Using AI coding assistants with R analysis work

AI coding assistants are useful for drafting boilerplate, such as reading a file into a data frame, subsetting rows and columns, writing a small function, or setting up a basic chart. They can also explain an unfamiliar line of R. That helps most once you understand vectors and data frames well enough to judge the answer.

They fail in predictable ways for these topics:

  • They may write loop-heavy code where a vectorized expression is the idiomatic R approach.
  • They may mishandle factors, for example treating them as text or ignoring level order, which silently changes model results.
  • They may call functions or arguments that do not exist, or that belong to a different package or version than the one installed. This is a particular risk with the tm package.
  • They can produce a regression that runs without errors but is statistically unsuitable, and they can interpret the output with more confidence than the data supports.

To verify, run generated code on a small sample where you know the answer. Check the structure and types of every object, and check factor levels. Compare model output against the documentation, and confirm each function against the help pages of the packages you have installed. For recommendations, hand-check a few cases to see whether the suggestions make sense.

Frequently asked questions

What level is this course?

It is a general-level, 3-day course that moves from R language basics to regression, text analytics and a recommendation engine. It combines lectures with hands-on exercises.

What do I need to know beforehand?

You should be familiar with statistical analysis concepts. Programming or scripting experience is strongly recommended but not required.

What does the course cover?

The syllabus covers data science basics, scalars, vectors and functions, matrices, factors and data frames, charting and graphing, linear and logistic regression, an introduction to text analytics with the tm package, and collaborative filtering including implementing a recommendation engine.

Can this course be delivered privately for our team?

Yes. HSG delivers private training for organizations, either onsite at your location or live online.

Can the content be customized?

Private course content can be customized, including tailoring to the technology versions your organization uses. You can describe your needs through the training proposal request.

Training locations

Data Analytics with R training across the U.S. and beyond.

We provide private Data Analytics with R training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Data Analytics with R training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.