...

/

Solution Review: Variables

Solution Review: Variables

In this review, we give a detailed analysis of the solution to this problem.

Solution: Use class() and typeof()

Press + to interact
R
testVariable <- 1.9
# getting high level data type with class() and low level data type with typeof
cat(class(testVariable), typeof(testVariable))

Explanation

The first task we were given ...