自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(27)
  • 资源 (1)
  • 收藏
  • 关注

原创 Ubuntu 16.04 搭建Hadoop环境(to be continued)

reference:1.  Ubuntu上搭建Hadoop环境(单机模式+伪分布模式)2. Ubuntu11.10下安装Hadoop1.0.0(单机伪分布式)

2016-07-29 10:56:15 469

原创 《Javascript高级程序设计》读书笔记之——Prototype

0. 写在前面创建对象:var person = new Object();person.name = "Nicholas";person.age = 24;person.job = "Engineer";person.sayName = function(){ alert(this.name);};如果需要通过接口创建大量对象,那么会产生大量重复代码,工厂模式

2016-07-10 00:53:23 304

原创 《Javascript高级程序设计》读书笔记之——基本包装类型

基本包装类型:基本类型与引用类型之间不同,引用类型可以随时调用自己的方法,而基本类型重写了方法。Boolean类型:尽量不要使用该类型var falseObj = new Boolean(false);var result = falseObj && true;alert(result); //truevar falseValue = false;var res

2016-07-08 18:14:55 314

原创 CSS child selector

1. direct children ul > li {font-size: 14px;}2. first or last child th:first-child { border-top-left-radius: 13px;}th:last-child { border-top-right-radius: 13px;}tr:last-child td:first-c

2016-06-11 15:36:19 683

转载 The difference between JS and jQuery

See https://blog.udemy.com/jquery-vs-javascript/

2016-01-06 05:59:31 365

原创 jQuery Getting Started

"jQuery is a fast, small, and feature-rich JavaScript library."1.Google CDN2.jQuery Syntax$(document).ready(function(){ $("p").click(function(){ $(this).hide(); });});3.

2016-01-06 03:04:44 410

原创 Common JS Function

var myFunction = function (a, b) {return a * b}document.getElementById("demo").innerHTML = myFunction(4, 3);Reference: http://www.w3schools.com/js/js_function_definition.asp

2016-01-05 19:18:30 332

转载 Common JS String Methods

MethodDescriptioncharAt()Returns the character at the specified index (position)charCodeAt()Returns the Unicode of the character at the specified indexconcat()Joins two or mo

2015-12-15 03:27:37 377

原创 Common HTML events

Alertwindow.alert("Hello World!")

2015-12-14 21:44:53 340

转载 Difference between <b> and <strong>

Think of three different situations:web browsersblind peoplemobile phones"Bold" is a style - when you say "bold a word", people basically know that it means to add more, let's say "ink" around

2015-12-08 03:55:46 459

转载 Numerical Measures in R

basic culculation(mean,median,quantile, variance, standard deviation, covariance, correlation coefficient, central moment, skewness, kurtosis)

2015-12-02 23:40:52 419

转载 Basic knowledge of HTML

1. Basic knowledge of HTMLEvery code of web includes a solid structure. Head, body are include in a html. In the content, one could add up title, headings and paragraphs.

2015-12-02 21:32:24 324

转载 Clear Screen and remove objects in RStudio

Clear screen: Ctrl + LRemove an object: rm(foo)Remove all objects: rm(list = ls())Quote from: http://blog.sciencenet.cn/blog-611051-552932.html

2015-12-02 21:28:55 421

原创 Nearest Neighbour in R

Package in use: "spatstat"Data: > title <- c("Name", "X", "Y", "Surface", "Date", "Temprature")> GWT <- read.csv2("E:\\Slides\\Geostatistics & Geomarketing(Nein)\\data\\Groundwater_Temperature.cs

2015-11-19 18:35:12 473

原创 Stem-and-Leaf Plot in R

Data set:faithful, 272*2, Waiting time between eruptions and the duration of the eruption for the Old Faithful geyser.> duration <- faithful$eruptions> duration [1] 3.600 1.800 3.333 2.283 4.

2015-11-04 23:25:43 1981

原创 Frequency Distribution

Data set: faithful, 272*2, Waiting time between eruptions and the duration of the eruption for the Old Faithful geyser.> head(faithful) eruptions waiting1 3.600 792 1.800 543

2015-11-03 16:12:42 1199

原创 tapply() Function in R

tapply() apply different functions on factor sliced rows.Firstly, loading a data set.> library(MASS)> head(painters) Composition Drawing Colour Expression SchoolDa Udine

2015-11-03 04:23:27 576

原创 R Global Option Settings

options(...)digits -- controls the number of digits when printing numeric values.> school.relfreqschool A B C D E F G 0.18518519 0.

2015-10-31 04:56:55 686

原创 R table()&cbind() Fuction

table() counts the different factor levels> library(MASS)> school <- painters$School> painters Composition Drawing Colour Expression SchoolDa Udine 10 8

2015-10-31 03:38:08 447

原创 Useful Hot Key in RStudio(Win 10)

Clear Screen:   Ctrl+LRun:   Ctrl + Enter

2015-10-29 17:05:21 891

原创 Data Slice in R

1. Data FrameA data frame is a combination of different vectors.> x = c(1, 2, 3)> y = c("a", "b", "c")> z = c(TRUE, FALSE, TRUE)> co = data.frame(x, y, z)2. Column SliceNumeric Indexing>

2015-10-29 16:15:22 623

原创 File Input and Output with R

data.frame function is similar like structure in C language, which can contain different types of data as a union, helping us to manage data more easily.1. Reading a column from a data frame.

2015-10-27 19:43:34 372

原创 Drawing function in R

R语言中有自带的几个绘图函数:contour()  to create a contour plotpersp() could draw a perspective plot of a surfaceimage() generate a heat mapThen I will show some demo here. "volcano"  is a data set 87*

2015-10-27 04:25:03 387

原创 R语言设置当前工作文件夹

getwd()这个函数用于显示当前工作空间的路径。setwd()用于重新设置当前工作文件夹。list.files()列出当前文件夹的子目录。list.files(path = "  .  ")列出指定路径的子目录。source("***.R")加载R文件> getwd()[1] "C:/Users/Cheryl/Documents"> list.

2015-10-26 16:41:36 4115

原创 R语言字母向量

The following constants are available:LETTERS: the 26 upper-case letters of the Roman alphabet;letters: the 26 lower-case letters of the Roman alphabet;month.abb: the three-letter abbrev

2015-10-25 06:27:32 8188 2

原创 R语言产生随机数

R语言中有4个产生随机数的函数:dunif: 指定随机数密度punif: 指定随机数的分布类型qunif: 指定quantile functionrunif:产生随机分布的散点如果需要指定随机数的类型,可用以下几个函数:round()ceiling()floor()as.integer()

2015-10-25 05:16:04 9969

原创 R语言的数据类型和数据结构

1. 把R语言操作界面修改为英文在中文环境中安装R语言编译器,安装语言选择为英文,但是安装好之后还是中文界面。手动修改语言的方法为:右键点击桌面上R的快捷方式,选择属性,目标栏,在“....Rgui.exe”后面添加 language=English,界面即可修改为英文。2.R语言的基本数据类型numeric: complexlogical character

2015-10-24 17:47:37 2859

图书管理系统软件需求分析

本需求的编写是为了研究图书管理系统软件的开发途径和应用方法。同时它也是进行项目策划、概要设计和详细设计的基础,是维护人员进行内部维护,信息更新,验收和测试的依据。

2012-05-19

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除