starship

Author

CB

Starship Titanic Table

Table <- data.frame(
# creates column "variable name" with rows of all the variable from the data frame
  `Variable name` = c(
    "PassengerID", "Home Planet", "CryoSleep", "Cabin",
    "Destination", "Age", "VIP", "RoomService",
    "FoodCourt", "ShoppingMall", "Spa", "VRDeck", "Name", "Transported"
  ),
# creates column "type of variable" with all types of variables corresponding to the variables from the data frame
   `Type of variable` = c(
    "Character", "Character", "Character", "Character",
    "Character", "Numerical", "Character", "Numerical",
    "Numerical", "Numerical", "Numerical", "Numerical",
    "Character", "Character"
  ),
# creates colum "level of measurment" with all corresponding measurments to the variable types
 `Level of measurement` = c(
    "Nominal", "Nominal", "Nominal", "Nominal",
    "Nominal", "Ratio", "Nominal", "Ratio",
    "Ratio", "Ratio", "Ratio", "Ratio",
    "Nominal", "Nominal"
  )
)