R
来了月亮~
这个作者很懒,什么都没留下…
展开
-
Datacamp_Cleaning Data in R
我跳过了导入数据这一course,进入到了clean。 C1 Introduction and exploring raw data Explore raw data: class(),dim(),names(),str(),glimpse(),summary() look at your data:head/tail(data,n=) visualize your data:hist(),pl...原创 2020-03-02 15:02:40 · 406 阅读 · 0 评论 -
Datacamp_Introduction to Importing Data in R
哎呀偷懒了好几天,今天再努力努力通关course. C1 Importing data from flat files with utils With stringsAsFactors, you can tell R whether it should convert strings in the flat file to factors.默认为TRUE read.scv(“xx.csv”,s...原创 2020-02-29 20:56:29 · 281 阅读 · 0 评论 -
Datacamp_Introduction to the Tidyverse
1_Data wrangling gapminder:An excerpt of the data available at Gapminder.org. For each of 142 countries, the package provides values for life expectancy, GDP per capita, and population, every five yea...原创 2020-02-23 20:48:18 · 348 阅读 · 0 评论 -
Datacamp_Introduction to R
#2_vector # Poker and roulette winnings from Monday to Friday: poker_vector <- c(140, -50, 20, -120, 240) roulette_vector <- c(-24, -50, 100, -350, 10) days_vector <- c("Monday", "Tuesday", "...原创 2020-02-22 19:32:52 · 351 阅读 · 0 评论