Page 215 - Data Science class 11
P. 215
The following result is produced:
3. * Multiplication operator multiplies both vectors
Enter the following code snippet:
first <- c( 3,7.5,12)
second <- c(7, 4, 5)
print(first*second)
The following result is produced:
4. / Division operator divides the first vector with the second.
Example
Enter the following code snippet:
first <- c( 3,7.5,12)
second <- c(7, 7.5, 5)
print(first/second)
When we execute the above code, The following result is produced:
Programming with R 213

