How does R handle mathematical operations that involve both integers and decimals?

  • It does not allow operations between integers and decimals
  • It treats everything as characters
  • It treats everything as decimals
  • It treats everything as integers
If a mathematical operation in R involves both integers and decimals, R will treat everything as decimals (numeric). This is a concept known as type promotion.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *