In the Exercises we will cover Hashes, Factors and Zoo in R
Answers to the exercises are available here.
For other parts of this series please follow the tag: here
Create a Hash based Key Value Pairs with three employees, with Employees as the key and the name as the values.
Create Hash of an Employee with the Name, Age, Address & SSN as the key and the details of the employee as the values
Create Hash and use names function to give names to the key.
Create a factor based on marks of students and print the summary of the same.
Create a factor based on heights and print the levels and summary for the heights factor
Create a factors of 10 random values between 1 and 100, with on repeating values and also check the variable is a factor
Create a factor based on Age of students and plot a graph based on the age.
Create a random factor based on 0 & 1 and give assign false for 0 and true for 1 and check the variable by print the type of the variable.
Create a random factor based on 0 & 1 and give assign false for 0 and true for 1 and assign new 11 the value as False.
Create a data Frame of dates and return of company and use zoo
to convert the data.