Part 8: How do you build your first CNA model? · Module 16

Type the supervision table into R

How Do You Create the Dataset?

Let's recreate the Module 9 table as a data.frame , which is just R's name for a spreadsheet. Each c(...) is one column, listing the six facilities' values from top to bottom. Type carefully; R is a stickler for commas.

Six rows, five columns. R now holds your supervision data exactly as you designed it, missing children and all.

What You Will Be Able to Do

  • Build a data.frame from typed values.
  • Map each column to one condition.
  • Print a dataset to check it.

Start This Module

The full lesson opens after a free, one-minute enrolment. See the full curriculum.