↓ 跳过正文

Posts

2017

moji for Qiaoxin

··1 分钟
乔欣 表情包 You are the best! # we have no idea. # ヾ(≧ ▽ ≦)ゝ # (✿◕‿◕✿) #

Yukon River 2002 Data Analysis

··5 分钟
Map of Yukon River drainage # Sampling site: between the Dalton Highway Bridge and the USGS Stevens Village hydrological station ![map](image/Yukon/map of Yukon River.jpg) Daily Discharge and Sampling Date # ![daily discharge](image/Yukon/Daily discharge.jpg) Monthly integrated discharge # ![monthly discharge](image/Yukon/Monthly integrated.jpg)

birdwatching note 2017-04-02

··1 分钟
Time: 2017-04-02 9:34-11:10 Partners: Hui Lin, Shaowei Zhai, Song Yang. Location: Lion’s Den Gorge Nature Preserve. 511 High Bluff Dr, Grafton, WI 53201 Species: American Robin, American Tree Sparrow, Black-capped Chickadee, Canada Goose, Downy Woodpecker, Red-winged Blackbird

Learning ggmap

··1 分钟
This is a document for myself to review ggmap package, and how to get quick start. ggmap is powerful map plot package in R. Compared with maps package, plots exported from ggmaps are elegant. Two steps to plot a map: plot a map raster, decorate the base map with your own data. Step 1: download your base map # You need to know the location you will plot. Define location in two ways showing below:

Learning ggplot2

··2 分钟
本课程介绍三种R语言的绘图工具包:plot,qplot,ggplot。三种绘图包的能够和语法均不相同。 plot命令是R语言自带的绘图命令,绘图效果简单,适宜数据分析时绘图。 qplot命令是R语言初级绘图语言包,能够提供符合出版物标准的简单绘图。得到的图形大方美观。 Lesson: Regression Models Introduction # 制图:plot(jitter(child,4) ~ parent,galton) 建立回归函数:使用函数lm(linear model),例如: regrline <- lm(child~parent, galton) 建立回归函数之后,使用abline(add straight lines to a plot)函数将回归函数在图表中画出,例如 abline(regrline, lwd = 3, col = "red") #lwd = line width, col = line color 画出直线之后可以使用函数summary查看回归函数的各类参数包括残差, 系数,相关系数等等。 qplot # qplot is a basic function in ggplot2 package. It provides some basic plots (e.g. points, smooth, boxplot) for users to learn their database generally.

Learning R in Kaggle

··1 分钟
I’m learning data analysis and explore in R following the tutorial posted in Kaggle Here are some sentences I found it useful. train <- read.csv('../input/train.csv', stringsAsFactors = F) This is how to read csv files. Also, use read.delim(), read.delim2() to read txt file.read documentation stringAsFactors is a useful factor. Here we do not want to use the headers as factors. str(dataframe) use this to check data. Also if you use R Studio, use view(dataframe) to check data.

Hello, my new website icon

··1 分钟
I just doodle an icon for this personal website in this very interesting website. It is a combination my initials L and H. It is very easy to update your website icon by put the following HTML scripts between <head> and </head> tags in the default page (default.html) in the _layout folder. link href="data:image/x-icon;base64, AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAA AAAgAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAA/ 4QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAABEREREAAAAAEREREQAAAAARAAA AAAAAABEAAAAAAAAAEQEQABEQAAARARAAERAAABEBEAAREAAAEQEQ ABEQAAARARERERAAABEBEREREAAAEQEREREQAAARARAAERAAABEBE AAREAAAEQEQABEQAAARARAAERAAABEBEAAREADAPwAAwD8AAM//AADP/ wAAyccAAMnHAADJxwAAyccAAMgHAADIBwAAyAcAAMnHAADJxwAAyccAA MnHAADJxwAA" rel="icon" type="image/x-icon"/>

Farewell, Dr. Xu

··1 分钟
Farewell, Dr. Xu. It was a wonderful time to play basketball with you, talk with you, and do experiments with you. Hope you have a nice future after your career in UWM. 别君去兮何时还?且放白鹿青崖间,须行即骑访名山。

Treasure Discovery

··1 分钟
Today I am so happy that I led my team to find the Smarty candy first in Class Frshwtr 504. This is an impressive way to teach students how to use the software, how to convert different locations between coordinates. May be I can write a tutorial how to transfer the UTM coordinates to lat/lon, and how to transfer the polar coordinates to x-y coordinates. And also some steps to plot a vector picture.