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…
POSIX DATE Perform the following tasks: 1. Convert the variable strings Y and X (passed as function a…
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…
Statistics Perform the following tasks: 1. Find the median of the vector V passed as function argumen…
Date and Time in R Perform the following tasks: 1. Create a string "25-12-2016" and convert…
Conversion of Variables Perform the following tasks: 1. Create a factor vector v1 using 10 random num…
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…