零基础掌握 R 语言

Size: px
Start display at page:

Download "零基础掌握 R 语言"

Transcription

1 零基础掌握 R 语言 pan junchang 2015 年 8 月 10 日 R 语言简介 R 初步印象 R 是由新西兰奥克兰大学的 Ross Ihaka 与 Robert Gentleman 共同开发的一个面向对象的编程语言, 因为两人的名字都是以 R 开头, 故命名 R 语言 R 语言的前身是 S 语言 ( 由 AT&T Bell 实验室的 Rick Becker, John Chambers,Allan Wilks 开发 ) 过去一直是数据分析领域里面的标准语言, 但是现在正在逐步被 R 语言替代.R 语言可以按照使用者的要求完成各种计算问题, 定义函数 绘制简单或复杂的图形, 甚至可以写自己的工具包 可以毫不夸张的说 它可以完成任何你能想到的计算问题 下面的这段代码可以画出一个漂亮的正太分布图. curve(dnorm, from = -5, to = 5, col = "slategray", lwd = 3, main = "Den sity of the standard normal distribution") text(-5, 0.3, expression(f(x) == frac(1, sigma ~~sqrt(2*pi)) ~~ e^{-frac((x - mu)^2, 2*sigma^ 2)}), adj = 0)

2 甚至可以绘制现代艺术图 par(mar = c(0, 0, 0, 0)) n = 76 set.seed(711) plot.new() size = c(replicate(n, 1/rbeta(2, 1.5, 4))) center = t(replicate(n, runif(2))) center = center[rep(1:n, each = 2), ] color = apply(replicate(2 * n, sample(c(0:9, LETTERS[1:6]), 8, replace = TRUE)), 2, function(x) sprintf("#%s", paste(x,collapse = ""))) points(center, cex = size, pch = rep(20:21, n), col = color)

3 代码来源 : 谢益辉 再看一个例子 数据 基金业绩排名 中是 581 家基金 年收入统计表, 现在希望从中挑选出连续 3 年排名前 25 名的基金 library(xlconnect) Loading required package: XLConnectJars XLConnect by Mirai Solutions GmbH [aut], Martin Studer [cre], The Apache Software Foundation [ctb, cph] (Apache POI, Apache Comm ons Codec), Stephen Colebourne [ctb, cph] (Joda-Time Java library) library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base':

4 intersect, setdiff, setequal, union mdt<-readworksheetfromfile("mydata/ 基金业绩排名.xlsx", sheet = "Wind 资讯 ",header=f,startrow=2,endcol=5) names(mdt)<-c("code"," 名称 ","y2014","y2013","y2012") tmp<-na.omit(mdt) tmp<-tbl_df(tmp) tmp%>%select(code, 名称 )->name k<-25 tmp%>%select(code,y2014)%>%arrange(desc(y2014))%>%head(.,k)->tmp1 tmp%>%select(code,y2013)%>%arrange(desc(y2013))%>%head(.,k)->tmp2 tmp%>%select(code,y2012)%>%arrange(desc(y2012))%>%head(.,k)->tmp3 inner_join(name,tmp1,by="code")%>%inner_join(.,tmp2,by="code")%>%inner_ join(., tmp3,by=" code") Source: local data frame [3 x 5] code 名称 y2014 y2013 y2012 (chr) (chr) (dbl) (dbl) (dbl) OF 兴全全球视野 OF 华安上证 180ETF OF 光大核心 目前由 R 核心开发小组 (R Development Core Team 以后用 R DCT 表示 ) 维护, 他们完全自愿 工作努力负责, 并将全球优秀的统计应用软件打包提供给我们 我们可以通过 R 计划的网站 ( 了解有关 R 的最新信息和使用说明, 得到最新版本的 R 软件和基于 R 的应用统计软件包. R 语言的特点与优势 R 软件是一个完全免费的统计软件. 一个开源软件项目, 得到了庞大用户社区的广泛采取. 站在巨人的肩膀上前进. R 是一个强大的脚本语言, 语言简练高效. R 能够很好的与 LaTex 文档发布系统整合在一起, 这意味着来自于 R 的统计输出和图形可以嵌入到可出版级的文档中. R 安装与工作环境 安装 单击下面的网址, 选择适合自己电脑系统的版本进行安装

5 为了提高易用性, 推荐安装 Rstudio, 打开下面的网址, 点击 IDE, 下载安装 RStudio Desktop. ( 工作环境 工作空间 (workspace) 就是当前的 R 工作环境, 存储用户定义的所有对象 函数 向量 变量 矩阵 数据框等等都是对象 当你保存 ( 工作空间 ) 时, 所有的对象都将被保存 1. 打开 R 主程序 控制台 (Console) 尝试输入如下代码 : demo(graphics) R 编辑器 点击菜单 文件 -- 新建程序脚本, 将上述代码拷贝到新建脚本文件中, 点击菜单 运行 2. 打开 Rstudio 脚本窗口 Console 窗口, 执行命令的地方 作图 帮助以及扩展包管理窗口 在 Consle 窗口中输入 : demo(graphics) 回车 在脚本窗口输入 : demo(graphics) 点击 run 在脚本窗口输入 : x<- 1:10 data(iris) 点击 run 3. 工作目录 R 读取文件和设置文件的默认目录 函数 功能

6 getwd() setwd() ls() save() load() rm() rm(list=ls()) q() 返回当前工作目录设置默认工作目录列出当前工作空间中的对象保存工作空间加载工作空间删除内存中的对象删除内存中所有的对象退出 注意 : 括号内路径需要用半角引号 4. 扩展包的安装与加载 安装 (a) 方法一, 在 Rstudio 右边中间位置点选 "Package", 点击 Install 就可以安装了 (b) 方法二, 直接在输入 "install.packages('packagename')" 来完成, 在安装过程中如果需要其它扩展报支持,R 会自动安装, 因此, 安装扩展包时, 最好连接网络 加载 load("packagename") 5. 帮助系统 help.start() help(matrix)?matrix??matrix example(sum) 练习 (1) 安装并加载 quantmod 包 ; (2) 安装并加载 xts 和 xtsextra 包

7 R 语言数据类型与识别 R 语言数据类型 Vectors A vector is a sequence of data elements of the same basic type. Members in a vector are officially called components. Nevertheless, we will just call them members in this site. v1<-c(2,3,4)#creat a vector"v1" containing three numeric values 2, 3 an d 5. v2<-c("true","true","false")#creat a vector"v2" contain character strin gs. v3<-c("aa", "bb", "cc", "dd", "ee") #Creat a vector"v3" contain charact er strings. Matrices All columns in a matrix must have the same mode (numeric, character, etc.) and the same length. we usually creat a matices like this mymatrix<-matix(vector,nrow=r,ncol=c,byrow=false,dimnames=list( char_vector_rownames, char_vector_colnames)) byrow=true indicates that the matrix should be filled by rows. byrow=false indicates that the matrix should be filled by columns (the default). dimnames provides optional labels for the columns and rows. For example cells <- c(1,26,24,68) rnames <- c("r1", "R2") cnames <- c("c1", "C2") mymatrix <- matrix(cells, nrow=2, ncol=2, byrow=true,dimnames=list(rnam es, cnames)) mymatrix C1 C2 R R Data Frames A data frame is more general than a matrix, in that different columns can have different modes (numeric, character, factor, etc.). One example of how to create a data frame is given below: a <- c(1,2,3,4) b <- c(2,4,6,8) levels <- factor(c("a","b","a","b"))

8 mydf<-data.frame(first=a,second=b,f=levels) mydf first second f A B A B Factors The factor stores the nominal values as a vector of integers in the range [ 1... k ] (where k is the number of unique values in the nominal variable), and an internal vector of character strings (the original values) mapped to these integers. For example gender <- c(rep("male",20), rep("female", 30)) gender <- factor(gender) This code generate a vector named "gender" with 20 "male" entries and 30 "female" entries gender [1] male male male male male male male male male male [11] male male male male male male male male male male [21] female female female female female female female female female female [31] female female female female female female female female female female [41] female female female female female female female female female female Levels: female male summary(gender) female male Numeric 数值型数据, 是实数 可以写成整数 (Integers), 小数 (Decimal Fractions), 或者科学技术 (Scientific Notation) Character 字符型数据

9 Dates 日期型数据 日期型数据统称以字符串的形式输入到 R 中, 然后通过 as.date(x,format) 函数进行转化为以数值形式存储的日期变量 符号 含义 %d 数字表示的日期 %m 月份 %y 年份 example dates <- c("02/27/92", "02/27/92", "01/14/92", "02/28/92", "02/01/92") dates<-as.date(dates, "%m/%d/%y") weekdays(dates) [1] " 星期四 " " 星期四 " " 星期二 " " 星期五 " " 星期六 " Sys.Date()-dates Time differences in days [1] list 列表变量 列表变量的元素可以是任何类型的数据 R 语言常见数据类型的识别和转化 查看数据类型 mode(x) class(x) 数据类型识别与转换 类型识别转化 character is.character() as.character() integer is.integer() as.integer() logical is.logical() as.logical() NA is.na() as.na() numeric is.numeric() as.numeric() 数据输入与输出数据 R 语言读取 txt 格式数据 数据输入

10 read.table(file = "filename.txt",header = TRUE,sep="",fill=T) example read.table(file="mydata/file1.txt") read.table(file="mydata/file1.txt",header=t) read.table(file="mydata/file2.txt",header=t,sep=",") read.table(file="mydata/file3.txt",header=t,sep=" ") read.table(file="mydata/file3.txt",header=t,sep=" ",fill=t) 同学可以思考下, 同样的数据为什么第 4 句读不出来, 而第 5 句能读出来? 数据输出 write.table(data,file='filename',col.names=f,sep='',quote = FALSE, append = FALSE, na = "NA") write.table(file1,file="mydata/file3.txt",col.names=f,sep=" ",quote=f) example data(iris) write.table(iris,file="mydata/file4.txt",row.names=f,sep=" ",quote=f) R 语言 csv 格式数据 数据输入 read.csv("filename.csv") example read.csv("mydata/file6.csv") x<-read.csv("mydata/file6.csv") 数据输出 write.csv(x, file = "foo.csv",row.names = FALSE) R 语言读取 excel 格式数据 数据输入 library(xlconnect) readworksheetfromfile("filename.xls", sheet = "sheet1",startrow = NULL, endrow = NULL, startcol = NULL, endcol = NULL) 请同学们修改命令中的参数, 练习读入 基金业绩排名.xlsx 数据输出 writeworksheettofile("mydata/file5.xlsx", iris, sheet = "sheet1",header =T)

11 R 语言读取 yahoo 网站证券交易数据 quantmod 包默认是访问 yahoo finance 的数据, 其中包括上证和深证的股票数据, 还有港股数据 上证代码是 ss, 深证代码是 sz, 港股代码是 hk library(quantmod) Loading required package: xts Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.date, as.date.numeric Attaching package: 'xts' The following objects are masked from 'package:dplyr': first, last Loading required package: TTR Version included new data defaults. See?getSymbols. setsymbollookup(wk=list(name=' sz',src='yahoo')) getsymbols("wk",from = " ") As of 0.4-0, 'getsymbols' uses env=parent.frame() and auto.assign=true by default. This behavior will be phased out in when the call will default to use auto.assign=false. getoption("getsymbols.env") and getoptions("getsymbols.auto.assign") are now checked for alternate defaults This message is shown once per session and may be disabled by setti ng options("getsymbols.warning4.0"=false). See?getSymbols for more de tails. Warning in download.file(paste(yahoo.url, "s=", Symbols.name, "&a=", from.m, : downloaded length 5261!= reported length 200 [1] "WK" chartseries(wk,theme='white')

12 addsma(n=10)

13 R 语言获取 wind 数据 library('windr') w.start() w.menu() w.wsd(" sz","sec_name,ipo_date,exch_city,open,high,low,close,volu me, dealnum"," "," ","fill=previous;priceadj=b") w.wss(' sz','sec_name,ipo_date,exch_city,mkt') 获取多只股票 ipo 日期和地点 code<-read.table(file="mydata/stockid.txt",header=f,sep=" ",fill=t) head(code) mdt<-data.frame(id=1, numobs=1)[10,5 ] for(i in 1:10){ tmp<-w.wss(code[i,2],'sec_name,ipo_date,exch_city,mkt')$data mdt<-rbind(mdt,tmp) } mdt transform(mdt,ipo_date=w.asdatetime(mdt$ipo_date,asdate=t)) 结构化网络数据抓取 library(xml) url<-" tables<-readhtmltable(url,stringsasfactors=f,header=t) tables[[6]] 数据整理了解数据常用 R 语言函数 : 函数 功能 head(x, n = 6L,...) 产看前 6 个数据 tail(x, n = 6L,...) 产看后 6 个数据 length(x) 产看一维向量元素的个数 dim(x) 产看二维向量维度 ncol(x) 返回二维向量 x 的列数 nrow(x) 返回二维向量 x 的行数 str(x) 返回对象 x 的结构 summary(x) 描述统计 sample() 随机抽样

14 Examples data(iris) head(iris) Sepal.Length Sepal.Width Petal.Length Petal.Width Species setosa setosa setosa setosa setosa setosa tail(iris) Sepal.Length Sepal.Width Petal.Length Petal.Width Species virginica virginica virginica virginica virginica virginica length(iris) [1] 5 dim(iris) [1] ncol(iris) [1] 5 nrow(iris) [1] 150 str(iris) 'data.frame': 150 obs. of 5 variables: $ Sepal.Length: num $ Sepal.Width : num $ Petal.Length: num $ Petal.Width : num $ Species : Factor w/ 3 levels "setosa","versicolor",..: summary(iris) Sepal.Length Sepal.Width Petal.Length Petal.Width Min. :4.300 Min. :2.000 Min. :1.000 Min. : st Qu.: st Qu.: st Qu.: st Qu.:0.300 Median :5.800 Median :3.000 Median :4.350 Median :1.300

15 Mean :5.843 Mean :3.057 Mean :3.758 Mean : rd Qu.: rd Qu.: rd Qu.: rd Qu.:1.800 Max. :7.900 Max. :4.400 Max. :6.900 Max. :2.500 Species setosa :50 versicolor:50 virginica :50 iris[sample(nrow(iris),10),] Sepal.Length Sepal.Width Petal.Length Petal.Width Species virginica versicolor setosa versicolor versicolor virginica setosa setosa virginica virginica sample(x,size) sample(1:100,10) [1] R 语言选取数据子集 向量元素 (vector) x[n] 返回向量 x 中第 n 个元素 ; 例如 : x<-c(8,7,6,5,4,3,2,1) x[2] [1] 7 x[c(2,4)] [1] 7 5 which 返回满足条件的元素所在位置. 例如 x<-c(8,7,6,5,4,3,2,1) which(x>5) [1] x[which(x>5)]

16 [1] 矩阵元素 (matrix) x.matr<-matrix(1:9,nrow=3) x.matr [,1] [,2] [,3] [1,] [2,] [3,] x.matr[2,1] [1] 2 x.matr[2,2] [1] 5 x.matr[2,] [1] x.matr[,2] [1] 列表元素 (list) a1<-"good morning!" a2<-c(1,2,3,4,5) a3<-matrix(1:9,nrow=3) mylist<-list(a1,a2,a3) mylist [[1]] [1] "good morning!" [[2]] [1] [[3]] [,1] [,2] [,3] [1,] [2,] [3,] mylist[[1]] [1] "good morning!" mylist[[2]]

17 [1] mylist[[3]] [,1] [,2] [,3] [1,] [2,] [3,] mylist[[3]][3,2] [1] 6 数据框元素 (data frame) x1<-seq(1,10) x2<-letters[1:10] y<-seq(2,20,by=2) mdt<-data.frame(x1,x2,y) mdt x1 x2 y 1 1 a b c d e f g h i j 20 mdt[,1] [1] mdt[1,] x1 x2 y 1 1 a 2 mdt['x1'] x

18 mdt$x1 [1] subset(mdt,select = c(2,3)) x2 y 1 a 2 2 b 4 3 c 6 4 d 8 5 e 10 6 f 12 7 g 14 8 h 16 9 i j 20 subset(mdt,select=c(2,3),x1>8) x2 y 9 i j 20 R 语言数据合并 函数 c() cbind() rbind() 功能 向量合并 列拼接 行拼接 merge(x,y,by=...,by.x=...,by.y=...) 横向合并两个数据框. Example a<-1:5 a [1] b<-6:10 b [1] c<-11:15 c [1]

19 ab<-c(a,b) ab [1] ab<-data.frame(a,b) ab a b ac<-data.frame(a,c) ac a c abc<-cbind(ab,ac) abc a b a c abc<-merge(ab,ac,by='a') abc a b c R 语言数据排序 mdt[order(mdt$varable,decreasing=t),] Example data("iris") head(iris)

20 Sepal.Length Sepal.Width Petal.Length Petal.Width Species setosa setosa setosa setosa setosa setosa iris[order(iris$sepal.length,decreasing = F)[1:10],] Sepal.Length Sepal.Width Petal.Length Petal.Width Species setosa setosa setosa setosa setosa setosa setosa setosa setosa setosa R 语言生成数据常用函数 seq(from,to,by/length) 生成等差序列向量 seq(from=1,to=10,by=2) [1] seq(from=1,to=10,length=5) [1] rep(x,times/each) 重复 x 中的元素 time 次或者每个元素 each 次 rep(1:3,times=2) [1] rep(1:3,each=2) [1] 生成零个观察值的数据框 mdt<-data.frame(age=numeric(0),gender=character(0),weight=numeric(0)) mdt [1] age gender weight <0 rows> (or 0-length row.names)

21 R 语言数据编辑 手动编辑 用 edit() 函数可以对数据进行手动编辑 Example a<-head(iris) edit(a) 数值变换 transform() 函数用于变化数据中的对象, 在数据框的数据结构中经常用到此函数 Example data("iris") a<-head(iris) a Sepal.Length Sepal.Width Petal.Length Petal.Width Species setosa setosa setosa setosa setosa setosa a<-transform(a,sepal.length=-sepal.length,sum=sepal.length+sepal.width) a Sepal.Length Sepal.Width Petal.Length Petal.Width Species sum setosa setosa setosa setosa setosa setosa 9.3 修改变量名称 names() 函数返回变量名称 Example names(a) [1] "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width" [5] "Species" "sum" names(a)<-letters[1:6] a

22 A B C D E F setosa setosa setosa setosa setosa setosa 9.3 names(a)<-paste("x",1:6,sep="") a x1 x2 x3 x4 x5 x setosa setosa setosa setosa setosa setosa 9.3 删除含有缺失值的行 na.omit() 将会删除数据中有缺失值的观测样本 ( 行 ) Example mt<-read.table(file="mydata/file3.txt",header=t,sep=" ",fill=t) mt X1 name age height 1 2 John Jack Mary DDD NA NA 5 6 Smith mt<-na.omit(mt) mt X1 name age height 1 2 John Jack Mary Smith 将数值型变量根据大小转化成因子变量 cut() 函数将数值变换成因子, 是生产因子的一种常用方法 函数形式为 : cut(x,breaks,include.lowest=f)

23 data(iris) a<-iris[1:50,] cut(a$sepal.length,breaks=4.2,to=5.9,length=5) [1] (5.05,5.42] (4.67,5.05] (4.67,5.05] (4.3,4.67] (4.67,5.05] [6] (5.05,5.42] (4.3,4.67] (4.67,5.05] (4.3,4.67] (4.67,5.05] [11] (5.05,5.42] (4.67,5.05] (4.67,5.05] (4.3,4.67] (5.42,5.8] [16] (5.42,5.8] (5.05,5.42] (5.05,5.42] (5.42,5.8] (5.05,5.42] [21] (5.05,5.42] (5.05,5.42] (4.3,4.67] (5.05,5.42] (4.67,5.05] [26] (4.67,5.05] (4.67,5.05] (5.05,5.42] (5.05,5.42] (4.67,5.05] [31] (4.67,5.05] (5.05,5.42] (5.05,5.42] (5.42,5.8] (4.67,5.05] [36] (4.67,5.05] (5.42,5.8] (4.67,5.05] (4.3,4.67] (5.05,5.42] [41] (4.67,5.05] (4.3,4.67] (4.3,4.67] (4.67,5.05] (5.05,5.42] [46] (4.67,5.05] (5.05,5.42] (4.3,4.67] (5.05,5.42] (4.67,5.05] Levels: (4.3,4.67] (4.67,5.05] (5.05,5.42] (5.42,5.8] b<-cut(a$sepal.length,breaks=4.2,to=5.9,length=5) b [1] (5.05,5.42] (4.67,5.05] (4.67,5.05] (4.3,4.67] (4.67,5.05] [6] (5.05,5.42] (4.3,4.67] (4.67,5.05] (4.3,4.67] (4.67,5.05] [11] (5.05,5.42] (4.67,5.05] (4.67,5.05] (4.3,4.67] (5.42,5.8] [16] (5.42,5.8] (5.05,5.42] (5.05,5.42] (5.42,5.8] (5.05,5.42] [21] (5.05,5.42] (5.05,5.42] (4.3,4.67] (5.05,5.42] (4.67,5.05] [26] (4.67,5.05] (4.67,5.05] (5.05,5.42] (5.05,5.42] (4.67,5.05] [31] (4.67,5.05] (5.05,5.42] (5.05,5.42] (5.42,5.8] (4.67,5.05] [36] (4.67,5.05] (5.42,5.8] (4.67,5.05] (4.3,4.67] (5.05,5.42] [41] (4.67,5.05] (4.3,4.67] (4.3,4.67] (4.67,5.05] (5.05,5.42] [46] (4.67,5.05] (5.05,5.42] (4.3,4.67] (5.05,5.42] (4.67,5.05] Levels: (4.3,4.67] (4.67,5.05] (5.05,5.42] (5.42,5.8] table(b) b (4.3,4.67] (4.67,5.05] (5.05,5.42] (5.42,5.8] b<-factor(b,labels=c(" 小 "," 中 "," 大 "," 特大 ")) table(b) b 小 中 大特大 R 语言常用数学运算 R 语言数值运算 功能 运算符号 加法 +

24 减法 - 乘法 除法 / 相除取整 %/% 乘幂 ^ R 语言逻辑运算 功能 判断是否相等 == 判断是否小于等于 <= 判断是否大于等于 >= 逻辑 与 运算符号 & 逻辑 非!= R 语言常用数学运算 功能 sum(x) cumsum(x) prod(x) cumprod(x) log(x) exp(x) Example1 运算符号 向量 x 之和 向量 x 累积和 向量的积 向量的累积积 计算向量 x 的自然对数 计算自然数的 x 次方 计算万科股票的收益率算术平均值和几何平均值 library(quantmod) setsymbollookup(wk=list(name=' sz',src='yahoo')) getsymbols("wk",from = " ") Warning in download.file(paste(yahoo.url, "s=", Symbols.name, "&a=", from.m, : downloaded length 5261!= reported length 200 [1] "WK" close<-wk[,6] ret<-dailyreturn(wk) n<-length(ret) arithemetic.average<-sum(ret)/n arithemetic.average [1]

25 gemetric.avgerage<-prod(ret+1)^(1/n)-1 gemetric.avgerage [1] Example2 计算累积日回报率 library(quantmod) setsymbollookup(wk=list(name=' sz',src='yahoo')) getsymbols("wk",from = " ") Warning in download.file(paste(yahoo.url, "s=", Symbols.name, "&a=", from.m, : downloaded length 5261!= reported length 200 [1] "WK" close<-wk[,6] ret<-dailyreturn(wk) cumret<-cumsum(ret) devi<-par(mfrow = c(2,1), mar = c(3, 3, 2, 1)) plot(ret,main = " 日回报率 ") plot(cumret,main=" 日累积回报率 ") par(devi)

26 R 语言常用统计函数 函数 描述 mean(x) 平均数 median(x) 中位数 sd(x) 标准差 var(x) 方差 quantile(x) 分位数 range(x) 求取值范围 max(x) 求最大值 min(x) 求最小值 R 语言高级技巧 R 语言的自编函数 R 语言中可以自己写函数, 来完成特定的任务 编写函数的一般语法 : function.name<-function(argument1,argument2,...){ statements return(object) } 各部分内容含义如下 : 项目 function.name argument statements return(object) Example1 含义所建函数的名称函数参数, 运算时参数数值将传递到函数内部参与运算函数体内部的运算过程最终输出的对象 编写一个计算圆面积的函数 myfunc1<-function(x){ res<-pi*x^2 return(res) } myfunc1(2) [1] Example2

27 计算资金流现值 mypvf<-function(cf,r){ n<-length(cf) tmp1<-1:n cf.pv<-cf/(1+r)^tmp1 pv<-sum(cf.pv) return(pv) } cf<-c(rep(10,4),110) r<-0.1 mypvf(cf,r) [1] 100 条件结构 if/else 语句 if (cond) expression 如果条件成立 (condition 为 True) 则执行表达式, 否则跳过 ; if (cond) expression1 else expression2 如果条件成立则执行表达式 1, 否则执行表达式 2 ifelse() 函数 ifelse(condition,expression1,expression2) 如果条件 condition 成立, 则执行表达式 1, 否则执行表达式 2 switch 语句 switch(expression,list) 如果 switch 等于列表分量名, 则返回分量对应的值 js1<-function(x,y,type){ switch(type, jia=x+y, jian=x-y, chu=x/y, cheng=x*y ) } js1(4,2,"jia") [1] 6

28 js1(4,2,"jian") [1] 2 js1(4,2,"cheng") [1] 8 js1(4,2,"chu") [1] 2 如果 switch 在 1 到 length(list) 之间, 最大返回列表相应位置的值 js2<-function(x,y,list){ switch(list, x+y, x-y, x*y, x/y ) } js2(4,2,1) [1] 6 js2(4,2,2) [1] 2 js2(4,2,3) [1] 8 js2(4,2,4) [1] 2 循环结构 for 语句 for( 循环变量 in expression1){ expression2 } expression1 是一个向量表达式, 比如 1:5,2:15,expression2 通常是一组表达式 表示循环重复执行 expression2, 直到循环变量的值不再包含在 expression1( 序列 ) 里为止 Example n<-0 for(i in 1:100){

29 } n n<-n+i [1] 5050 while 语句 while (condition) expression 当条件 (condition) 成立时, 执行 expression, 条件不满足时不执行 x<-0 while(x < 5) { x <- x+1 print(x) } [1] 1 [1] 2 [1] 3 [1] 4 [1] 5 x<-0 while(x < 5) {x <- x+1; if (x == 3) next; print(x);} [1] 1 [1] 2 [1] 4 [1] 5 repeat 语句 repeat{ expression... if(condition){ break } } 重复 expression 直到 break 语句 x<-0 repeat{ x<-x+1 print(x) if(x>5){ break } }

30 [1] 1 [1] 2 [1] 3 [1] 4 [1] 5 [1] 6 dplyr 工具包 dplyr 工具包是一个用 C++ 编写的工具包, 主要用于数据运算 其特点是速度快, 语法简洁 观测值筛选 ( 筛选行 ) 语法 : filter(mdt,condition1,condition2) Example library(dplyr) data("iris") mdt<-tbl_df(iris) mdt Source: local data frame [150 x 5] Sepal.Length Sepal.Width Petal.Length Petal.Width Species (dbl) (dbl) (dbl) (dbl) (fctr) setosa setosa setosa setosa setosa setosa setosa setosa setosa setosa filter(mdt,species=="setosa") Source: local data frame [50 x 5] Sepal.Length Sepal.Width Petal.Length Petal.Width Species (dbl) (dbl) (dbl) (dbl) (fctr) setosa setosa setosa

31 setosa setosa setosa setosa setosa setosa setosa filter(mdt,species=="setosa",petal.width==0.2) Source: local data frame [29 x 5] Sepal.Length Sepal.Width Petal.Length Petal.Width Species (dbl) (dbl) (dbl) (dbl) (fctr) setosa setosa setosa setosa setosa setosa setosa setosa setosa setosa 变量筛选 ( 筛选列 ) 语法 : select(data,columnname1,columnname2) Example library(dplyr) data("iris") mdt<-tbl_df(iris) mdt Source: local data frame [150 x 5] Sepal.Length Sepal.Width Petal.Length Petal.Width Species (dbl) (dbl) (dbl) (dbl) (fctr) setosa setosa setosa setosa setosa setosa setosa

32 setosa setosa setosa select(mdt,species,sepal.length) Source: local data frame [150 x 2] Species Sepal.Length (fctr) (dbl) 1 setosa setosa setosa setosa setosa setosa setosa setosa setosa setosa select(mdt,-sepal.length) Source: local data frame [150 x 4] Sepal.Width Petal.Length Petal.Width Species (dbl) (dbl) (dbl) (fctr) setosa setosa setosa setosa setosa setosa setosa setosa setosa setosa select(mdt,-sepal.length,-sepal.width) Source: local data frame [150 x 3] Petal.Length Petal.Width Species (dbl) (dbl) (fctr) setosa setosa setosa setosa setosa

33 setosa setosa setosa setosa setosa select(mdt,length=sepal.length,width=sepal.width) Source: local data frame [150 x 2] length width (dbl) (dbl) 数据排序 语法 : arrange(data,colunmname1,colunmname2) Example arrange(mdt,sepal.length) Source: local data frame [150 x 5] Sepal.Length Sepal.Width Petal.Length Petal.Width Species (dbl) (dbl) (dbl) (dbl) (fctr) setosa setosa setosa setosa setosa setosa setosa setosa setosa setosa arrange(mdt,desc(sepal.length),desc(sepal.width ))

34 Source: local data frame [150 x 5] Sepal.Length Sepal.Width Petal.Length Petal.Width Species (dbl) (dbl) (dbl) (dbl) (fctr) virginica virginica virginica virginica virginica virginica virginica virginica virginica virginica 数据拓展 语法 : mutate(data,newvariable=expression) Example mutate(mdt,ration=sepal.length/sepal.width) Source: local data frame [150 x 6] Sepal.Length Sepal.Width Petal.Length Petal.Width Species ratio n (dbl) (dbl) (dbl) (dbl) (fctr) (dbl) setosa setosa setosa setosa setosa setosa setosa setosa setosa setosa

35 生成新数据 语法 : transmute(data,expression) Example transmute(mdt,x1=sepal.length*sepal.width,x2=petal.length*petal.width) Source: local data frame [150 x 2] x1 x2 (dbl) (dbl) 数据分组 语法 : group_by(data,factornames) Example group_by(mdt,species) Source: local data frame [150 x 5] Groups: Species [3] Sepal.Length Sepal.Width Petal.Length Petal.Width Species (dbl) (dbl) (dbl) (dbl) (fctr) setosa setosa setosa setosa setosa setosa setosa setosa

36 setosa setosa 数据汇总计算 语法 : summarise(data,expression) Example summarise(mdt,total=sum(sepal.length,petal.length )) Source: local data frame [1 x 1] total (dbl) groupdt<-group_by(mdt,species) summarise(groupdt,total=sum(sepal.length,petal.length ),mean(sepal.leng th),mean(petal.length)) Source: local data frame [3 x 4] Species total mean(sepal.length) mean(petal.length) (fctr) (dbl) (dbl) (dbl) 1 setosa versicolor virginica 数据连接 语法 : left_join(x,y,by="") inner_join(x,y,by="") semi_join(x,y,by="")# 相当于根据 y 保留 x 中的数据 anti_join(x,y,by="")# 相当于根据 y 剔除 x 中的数据 Example mdt1<-read.table("mydata/inkfish1.txt",header = T) mdt2<-read.table("mydata/inkfish2.txt",header = T) dim(mdt1);dim(mdt2) [1] [1] head(mdt1);head(mdt2)

37 Sample GSI Sample YEAR MONTH Location Sex tail(mdt1);tail(mdt2) Sample GSI Sample YEAR MONTH Location Sex mdt_l<-left_join(mdt1,mdt2,by="sample") dim(mdt_l) [1] head(mdt_l) Sample GSI YEAR MONTH Location Sex NA NA NA NA mdt_i<-inner_join(mdt1,mdt2,by="sample") dim(mdt_i) [1]

38 head(mdt_i) Sample GSI YEAR MONTH Location Sex mdt_s<-semi_join(mdt1,mdt2,by="sample") dim(mdt_s) [1] head(mdt_s) Sample GSI mdt_a<-anti_join(mdt1,mdt2,by="sample") dim(mdt_a) [1] 1 2 head(mdt_a) Sample GSI 管道函数 %>% Example data(iris) iris %>% group_by(species) %>% summarise(sum(sepal.length),mean(sepal.l ength)) Source: local data frame [3 x 3] Species sum(sepal.length) mean(sepal.length) (fctr) (dbl) (dbl) 1 setosa versicolor virginica

39 R 语言绘图 plot() 函数 plot() 函数是 R 中创建图形的最基本的函数, 是泛函数 使用 plot() 时, 其绘图效果依赖于对象所属的类别 基本语法如下 : plot(x, y = NULL, type =, xlim =, ylim =,log = "", main =, sub =, xlab =, ylab =, axes = TRUE, frame.plot =, asp = NA,...) x,y:vector of coordinates type: 绘图类型 参数 p l b c o h s S n 参数 pch cex col main sub col.main cex.main xlab ylab xlim ylim asp axes=t/f 含义 Points, default lines Points with line connection Line connections without points Both overplotted Histogram like vertical lines Stair steps Stair steps, another style No plotting 功能绘制点图时所使用的符号类型绘图符号相对于默认值大小的倍数绘图颜色图形上方图形标题图形下方标题标题颜色标题字体大小 x 轴名称 y 轴名称 x 轴坐标范围 y 轴坐标范围坐标轴 y/x 比例绘制 / 不绘制坐标轴

40 plot.frame=t/f col.axis col.lab col.main cex.axis Example1 是否画框坐标刻度文字颜色坐标轴标签颜色标题颜色坐标轴刻度文字大小 data(cars) de<-par(col.axis="blue",col.main="red",cex.axis=0.9,tck=-0.05) plot(cars,type="o",main="cars",xlab="speed",ylab="stopping distance") par(de) Example2 x<-1:8 plot(x,col=x,pch=19,cex=5,main=" 颜色数值 ",xlab=" ",ylab=" ")

41 abline() 函数 为图形添加线条语法如下 : abline(a = NULL, b = NULL, h = NULL, v = NULL, reg = NULL, coef = NULL, untf = FALSE,...) 参数 功能 a, b the intercept and slope, single values. h v the y-value(s) for horizontal line(s). the x-value(s) for vertical line(s). Example1 plot(dnorm, from = -5, to = 5, col = "slategray", lwd = 3, main = "Dens ity of the standard normal distribution") abline(h=0.2) abline(v=0)

42 Example2 n<-100 x<-rnorm(n) y<-rnorm(n,x) plot(x,y, xlab="explanatory Variable", ylab="outcome Variable") abline(lm(y~x),col="red",lwd=2)

43 legend() 函数 在图形中包含多条线条时, 可以用图例加以区分 legend(location,title,...) 参数 location title x.intersp y.intersp pt.cex lty,lwd bty 功能 Example 参数制定图例的位置, 可以直接给定图例坐标 (x,y), 或者用 locator(1) 指定位置, 或者使用关键字 bottom,"bottomleft","left","top","topright","right","center", 如果使用关键字, 可以同时使用参数 inset= 指定图例向图形内侧移动的大小 ( 以绘图区域大小的分数表示 ) 图例字符串 图例和文字之间的距离 文字之间的行距 图例字体大小 图例线条形状和宽度 图例是否家边框 data(iris) plot(cars,type="o",main="cars",xlab="speed",ylab="stopping distance")

44 abline(lm(cars$dist~cars$speed),lwd=1.5,lty=1,col="red") legend("topleft",inset=0.05,c("linear regression","point sets"),lty=c(1, 1),col=c("red","black"),bty="n",pt.cex=0.8,y.intersp =0.9) 条形图 条形图用垂直或水平的条形来展现类别变量的频数语法 : barplot(height,horiz=,legend.text=,col=,main=,xlab=,ylab=,...) 参数 height horiz legend.text col main xlab ylab Example1 功能 向量或者矩阵 条形图是垂直还是水平 图例标签 图形颜色 标题 x 坐标名称 y 坐标名称 a<-seq(5,20,by=5) barplot(a,col=c("lightblue", "mistyrose", "lightcyan",

45 "lavender"),main="abc",xlab="123",legend.text = c("a", "B","C","D"), args.legend = list(x = "topleft",y.intersp=0.8)) - Example2 b<-matrix(1:9,3) barplot(b,main="abc",xlab="123",col=rainbow(3)) legend("topleft",inset=0.05,c("x","y","z"),pch=c(15,15,15),col=rainbow (3),bty="n",pt.cex=1.8,y.intersp =0.8)

46 饼图 饼图是应用非常广泛的统计图形之一 语法 : pie(x, labels = names(x), edges = 200, radius = 0.8,clockwise = FALSE, init.angle = NULL, col = NULL, main = NULL) 参数 参数 x labels clockwise 功能 为一个数值向量 为标签 画图的方向 init.angle 第一块饼图的起始位置, 可写 0 或 90 col main Example 颜色 标题 pie.sales <- c(0.12, 0.3, 0.26, 0.16, 0.04, 0.12) pie.col<- c("purple", "violetred1", "green3", "cornsilk", "cyan", "whit e")

47 pi.names<-c("a","b","c","d","e","f") pie(pie.sales, col = pie.col,labels=pi.names,main=" 饼图示例 ")

Microsoft Word - AEL CH12_彩色.doc

Microsoft Word - AEL CH12_彩色.doc L e s s o n R R Exploratory Data Analysis EDA R 12-1 Data Frame nrow() ncol() dim() > nrow(iris) # iris [1] 150 > ncol(iris) # iris [1] 5 > dim(iris) # iris [1] 150 5 nrow() number of rows ncol() number

More information

untitled

untitled Co-integration and VECM Yi-Nung Yang CYCU, Taiwan May, 2012 不 列 1 Learning objectives Integrated variables Co-integration Vector Error correction model (VECM) Engle-Granger 2-step co-integration test Johansen

More information

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D ( ) 4 1 1 1 145 1 110 1 (baking powder) 1 ( ) ( ) 1 10g 1 1 2.5g 1 1 1 1 60 10 (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal Design 1. 60 120 2. 3. 40 10

More information

WinMDI 28

WinMDI 28 WinMDI WinMDI 2 Region Gate Marker Quadrant Excel FACScan IBM-PC MO WinMDI WinMDI IBM-PC Dr. Joseph Trotter the Scripps Research Institute WinMDI HP PC WinMDI WinMDI PC MS WORD, PowerPoint, Excel, LOTUS

More information

Office: 1006 Phone:

Office: 1006 Phone: zwp@ustc.edu.cn Office: 1006 Phone: 63600565 http://staff.ustc.edu.cn/~zwp/ http://fisher.stat.ustc.edu.cn 1.2............... 2 1.3................... 6 1.3.1.............. 6 1.3.2......... 25 1.3.3...........

More information

Microsoft Word - p11.doc

Microsoft Word - p11.doc () 11-1 ()Classification Analysis( ) m() p.d.f prior (decision) (loss function) Bayes Risk for any decision d( ) posterior risk posterior risk Posterior prob. j (uniform prior) where Mahalanobis Distance(M-distance)

More information

Microsoft PowerPoint - ch6 [相容模式]

Microsoft PowerPoint - ch6 [相容模式] UiBinder wzyang@asia.edu.tw UiBinder Java GWT UiBinder XML UI i18n (widget) 1 2 UiBinder HelloWidget.ui.xml: UI HelloWidgetBinder HelloWidget.java XML UI Owner class ( Composite ) UI XML UiBinder: Owner

More information

Microsoft Word - AEL CH10-C_Final.doc

Microsoft Word - AEL CH10-C_Final.doc Chapter The simple graph has brought more information to the data analyst s mind than any other device. John Tukey Exploratory Data Analysis EDA Extract Transformation Load Part 3 10-1 Python R matplotlib

More information

C++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 5 月 3 日 1

C++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 5 月 3 日 1 C++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 月 3 日 1 1 INPUTOUTPUT 1 InputOutput 题目描述 用 cin 输入你的姓名 ( 没有空格 ) 和年龄 ( 整数 ), 并用 cout 输出 输入输出符合以下范例 输入 master 999 输出 I am master, 999 years old. 注意 "," 后面有一个空格,"." 结束,

More information

C/C++ - 字符输入输出和字符确认

C/C++ - 字符输入输出和字符确认 C/C++ Table of contents 1. 2. getchar() putchar() 3. (Buffer) 4. 5. 6. 7. 8. 1 2 3 1 // pseudo code 2 read a character 3 while there is more input 4 increment character count 5 if a line has been read,

More information

穨control.PDF

穨control.PDF TCP congestion control yhmiu Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582 TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe

More information

Microsoft Word - 第3章.doc

Microsoft Word - 第3章.doc Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck

More information

coverage2.ppt

coverage2.ppt Satellite Tool Kit STK/Coverage STK 82 0715 010-68745117 1 Coverage Definition Figure of Merit 2 STK Basic Grid Assets Interval Description 3 Grid Global Latitude Bounds Longitude Lines Custom Regions

More information

Microsoft PowerPoint _代工實例-1

Microsoft PowerPoint _代工實例-1 4302 動態光散射儀 (Dynamic Light Scattering) 代工實例與結果解析 生醫暨非破壞性分析團隊 2016.10 updated Which Size to Measure? Diameter Many techniques make the useful and convenient assumption that every particle is a sphere. The

More information

WWW PHP Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2

WWW PHP Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2 WWW PHP 2003 1 Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2 Comments PHP Shell Style: # C++ Style: // C Style: /* */ $value = $p * exp($r * $t); # $value

More information

C/C++语言 - 运算符、表达式和语句

C/C++语言 - 运算符、表达式和语句 C/C++ Table of contents 1. 2. 3. 4. C C++ 5. 6. 7. 1 i // shoe1.c: # include # define ADJUST 7. 64 # define SCALE 0. 325 int main ( void ) { double shoe, foot ; shoe = 9. 0; foot = SCALE * shoe

More information

( )

( ) Secondary School Physical Fitness Award Scheme Student s Handbook Jointly Organized By Hong Kong Childhealth Foundation Education Department ( ) Secondary School Physical Fitness Award Scheme Student s

More information

C/C++程序设计 - 字符串与格式化输入/输出

C/C++程序设计 - 字符串与格式化输入/输出 C/C++ / Table of contents 1. 2. 3. 4. 1 i # include # include // density of human body : 1. 04 e3 kg / m ^3 # define DENSITY 1. 04 e3 int main ( void ) { float weight, volume ; int

More information

Windows XP

Windows XP Windows XP What is Windows XP Windows is an Operating System An Operating System is the program that controls the hardware of your computer, and gives you an interface that allows you and other programs

More information

C/C++ - 函数

C/C++ - 函数 C/C++ Table of contents 1. 2. 3. & 4. 5. 1 2 3 # include # define SIZE 50 int main ( void ) { float list [ SIZE ]; readlist (list, SIZE ); sort (list, SIZE ); average (list, SIZE ); bargragh

More information

Cube20S small, speedy, safe Eextremely modular Up to 64 modules per bus node Quick reaction time: up to 20 µs Cube20S A new Member of the Cube Family

Cube20S small, speedy, safe Eextremely modular Up to 64 modules per bus node Quick reaction time: up to 20 µs Cube20S A new Member of the Cube Family small, speedy, safe Eextremely modular Up to 64 modules per bus de Quick reaction time: up to 20 µs A new Member of the Cube Family Murrelektronik s modular I/O system expands the field-tested Cube family

More information

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d WeChat Search Visual Identity Guidelines WEDESIGN 2018. 04 Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies

More information

untitled

untitled SPSS 1-1 1-2 SPSS 1-3 1-4 1-5 1-1 1. (independent variable) 2. (dependent variable) (response) 3. (case) 4. (population) 5. (sample) 6. (data) 7. (level) 8. (covariate) 9. (missing data) 2 SPSS 01 1-2

More information

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10 Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10 Ác Åé å Serial ATA ( Silicon Image SiI3114) S A T A (1) SATA (2)

More information

ENGG1410-F Tutorial 6

ENGG1410-F Tutorial 6 Jianwen Zhao Department of Computer Science and Engineering The Chinese University of Hong Kong 1/16 Problem 1. Matrix Diagonalization Diagonalize the following matrix: A = [ ] 1 2 4 3 2/16 Solution The

More information

2015年4月11日雅思阅读预测机经(新东方版)

2015年4月11日雅思阅读预测机经(新东方版) 剑 桥 雅 思 10 第 一 时 间 解 析 阅 读 部 分 1 剑 桥 雅 思 10 整 体 内 容 统 计 2 剑 桥 雅 思 10 话 题 类 型 从 以 上 统 计 可 以 看 出, 雅 思 阅 读 的 考 试 话 题 一 直 广 泛 多 样 而 题 型 则 稳 中 有 变 以 剑 桥 10 的 test 4 为 例 出 现 的 三 篇 文 章 分 别 是 自 然 类, 心 理 研 究 类,

More information

p.2 1 <HTML> 2 3 <HEAD> 4 <TITLE> </TITLE> 5 </HEAD> 6 7 <BODY> 8 <H3><B> </B></H3> 9 <H4><I> </I></H4> 10 </BODY> </HTML> 1. HTML 1. 2.

p.2 1 <HTML> 2 3 <HEAD> 4 <TITLE> </TITLE> 5 </HEAD> 6 7 <BODY> 8 <H3><B> </B></H3> 9 <H4><I> </I></H4> 10 </BODY> </HTML> 1. HTML 1. 2. 2005-06 p.1 HTML HyperText Mark-up Language 1. HTML Logo, Pascal, C++, Java HTML 2. HTML (tag) 3. HTML 4. HTML 1. HTML 2. 3. FTP HTML HTML html 1. html html html cutehtmleasyhtml 2. wyswyg (What you see

More information

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2

More information

Computer Architecture

Computer Architecture ECE 3120 Computer Systems Assembly Programming Manjeera Jeedigunta http://blogs.cae.tntech.edu/msjeedigun21 Email: msjeedigun21@tntech.edu Tel: 931-372-6181, Prescott Hall 120 Prev: Basic computer concepts

More information

( Version 0.4 ) 1

( Version 0.4 ) 1 ( Version 0.4 ) 1 3 3.... 3 3 5.... 9 10 12 Entities-Relationship Model. 13 14 15.. 17 2 ( ) version 0.3 Int TextVarchar byte byte byte 3 Id Int 20 Name Surname Varchar 20 Forename Varchar 20 Alternate

More information

科学计算的语言-FORTRAN95

科学计算的语言-FORTRAN95 科 学 计 算 的 语 言 -FORTRAN95 目 录 第 一 篇 闲 话 第 1 章 目 的 是 计 算 第 2 章 FORTRAN95 如 何 描 述 计 算 第 3 章 FORTRAN 的 编 译 系 统 第 二 篇 计 算 的 叙 述 第 4 章 FORTRAN95 语 言 的 形 貌 第 5 章 准 备 数 据 第 6 章 构 造 数 据 第 7 章 声 明 数 据 第 8 章 构 造

More information

建築工程品質管理案例研討

建築工程品質管理案例研討 1.1...2-1 1.2...2-2 1.3...2-2 2.1...2-3 2.2...2-3 2.3...2-8 3.1...2-11 3.2...2-12 3.3...2-15 3.4...2-16 3.5...2-17 4.1...2-19 4.2...2-19 4.3...2-22 4.4...2-24 4.5...2-26 4.6...2-28 5.1...2-29 5.2...2-32

More information

IBM Rational ClearQuest Client for Eclipse 1/ IBM Rational ClearQuest Client for Ecl

IBM Rational ClearQuest Client for Eclipse   1/ IBM Rational ClearQuest Client for Ecl 1/39 Balaji Krish,, IBM Nam LeIBM 2005 4 15 IBM Rational ClearQuest ClearQuest Eclipse Rational ClearQuest / Eclipse Clien Rational ClearQuest Rational ClearQuest Windows Web Rational ClearQuest Client

More information

高中英文科教師甄試心得

高中英文科教師甄試心得 高 中 英 文 科 教 師 甄 試 心 得 英 語 學 系 碩 士 班 林 俊 呈 高 雄 市 立 高 雄 高 級 中 學 今 年 第 一 次 參 加 教 師 甄 試, 能 夠 在 尚 未 服 兵 役 前 便 考 上 高 雄 市 立 高 雄 高 級 中 學 專 任 教 師, 自 己 覺 得 很 意 外, 也 很 幸 運 考 上 後 不 久 在 與 雄 中 校 長 的 會 談 中, 校 長 的 一 句

More information

Sea of Japan Hokkaido Okhotsk Sea Study area Number of fish released (thousand) 120,000 100,000 80,000 60,000 40,000 20,000 0 1991 1993 1995 1997 1999 2001 Year Fish released in rivers Fish released from

More information

第1章 簡介

第1章 簡介 EAN.UCCThe Global Language of Business 4 512345 678906 > 0 12345 67890 5 < > 1 89 31234 56789 4 ( 01) 04601234567893 EAN/UCC-14: 15412150000151 EAN/UCC-13: 5412150000161 EAN/UCC-14: 25412150000158 EAN/UCC-13:

More information

ebook111-4

ebook111-4 Flash 4 Flash 4 F l a s h 5 Flash 4 Flash Flash 4 Flash 4 Flash 4 4.1 Flash 4 Flash 4 Flash 4 Flash Flash 4 Flash 4 4.2 Flash 4 Flash 4 A Flash 4 S h i f t F i l e P r e f e r e n c e s > > Flash 4 Flash

More information

OncidiumGower Ramsey ) 2 1(CK1) 2(CK2) 1(T1) 2(T2) ( ) CK1 43 (A 44.2 ) CK2 66 (A 48.5 ) T1 40 (

OncidiumGower Ramsey ) 2 1(CK1) 2(CK2) 1(T1) 2(T2) ( ) CK1 43 (A 44.2 ) CK2 66 (A 48.5 ) T1 40 ( 35 1 2006 48 35-46 OncidiumGower Ramsey ) 2 1(CK1) 2(CK2) 1(T1) 2(T2) (93 5 28 95 1 9 ) 94 1-2 5-6 8-10 94 7 CK1 43 (A 44.2 ) CK2 66 (A 48.5 ) T1 40 (A 47.5 ) T2 73 (A 46.6 ) 3 CK2 T1 T2 CK1 2006 8 16

More information

ezdf

ezdf Easy Data.Frame Huashan Chen 2015 年 12 月 19 日 一 Easy Data.Frame 2 二 标签的存储 3 2.1 变量标签 3 2.2 数值标签 4 三 制表函数 5 3.1 tbl() 5 3.2 ctbl() 6 3.3 ftable() 17 四 选项 19 1 第一章 Easy Data.Frame ezdf 的目的是使 R 支持类似 SPSS

More information

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl SKLOIS (Pseudo) Preimage Attack on Reduced-Round Grøstl Hash Function and Others Shuang Wu, Dengguo Feng, Wenling Wu, Jian Guo, Le Dong, Jian Zou March 20, 2012 Institute. of Software, Chinese Academy

More information

K301Q-D VRT中英文说明书141009

K301Q-D VRT中英文说明书141009 THE INSTALLING INSTRUCTION FOR CONCEALED TANK Important instuction:.. Please confirm the structure and shape before installing the toilet bowl. Meanwhile measure the exact size H between outfall and infall

More information

240 生 异 性 相 吸 的 异 性 效 应 [6] 虽 然, 心 理 学 基 础 研 [7-8] 究 已 经 证 实 存 在 异 性 相 吸 异 性 相 吸 是 否 存 在 于 名 字 认 知 识 别 尚 无 报 道 本 实 验 选 取 不 同 性 别 的 名 字 作 为 刺 激 材 料, 通

240 生 异 性 相 吸 的 异 性 效 应 [6] 虽 然, 心 理 学 基 础 研 [7-8] 究 已 经 证 实 存 在 异 性 相 吸 异 性 相 吸 是 否 存 在 于 名 字 认 知 识 别 尚 无 报 道 本 实 验 选 取 不 同 性 别 的 名 字 作 为 刺 激 材 料, 通 2011 年 Journal of Capital Medical University 4月 第2 期 Apr 2011 Vol 32 No 2 基础研究 doi: 10 3969 / j issn 1006-7795 2011 02 015 人脑识别不同性别名字反应时的差异研究 高迎霄 陈昭燃 * 张明霞 ( 首都医科大学神经生物系高级脑功能中心) 摘要 目的 探讨男女对不同性别名字认知加工速度是否存在差异

More information

Microsoft PowerPoint _cp09_繪圖功能與文字.pptx

Microsoft PowerPoint _cp09_繪圖功能與文字.pptx 105-2: EE4052 計算機程式設計 Computer Programming 連豊力 臺大電機系 Feb 2017 - Jun 2017 課程主題進度 2 Unit 09: 繪圖功能與文字 一張圖的長寬或大小, 主標題, 軸標題, 字體等特性的設定 數據點的顏色要有變化 數據點的形式要有變化 數據加上不同註解 3 大綱 繪圖視窗之設定 常用的圖形參數 座標軸及邊界 加入文字 多張圖形 多張圖形之位置安排

More information

AL-M200 Series

AL-M200 Series NPD4754-00 TC ( ) Windows 7 1. [Start ( )] [Control Panel ()] [Network and Internet ( )] 2. [Network and Sharing Center ( )] 3. [Change adapter settings ( )] 4. 3 Windows XP 1. [Start ( )] [Control Panel

More information

Chapter 24 DC Battery Sizing

Chapter 24  DC Battery Sizing 26 (Battery Sizing & Discharge Analysis) - 1. 2. 3. ETAP PowerStation IEEE 485 26-1 ETAP PowerStation 4.7 IEEE 485 ETAP PowerStation 26-2 ETAP PowerStation 4.7 26.1 (Study Toolbar) / (Run Battery Sizing

More information

热设计网

热设计网 例 例 Agenda Popular Simulation software in PC industry * CFD software -- Flotherm * Advantage of Flotherm Flotherm apply to Cooler design * How to build up the model * Optimal parameter in cooler design

More information

untitled

untitled 2006 6 Geoframe Geoframe 4.0.3 Geoframe 1.2 1 Project Manager Project Management Create a new project Create a new project ( ) OK storage setting OK (Create charisma project extension) NO OK 2 Edit project

More information

四川省普通高等学校

四川省普通高等学校 四 川 省 普 通 高 等 学 校 计 算 机 应 用 知 识 和 能 力 等 级 考 试 考 试 大 纲 (2013 年 试 行 版 ) 四 川 省 教 育 厅 计 算 机 等 级 考 试 中 心 2013 年 1 月 目 录 一 级 考 试 大 纲 1 二 级 考 试 大 纲 6 程 序 设 计 公 共 基 础 知 识 6 BASIC 语 言 程 序 设 计 (Visual Basic) 9

More information

Microsoft PowerPoint - STU_EC_Ch08.ppt

Microsoft PowerPoint - STU_EC_Ch08.ppt 樹德科技大學資訊工程系 Chapter 8: Counters Shi-Huang Chen Fall 2010 1 Outline Asynchronous Counter Operation Synchronous Counter Operation Up/Down Synchronous Counters Design of Synchronous Counters Cascaded Counters

More information

穨matlab教學範例ccc.doc

穨matlab教學範例ccc.doc MATLAB ( Math Dept. of University of New Hampshire) ( ) 1. Tutorial on vectors 2. Tutorial on matrices 3. Tutorial on vector operations 4. Tutorial on loops 5. Tutorial on plots 6. Tutorial on executable

More information

epub83-1

epub83-1 C++Builder 1 C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r 1.1 1.1.1 1-1 1. 1-1 1 2. 1-1 2 A c c e s s P a r a d o x Visual FoxPro 3. / C / S 2 C + + B u i l d e r / C

More information

R 软件介绍 (3): R编程基础

R 软件介绍 (3): R编程基础 R 软件介绍 (3):R 编程基础 1 / 33 Outline 1 简介 2 选择分支 3 循环 4 编写函数 2 / 33 简介 1 简介 2 选择分支 3 循环 4 编写函数 3 / 33 简介 R 编程的目的 1 使代码更简洁 2 使代码更稳健 3 使代码运行更快 4 / 33 简介基本概念 1 成组表达式 (Grouped expressions) 1 命令可以用大括弧圈在一起 expr

More information

Microsoft Word - Datastream5.1_使用說明201110

Microsoft Word - Datastream5.1_使用說明201110 Datastream 5.1 操 作 手 冊 政 大 圖 書 館 商 圖 分 館 編 製 2011.10 版 權 屬 於 國 立 政 治 大 學 圖 書 館. 請 勿 侵 權 1 目 錄 前 言 -------------------------------------------------------------2 第 壹 章 Datastream advanced -----------------------------------2

More information

GCSE Mathematics Question Paper Unit 2 March 2012

GCSE Mathematics Question Paper Unit 2 March 2012 Centre Number Surname Candidate Number For Examiner s Use Other Names Candidate Signature Examiner s Initials General Certificate of Secondary Education Higher Tier March 2012 Pages 2 3 4 5 Mark Mathematics

More information

Epson

Epson WH / MS CMP0087-00 TC WH/MS EPSON EPSON EXCEED YOUR VISION EXCEED YOUR VISION Seiko Corporation Microsoft and Windows are registered trademarks of Microsoft Corporation. Mac and Mac OS are registered trademarks

More information

「人名權威檔」資料庫欄位建置表

「人名權威檔」資料庫欄位建置表 ( version 0.2) 1 3 3 3 3 5 6 9.... 11 Entities - Relationship Model..... 12 13 14 16 2 ( ) Int Varchar Text byte byte byte Id Int 20 Name Surname Varchar 20 Forename Varchar 20 Alternate Type Varchar 10

More information

untitled

untitled 數 Quadratic Equations 數 Contents 錄 : Quadratic Equations Distinction between identities and equations. Linear equation in one unknown 3 ways to solve quadratic equations 3 Equations transformed to quadratic

More information

BC04 Module_antenna__ doc

BC04 Module_antenna__ doc http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 1 of 10 http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 2 of 10 http://www.infobluetooth.com TEL:+86-23-68798999

More information

. (A) (B) (C) A (D) (E). (A)(B)(C)(D)(E) A

. (A) (B) (C) A (D) (E). (A)(B)(C)(D)(E) A . () () () () () (A) (B) (C) B (D) (E). (A) (B) (C) E (D) (E) (A) (B) (C) (D). () () () () E (A) (B) (C) (D) (E). C (A) (B) (C) (D) (E). (A) (B) (C) (D) D (E). () - () - () - () - () - D (A) (B) (C) (D)

More information

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

6-7 6-8 6-9 Process Data flow Data store External entity 6-10 Context diagram Level 0 diagram Level 1 diagram Level 2 diagram 6-11 6-12

6-7 6-8 6-9 Process Data flow Data store External entity 6-10 Context diagram Level 0 diagram Level 1 diagram Level 2 diagram 6-11 6-12 6-1 6-2 6-3 6-4 6-5 6-6 6-7 6-8 6-9 Process Data flow Data store External entity 6-10 Context diagram Level 0 diagram Level 1 diagram Level 2 diagram 6-11 6-12 6-13 6-14 6-15 6-16 6-17 6-18 6-19 6-20 6-21

More information

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish 我 难 度 : 高 级 对 们 现 不 在 知 仍 道 有 听 影 过 响 多 少 那 次 么 : 研 英 究 过 文 论 去 写 文 时 作 的 表 技 引 示 巧 言 事 : 部 情 引 分 发 言 该 生 使 在 中 用 过 去, 而 现 在 完 成 时 仅 表 示 事 情 发 生 在 过 去, 并 的 哪 现 种 在 时 完 态 成 呢 时? 和 难 过 道 去 不 时 相 关? 是 所 有

More information

Microsoft Word - template.doc

Microsoft Word - template.doc HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started

More information

A dissertation for Master s degree Metro Indoor Coverage Systems Analysis And Design Author s Name: Sheng Hailiang speciality: Supervisor:Prof.Li Hui,

A dissertation for Master s degree Metro Indoor Coverage Systems Analysis And Design Author s Name: Sheng Hailiang speciality: Supervisor:Prof.Li Hui, 中 国 科 学 技 术 大 学 工 程 硕 士 学 位 论 文 地 铁 内 移 动 通 信 室 内 覆 盖 分 析 及 应 用 作 者 姓 名 : 学 科 专 业 : 盛 海 亮 电 子 与 通 信 导 师 姓 名 : 李 辉 副 教 授 赵 红 媛 高 工 完 成 时 间 : 二 八 年 三 月 十 日 University of Science and Technology of Ch A dissertation

More information

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Terminal Mode No User User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Mon1 Cam-- Mon- Cam-- Prohibited M04 Mon1 Cam03 Mon1 Cam03

More information

C/C++ - 文件IO

C/C++ - 文件IO C/C++ IO Table of contents 1. 2. 3. 4. 1 C ASCII ASCII ASCII 2 10000 00100111 00010000 31H, 30H, 30H, 30H, 30H 1, 0, 0, 0, 0 ASCII 3 4 5 UNIX ANSI C 5 FILE FILE 6 stdio.h typedef struct { int level ;

More information

Kubenetes 系列列公开课 2 每周四晚 8 点档 1. Kubernetes 初探 2. 上 手 Kubernetes 3. Kubernetes 的资源调度 4. Kubernetes 的运 行行时 5. Kubernetes 的 网络管理理 6. Kubernetes 的存储管理理 7.

Kubenetes 系列列公开课 2 每周四晚 8 点档 1. Kubernetes 初探 2. 上 手 Kubernetes 3. Kubernetes 的资源调度 4. Kubernetes 的运 行行时 5. Kubernetes 的 网络管理理 6. Kubernetes 的存储管理理 7. Kubernetes 包管理理 工具 Helm 蔺礼强 Kubenetes 系列列公开课 2 每周四晚 8 点档 1. Kubernetes 初探 2. 上 手 Kubernetes 3. Kubernetes 的资源调度 4. Kubernetes 的运 行行时 5. Kubernetes 的 网络管理理 6. Kubernetes 的存储管理理 7. Kubernetes

More information

R 软件介绍 (3): R编程基础

R 软件介绍 (3): R编程基础 R 软件介绍 (3):R 编程基础 jinlin@zueleducn 2017 年秋金林 ( 中南财经政法大学统计系 ) R 软件介绍 (3):R 编程基础 2017 年秋 1 / 33 Outline 1 简介 2 选择分支 3 循环 4 编写函数金林 ( 中南财经政法大学统计系 ) R 软件介绍 (3):R 编程基础 2017 年秋 2 / 33 简介 1 简介 2 选择分支 3 循环 4 编写函数金林

More information

Microsoft PowerPoint - CH 04 Techniques of Circuit Analysis

Microsoft PowerPoint - CH 04 Techniques of Circuit Analysis Chap. 4 Techniques of Circuit Analysis Contents 4.1 Terminology 4.2 Introduction to the Node-Voltage Method 4.3 The Node-Voltage Method and Dependent Sources 4.4 The Node-Voltage Method: Some Special Cases

More information

Chapter 9: Objects and Classes

Chapter 9: Objects and Classes What is a JavaBean? JavaBean Java JavaBean Java JavaBean JComponent tooltiptext font background foreground doublebuffered border preferredsize minimumsize maximumsize JButton. Swing JButton JButton() JButton(String

More information

Bus Hound 5

Bus Hound 5 Bus Hound 5.0 ( 1.0) 21IC 2007 7 BusHound perisoft PC hound Bus Hound 6.0 5.0 5.0 Bus Hound, IDE SCSI USB 1394 DVD Windows9X,WindowsMe,NT4.0,2000,2003,XP XP IRP Html ZIP SCSI sense USB Bus Hound 1 Bus

More information

audiogram3 Owners Manual

audiogram3 Owners Manual USB AUDIO INTERFACE ZH 2 AUDIOGRAM 3 ( ) * Yamaha USB Yamaha USB ( ) ( ) USB Yamaha (5)-10 1/2 AUDIOGRAM 3 3 MIC / INST (XLR ) (IEC60268 ): 1 2 (+) 3 (-) 2 1 3 Yamaha USB Yamaha Yamaha Steinberg Media

More information

Microsoft Word - 3D手册2.doc

Microsoft Word - 3D手册2.doc 第 一 章 BLOCK 前 处 理 本 章 纲 要 : 1. BLOCK 前 处 理 1.1. 创 建 新 作 业 1.2. 设 定 模 拟 控 制 参 数 1.3. 输 入 对 象 数 据 1.4. 视 图 操 作 1.5. 选 择 点 1.6. 其 他 显 示 窗 口 图 标 钮 1.7. 保 存 作 业 1.8. 退 出 DEFORMTM3D 1 1. BLOCK 前 处 理 1.1. 创 建

More information

C/C++语言 - 分支结构

C/C++语言 - 分支结构 C/C++ Table of contents 1. if 2. if else 3. 4. 5. 6. continue break 7. switch 1 if if i // colddays.c: # include int main ( void ) { const int FREEZING = 0; float temperature ; int cold_ days

More information

Text 文字输入功能 , 使用者可自行定义文字 高度, 旋转角度 , 行距 , 字间距离 和 倾斜角度。

Text 文字输入功能 , 使用者可自行定义文字  高度, 旋转角度 , 行距 , 字间距离 和 倾斜角度。 GerbTool Wise Software Solution, Inc. File New OPEN CLOSE Merge SAVE SAVE AS Page Setup Print Print PreView Print setup (,, IMPORT Gerber Wizard Gerber,Aperture Gerber Gerber, RS-274-D, RS-274-X, Fire9000

More information

Microsoft Word - 正文.doc

Microsoft Word - 正文.doc 3 Access 3.1 SharePoint SharePoint SharePoint 3.6 1 1.15 1 3.1 3.2 1 3.1 40 Access 3.2 2 ID / 3.3 3 3.4 3.5 3.3 / 3.4 3.5 3 41 4 / 6 3.6 3.6 5 1 40 24 3.7 3.7 6 3.8 * 3.8 2 42 Access 1.16 1 3.1 / 1 3.9

More information

untitled

untitled TFT-LCD Mura & Y.H. Tseng 2006.12.4 Outline Mura Mura Mura 類 度 Mura Mura JND Mura Convolution filter (Filter design) Statistical method (ANOVA,EWMA) Backgroup estimation (LSD) 2 What is Mura- Mura Mura

More information

Lorem ipsum dolor sit amet, consectetuer adipiscing elit

Lorem ipsum dolor sit amet, consectetuer adipiscing elit English for Study in Australia 留 学 澳 洲 英 语 讲 座 Lesson 3: Make yourself at home 第 三 课 : 宾 至 如 归 L1 Male: 各 位 朋 友 好, 欢 迎 您 收 听 留 学 澳 洲 英 语 讲 座 节 目, 我 是 澳 大 利 亚 澳 洲 广 播 电 台 的 节 目 主 持 人 陈 昊 L1 Female: 各 位

More information

PowerPoint Presentation

PowerPoint Presentation TOEFL Practice Online User Guide Revised September 2009 In This Guide General Tips for Using TOEFL Practice Online Directions for New Users Directions for Returning Users 2 General Tips To use TOEFL Practice

More information

SDS 1.3

SDS 1.3 Applied Biosystems 7300 Real-Time PCR System (With RQ Study) SDS 1.3 I. ~ I. 1. : Dell GX280 2.8GHz with Dell 17 Flat monitor 256 MB RAM 40 GB hard drive DVD-RW drive Microsoft Windows XP Operating System

More information

國立中山大學學位論文典藏

國立中山大學學位論文典藏 I II III IV The theories of leadership seldom explain the difference of male leaders and female leaders. Instead of the assumption that the leaders leading traits and leading styles of two sexes are the

More information

89???????q?l?????T??

89???????q?l?????T?? 華 興 電 子 報 第 89 期 民 國 102 年 01 月 12 日 出 刊 網 址 :www.hhhs.tp.edu.tw 發 行 人 : 高 宏 煙 總 編 輯 : 蕭 慶 智 董 大 鋼 許 莙 葇 王 雅 慧 主 編 : 賴 怡 潔 編 輯 群 : 周 慧 婷 陳 怡 君 陳 玫 禎 楊 雅 惠 郭 孟 平 伍 玉 琪 林 冠 良 林 淑 惠 賴 姿 潔 王 思 方 102 年 01 月

More information

VB程序设计教程

VB程序设计教程 高 等 学 校 教 材 Visual Basic 程 序 设 计 教 程 魏 东 平 郑 立 垠 梁 玉 环 石 油 大 学 出 版 社 内 容 提 要 本 书 是 按 高 等 学 校 计 算 机 程 序 设 计 课 程 教 学 大 纲 编 写 的 大 学 教 材, 主 要 包 括 VB 基 础 知 识 常 用 程 序 结 构 和 算 法 Windows 用 户 界 面 设 计 基 础 文 件 处

More information

*33*!!! "!! #$! %#! "& "! #! %! # ( ) * # +, # -, # +., $ /# ( ) 0 $ +# ( ) 0 $.# ( ) 0 $ # $! % "" " % 1 % & ( * ) * % " " %.! % 2!!"+# ( "&! " ( "#

*33*!!! !! #$! %#! & ! #! %! # ( ) * # +, # -, # +., $ /# ( ) 0 $ +# ( ) 0 $.# ( ) 0 $ # $! %   % 1 % & ( * ) * %   %.! % 2!!+# ( &!  ( # 588!"! #$$%& &&#! ()! *(+ "! *(, "! (-.! *(/ "! (.! ().! (01! /0! *(. # 2(.! *2. $ *20 3 $! *( % ) % *+ " % * 4 5 6 % - % 0. % 7. *33*!!! "!! #$! %#! "& "! #! %! # ( ) * # +, # -, # +., $ /# ( ) 0 $ +#

More information

Front 2 Polar F11 ( ) : Polar F11 Polar F11 Polar F11 Polar (Keeps U Fit - Own Workout Program) Polar Polar F11 Polar F11 Polar F11 Polar (

Front 2 Polar F11 ( ) : Polar F11 Polar F11 Polar F11 Polar (Keeps U Fit - Own Workout Program) Polar Polar F11 Polar F11 Polar F11 Polar ( Front 1 - Polar F11 Light OK Back Front 2 Polar F11 ( ) : Polar F11 Polar F11 Polar F11 Polar (Keeps U Fit - Own Workout Program) Polar Polar F11 Polar F11 Polar F11 Polar (www.polarfitnesstrainer.com)

More information

PowerPoint Presentation

PowerPoint Presentation R 是 S 语言的一种实现 S 语言是由 AT&T 贝尔实验室开发的一种用来进行数据探索 统计分析 作图的解释型语言 最初 S 语言的实现版本主要是 S-PLUS S-PLUS 是一个商业软件, 它基于 S 语言, 并由 MathSoft 公司的统计科学部进一步完善 1995 年由新西兰 Auckland 大学统计系的 Robert Gentleman 和 Ross Ihaka, 编写了一种能执行

More information

WWW PHP

WWW PHP WWW PHP 2003 1 2 function function_name (parameter 1, parameter 2, parameter n ) statement list function_name sin, Sin, SIN parameter 1, parameter 2, parameter n 0 1 1 PHP HTML 3 function strcat ($left,

More information

一 課 後 社 團 名 稱 :B02. 直 排 輪 校 隊 C 班 ( 校 隊 班 ) 二 授 課 教 師 : 劉 輔 人 助 教 : 杜 翊 嘉 2011 2013 世 界 盃 滑 輪 溜 冰 錦 標 賽 世 界 冠 軍 榮 獲 VOUGE 時 尚 雜 誌 專 訪 同 週 一 校 隊 班 介 紹

一 課 後 社 團 名 稱 :B02. 直 排 輪 校 隊 C 班 ( 校 隊 班 ) 二 授 課 教 師 : 劉 輔 人 助 教 : 杜 翊 嘉 2011 2013 世 界 盃 滑 輪 溜 冰 錦 標 賽 世 界 冠 軍 榮 獲 VOUGE 時 尚 雜 誌 專 訪 同 週 一 校 隊 班 介 紹 一 課 後 社 團 名 稱 :B01. 直 排 輪 綜 合 B 班 ( 綜 合 班 ) 二 授 課 教 師 : 郭 佳 佩 助 教 : 同 週 一 校 隊 B 班 介 紹 同 週 一 綜 合 A 班 第 1 週 同 週 一 綜 合 A 班 第 2 週 同 週 一 綜 合 A 班 第 3 週 同 週 一 綜 合 A 班 第 4 週 同 週 一 綜 合 A 班 第 5 週 同 週 一 綜 合 A 班 第

More information

入學考試網上報名指南

入學考試網上報名指南 入 學 考 試 網 上 報 名 指 南 On-line Application Guide for Admission Examination 16/01/2015 University of Macau Table of Contents Table of Contents... 1 A. 新 申 請 網 上 登 記 帳 戶 /Register for New Account... 2 B. 填

More information

L L L-1 L-1 L-1 L-1 L-1 L-2 L-1 L-1 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-3 L-3 L-3 L-3 L-2 L-2 L-2 L-2 L-2 15 14 13 12 11 10 9 8 7

L L L-1 L-1 L-1 L-1 L-1 L-2 L-1 L-1 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-3 L-3 L-3 L-3 L-2 L-2 L-2 L-2 L-2 15 14 13 12 11 10 9 8 7 Compensation Design - L L L-1 L-1 L-1 L-1 L-1 L-2 L-1 L-1 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-2 L-3 L-3 L-3 L-3 L-2 L-2 L-2 L-2 L-2 15 14 13 12 11 10 9 8 7 100,000 80,000 $ 60,000 40,000 20,000 80,000

More information

d y d = d 2 y d 2 = > 0 Figure45 :Price consumer curve not a Giffen good X & Y are substitutes From the demand curves. Figure46 Deman

d y d = d 2 y d 2 = > 0 Figure45 :Price consumer curve not a Giffen good X & Y are substitutes From the demand curves. Figure46 Deman Ch4. 個體經濟學一 M i c r o e c o n o m i c s (I) Comparative Statics and Demand EX: u(, y) = 2 + y, Ma,y 2 + y s. t. P + P y y = m FOC MRS y = P P y P + P y y = m MRS y = MU = 2 0.5 0.5 = P MU y 1 P y 1 0.5

More information

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM CHAPTER 6 SQL SQL SQL 6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM 3. 1986 10 ANSI SQL ANSI X3. 135-1986

More information

spss.doc

spss.doc SPSS 8 8.1 K-Means Cluster [ 8-1] 1962 1988 8-1 2 5 31 3 7 20 F2-F3 2 3 F3-F4 3 4 109 8 8-1 2 3 2 3 F2-F3 F3-F4 1962 344 3333 29 9 9.69 1.91 1963 121 1497 27 19 12.37 1.34 1964 187 1813 32 18 9.70 1.06

More information

RF & MICROWAVE COMPONENTS

RF & MICROWAVE COMPONENTS MICROOT MICROWAVE CO., LTD. RF & MICROWAVE COMPONENTS WWW.MIC-ROOT.COM Catalogue 1. ABOUT MICROOT...3 2. Broadband 90/180deg Hybrid and Coupler...4 3. Broadband Power Divider... 13 4. Filter... 20 5. RF

More information

els0xu_zh_nf_v8.book Page Wednesday, June, 009 9:5 AM ELS-0/0C.8

els0xu_zh_nf_v8.book Page Wednesday, June, 009 9:5 AM ELS-0/0C.8 els0xu_zh_nf_v8.book Page Wednesday, June, 009 9:5 AM ELS-0/0C.8 Yamaha ELS-0/0C..8 LCD ELS-0/0C v. typeu LCD ELS-0/0C typeu / -6 / [SEARCH] / - ZH ELS-0/0C.8 els0xu_zh_nf_v8.book Page Wednesday, June,

More information

1.ai

1.ai HDMI camera ARTRAY CO,. LTD Introduction Thank you for purchasing the ARTCAM HDMI camera series. This manual shows the direction how to use the viewer software. Please refer other instructions or contact

More information

Microsoft PowerPoint - Lecture7II.ppt

Microsoft PowerPoint - Lecture7II.ppt Lecture 8II SUDOKU PUZZLE SUDOKU New Play Check 軟體實作與計算實驗 1 4x4 Sudoku row column 3 2 } 4 } block 1 4 軟體實作與計算實驗 2 Sudoku Puzzle Numbers in the puzzle belong {1,2,3,4} Constraints Each column must contain

More information

TX-NR3030_BAS_Cs_ indd

TX-NR3030_BAS_Cs_ indd TX-NR3030 http://www.onkyo.com/manual/txnr3030/adv/cs.html Cs 1 2 3 Speaker Cable 2 HDMI OUT HDMI IN HDMI OUT HDMI OUT HDMI OUT HDMI OUT 1 DIGITAL OPTICAL OUT AUDIO OUT TV 3 1 5 4 6 1 2 3 3 2 2 4 3 2 5

More information

Knowledge and its Place in Nature by Hilary Kornblith

Knowledge and its Place in Nature by Hilary Kornblith Deduction by Daniel Bonevac Chapter 7 Quantified Natural Deduction Quantified Natural Deduction As with truth trees, natural deduction in Q depends on the addition of some new rules to handle the quantifiers.

More information

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor 1 4.1.1.1 (Load) 14 1.1 1 4.1.1.2 (Save) 14 1.1.1 1 4.1.2 (Buffer) 16 1.1.2 1 4.1.3 (Device) 16 1.1.3 1 4.1.3.1 (Select Device) 16 2 4.1.3.2 (Device Info) 16 2.1 2 4.1.3.3 (Adapter) 17 2.1.1 CD-ROM 2 4.1.4

More information