Q8. Code chunk options
No warning argument
## Warning in log(-1): NaNs produced
## [1] NaN
warning=FALSE
## [1] NaN
The warning appeared before adding warning=FALSE. After
adding the option, the warning was hidden, but the result was still
NaN.
Q9. Code chunk options
No message argument
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
message=FALSE
The package messages appeared before adding
message=FALSE. After adding the option, the messages were
hidden.