4  Lies

Table 4.1: Overview of Employee Details Including Personal and Professional Information
Personal Info
Professional Info
Employee Name Age (Years) Department Salary (USD)
John 25 HR 55000
Jane 30 Finance 70000
Mark 22 IT 48000
Emily 28 Marketing 60000

Use echo=TRUE in the code chunk option for showing the R code used to create output.

x <- seq(1:10)
y <- seq(1:10)
z <- x*y
print(z)
 [1]   1   4   9  16  25  36  49  64  81 100