Question: 1 . Create four variables that are assigned a numeric data type, a character data type, a logical data type, and a date data type.
Create four variables that are assigned a numeric data type, a character data type, a logical
data type, and a date data type. Each variable should contain a different data type than the
others.
a Validate the type of data contained in the variable using the appropriate function that
validates the class of the variable. HINT: Read section in the book
Create a variable called "monthsOfYEAR" that contains a vector of the names of the days of
the week.
Create a variable called "dataVec that contains a vector of numbers that range from to
Create a variable called dataVec that contains a vector of numbers that range from to
Create a variable called datacombVec that adds the vectors of dataVec and
dataVec into the new variable datacombVec
Create a variable called datacombVec that multiplies the vectors of dataVec and
dataVec into the new variable datacombVec
Whats the difference between NULL and NA How can NAs be resolved when using the
sum command?
Write out the code that you would type in the RStudio script editor to install and load the
package dplyr
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
