Concepts
Concepts
ii. R Constants: - Constants are those entities whose values aren't meant to
be changed anywhere throughout the code. In R, we can declare constants
using the <- symbol. There are 2 basic types of constants. These are
numeric constants and character constants.
a. Numeric Constants: All the numbers you will be using within a program
fall under this category. There are sub types like integer, double or
complex, which is checked using typeof() function.
b. Character Constants: These can be signified by means of either single
quotes (') or using double quotes (") as delimiters.
𝜋=πP.
satisfies