上一页 1 ··· 159 160 161 162 163 164 165 166 167 ··· 324 下一页
摘要: IQR(Inter-Quartile Range)在统计中叫内距.内距又称为四分位差.具体如下:内距IQR即Inter-Quartile Range, 这是统计技术上的名词.内距又称为四分位差,是两个四分位数之差,即内距IQR=高四分位数—低四分位数.标准化四分位距——对一组按顺序排列的数据,上四分 阅读全文
posted @ 2018-04-24 09:11 emanlee 阅读(9357) 评论(0) 推荐(1) 编辑
摘要: 1. nohup nohup 无疑是我们首先想到的办法。顾名思义,nohup 的用途就是让提交的命令忽略 hangup 信号。 nohup 的使用是十分方便的,只需在要处理的命令前加上 nohup 即可,标准输出和标准错误缺省会被重定向到 nohup.out 文件中。一般我们可在结尾加上"&"来将命 阅读全文
posted @ 2018-03-16 22:53 emanlee 阅读(8174) 评论(0) 推荐(0) 编辑
摘要: apply() apply(m,dimcode,f,fargs) m 是一个矩阵。 dimcode 是维度编号,取1则为对行应用函数f,取2则为对列运用函数f。 f 是函数 fargs 是函数f的可选参数集 > z <- matrix(1:6, nrow = 3) > f <- function(x 阅读全文
posted @ 2018-03-09 12:38 emanlee 阅读(5823) 评论(0) 推荐(0) 编辑
摘要: # Coercing LHS to a list expr_3$ID<-rownames(expr_3) # OK ids<-rownames(expr_3)expr_4<-cbind(expr_3, ID=ids) 阅读全文
posted @ 2018-01-20 06:43 emanlee 阅读(1458) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <stdlib.h>#include <string.h>char * strtolower(char * old){ char xx[1000]; int ii, length=0; length=strlen(old); for(ii=0; 阅读全文
posted @ 2018-01-12 23:43 emanlee 阅读(7074) 评论(1) 推荐(0) 编辑
摘要: R read.tabe line 5 did not have 2 elements Reason: there are special characters such as # in file old_value new_valueEZF2 ZNF444EZF2 ZNF444ZSCAN17 ZNF 阅读全文
posted @ 2018-01-10 11:11 emanlee 阅读(1809) 评论(0) 推荐(0) 编辑
摘要: aa<- list(a=1, b="two", c=list(3, "four"))bb <- list(a=1, c=list(3, "four"), b="ni")aa[!(aa %in% bb)]REF:https://stackoverflow.com/questions/1468856/h 阅读全文
posted @ 2017-12-19 01:40 emanlee 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Say I have a data.frame:df <- data.frame(A=c(10,20,30),B=c(11,22,33), C=c(111,222,333)) A B C1 10 11 1112 20 22 2223 30 33 333If I select two (or more 阅读全文
posted @ 2017-12-16 07:13 emanlee 阅读(201) 评论(0) 推荐(0) 编辑
摘要: d<- data.frame(x = c(0, 1)) d<- data.frame(d, y = c(0,1)) names(d)[2]<- "a.-5" d x a.-50 01 1 d1<- data.frame(d, y = c(0,1)) d1 x a..5 y0 0 01 1 1 d2< 阅读全文
posted @ 2017-12-12 07:20 emanlee 阅读(1293) 评论(0) 推荐(0) 编辑
摘要: cat > temp004AA1abcAA2AA3abcAA4abcAA5AA6awk 'BEGIN {pre=0; str="";} { if(NR==1){ if($0 ~ /AA/) {pre=1;} else {pre=0;} str=$0; } else { if($0 ~ /AA/) { 阅读全文
posted @ 2017-12-06 02:13 emanlee 阅读(217) 评论(0) 推荐(0) 编辑
上一页 1 ··· 159 160 161 162 163 164 165 166 167 ··· 324 下一页