R Basics-21 - Coding-String and Date (Hands On) - ClassiCoder
Date Conversion Perform the following tasks: . Convert the string S in the function parameter to a va…
Date Conversion Perform the following tasks: . Convert the string S in the function parameter to a va…
Iterations Perform the following tasks: . Write a function sum_whole that find the sum of the first N…
Factorial . Write a function Nfact to find the factorial of the number num passed as arguments using…
Handling NA values Perform the following task: 1. Remove the NA and odd values from the vector V pass…
Date and Time in R Perform the following tasks: 1. Create a string "25-12-2016" and convert…
Conditional operation - which() Perform the following tasks: 1. Identify the position of the values g…
Vector Operations Perform the following tasks: 1. Create a vector X as a sequence of numbers from a t…
Vectors and Matrices Perform the following tasks: 1. Create a vector V with values 1 to 9 2. Create a …
Conditional - If/Else Perform the following tasks: 1. Check each value of the vector V passed as argu…
Factors and Levels Perform the following tasks: 1. Find the factor of the vector V passed as function…
Factors and Levels Perform the following tasks: 1. Create a vector variable with the values "y…
Random Numbers Perform the following tasks: 1. Create a vector V of random numbers of float with len…
1. FOR LOOP Perform the following tasks: 1. Find the sum of all even numbers in the Vector V (passed a…