search for: sichuan

Displaying 11 results from an estimated 11 matches for "sichuan".

Did you mean: chuan
2011 Feb 11
3
How can we make a vector call a function element-wise efficiently?
...300,000 such 26.70/ 28.94 seconds, so the approximate computation time is 100 days What a terrible thing to do!!! Any modification, nomatter how subtle, will be a big help for me Thank you in advance Yours sincerely ZhaoXing Department of Health Statistics West China School of Public Health Sichuan University No.17 Section 3, South Renmin Road Chengdu, Sichuan 610041 P.R.China __________________________________________________ ?????????????????????????????
2011 Jan 03
3
matrices call a function element-wise
...r (i in 1:1000) {for (j in 1:1000) { E<-fisher.test(matrix(c(A[i][j],B[i][j],C[i][j],D[i][j]),2))#call fisher.test for every element } } It is so time-consuming Need vectorization Yours sincerely ZhaoXing Department of Health Statistics West China School of Public Health Sichuan University No.17 Section 3, South Renmin Road Chengdu, Sichuan 610041 P.R.China [[alternative HTML version deleted]] __________________________________________________ 8O?lW"2aQE;"3,4sH]A?Cb7QSJOd?
2011 Jan 11
1
how to use "apply" function partial to each vector of a matrix
...nt to do it to a large dataset, it's inefficency becomes a problem, so need vectorization the "apply" function will sum all of each vector, which is not my purpose Thank you in advance Yours sincerely ZhaoXing Department of Health Statistics West China School of Public Health Sichuan University No.17 Section 3, South Renmin Road Chengdu, Sichuan 610041 P.R.China __________________________________________________ ?????????????????????????????
2011 Jan 11
1
how to coerce part of each column of a matrix to a vector and merge them
...mat[1:end[i],i]) } #the result > vec [1] 1 2 5 6 7 9 13 14 15 but when I want to do it to a large dataset, it's inefficiency becomes a problem, so need vectorization Thank you in advance Yours sincerely ZhaoXing Department of Health Statistics West China School of Public Health Sichuan University No.17 Section 3, South Renmin Road Chengdu, Sichuan 610041 P.R.China __________________________________________________ ???????????????
2011 Feb 07
1
how to return multipy matrix in a function
...rror in returnfunction(mat)$index : $ operator is invalid for atomic vectors the "returnfunction(mat)$value" should be 4,5,10 the "returnfunction(mat)$index" should be 3,1,2 Thank you in advance ZhaoXing Department of Health Statistics West China School of Public Health Sichuan University No.17 Section 3, South Renmin Road Chengdu, Sichuan 610041 P.R.China __________________________________________________ ????????????????????????????? ---------------------------------------------------------------------------- NOTICE: Please note that this eMail, and the contents ther...
2011 Feb 12
1
how to improve the precison of this calculation?
...e me some surprise 2.Through skills of R, which is difficult for me PS: I don't want a perfect solution but a better one, which could have a higher discriminability than before Thank you in advance Yours sincerely ZhaoXing Department of Health Statistics West China School of Public Health Sichuan University No.17 Section 3, South Renmin Road Chengdu, Sichuan 610041 P.R.China __________________________________________________ ?????????????????????????????
2011 Jan 10
0
how to create and manage a matrix with vector of different length
...trix with vector of different length? 2.Can anyone teach me 2 or 3 matrices call a function element wise by vectorization? e.g. for (i in 1:10) A[i]^B[i]/C[i] Thank you in advance Yours sincerely ZhaoXing Department of Health Statistics West China School of Public Health Sichuan University No.17 Section 3, South Renmin Road Chengdu, Sichuan 610041 P.R.China __________________________________________________ ?????????????????????????????
2011 Jun 05
1
tag \href not recognised in rd doc
...{http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2702787/}{Vaniscotte A., Pleydell D., Raoul F., Quere J.P., Coeurdassier M., Delattre P., Li T., Qian W., Takahashi K., Weidmann J.C., Qiu J., Giraudoux P. 2009 Modelling and spatial discrimination of small mammal assemblages: an example from western Sichuan (China). Ecological Modelling, 220: 1218-1231.} } The Rcmd check gives: * checking R code for possible problems ... OK * checking Rd files ... WARNING checkRd: (7) multignome.Rd:38: Tag \href not recognized I saw there is already a link on the issue http://bugs.r-project.org/bugzilla3/show_bu...
2013 Apr 27
1
using metafor for meta-analysis of before-after studies
...Thank you very much, I am looking forward to your reply. With best wishes. Qiang Yue M.D. Visiting Scholar of IMHR, University of Ottawa 1145 Carling Avenue, K1Z 7K4, Ottawa, ON, Canada Tel: 613-722-6521 ext. 6554 Associate Professor of Radiology Department of Radiology, West China Hospital, Sichuan University Chengdu, 610041, China [[alternative HTML version deleted]]
2011 Jan 07
4
how to calculate this natural logarithm
...#calculate the sum result=log(com_sum) #calculate the log of the sum } But every element of the com_sum is Inf, so I can't get the result Thank you in advance Yours sincerely ZhaoXing Department of Health Statistics West China School of Public Health Sichuan University No.17 Section 3, South Renmin Road Chengdu, Sichuan 610041 P.R.China __________________________________________________ ?????????????????????????????
2011 Oct 22
3
Sweave, cairo_pdf, CJK, ghostscript
I have had some fun in the last few days trying to put together an annotated map of China with R and some public GIS data: http://sourceforge.net/projects/outmodedbonsai/files/snpMatrix%20next/1.17.7.11/China_Choropleth_Maps.pdf/download It is done, and rather nice... there are a few issues: - the default pdf() device cannot do CJK with embedded fonts - and cairo_pdf() is not hooked up to