How to use subscript and subset of R language Vector
This article will explain in detail how to use the subscript and subset of R language vector. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
1. Positive integer subscript
First define an x, then for the vector x, followed by square brackets and subscripts to access the elements and subsets of the vector, such as:
Define an x:
X