How to look at the structure of the dataframe in R

str function gives the structure of dataframe with type of data for all variables and data sample also. Data type can be number, integer, char, factor etc.

str(my_data)


No comments:

Post a Comment

7 Stages of Machine Learning - Framework Introduction

Framework Introduction 7 Stages Introduction Stage 1: Problem Definition Stage 2: Data Collection Stage 3: Data Preparation Stage 4: Data Vi...