官术网_书友最值得收藏!

Using base R for data manipulation and analysis

Base R provides some extremely helpful functions for day-to-day data analysis. Some such examples have been provided in this section, but are by no means exhaustive. Further details will be available in subsequent chapters, but the corresponding information is intended to provide a general overview of some of base R's capabilities. The structure of a DataFrame can be viewed using the str command.

You can view the structure of data.frame using the str command. This is often the first starting point (after reading a file if applicable) in order to see what your dataset looks like:

# View the structure of the state data.frame 
str(state) 

The output is as follows:

主站蜘蛛池模板: 玉溪市| 建平县| 江源县| 安阳市| 辉南县| 宝鸡市| 乐山市| 阳朔县| 通道| 筠连县| 抚松县| 鹤壁市| 长顺县| 马鞍山市| 鲜城| 响水县| 武山县| 泗阳县| 扎囊县| 凤城市| 上饶市| 永城市| 资阳市| 云龙县| 兰坪| 磐安县| 大英县| 西和县| 乌什县| 榆树市| 隆化县| 滨州市| 东乌珠穆沁旗| 潼关县| 新竹县| 通化县| 河西区| 乌鲁木齐县| 沙田区| 阳新县| 牙克石市|