R Language View object type and length _r language view object type and length

Source: Internet
Author: User
Tags two factor

A. View type

1. Guess Trial and error

Is.fun form, return True or False


You can also judge the second level


2. Direct view

Class View the first level category, mode view the second level category, TypeOf view the third level category

GL Function, GL (2,5) generates two factor levels, each factor level repeats 5 times the factor

Two. View length

1. Overview of objects

Str,attributes, universal view function for all objects


2. Specialized functions

Vectors, factors: length, other object types can also be viewed


Matrices, data boxes: Nrow rows, ncol columns

Arrays: Dim dimensions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.