search for: fudan

Displaying 20 results from an estimated 291 matches for "fudan".

2008 May 14
2
basename/dirname produce incorrect results
...e following example is half of what is expected. > g<-"d:\\$BG!2L4^M-CfJ8(B\\$BG!2L4^M-CfJ8(B.txt" > dirname(g) [1] "d:/$BG!2L4^(B" > basename(g) [1] "$BG!2L4^M-(B" -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK. [[alternative HTML version deleted]]
2008 Jan 21
3
Need suggestions about GUI
...at I want to do is: 1, creat a text box, insert text into that box. 2, select chunk of of the text by mouse, and link it to a lable. so I would like a way to get that chunk of text. Can I do such job with tcltk? Any relavant tutorial materials? Thanks -- HUANG Ronggui Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Student , CityU of HK, http://www.cityu.edu.hk/sa/psa_web2006/students/rdegree/huangronggui.html [[alternative HTML version deleted]]
2008 May 12
1
Insert a recorde into a table using SQL
...(\"%s\")",dd[1,1])) Error in sqliteExecStatement(con, statement, bind.data) : RS-DBI driver: (error in statement: unrecognized token: "")") How can I insert a (key, value) pair into a table by dbGetQuery? Thanks. -- HUANG Ronggui, Wincent Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK.
2012 May 09
2
file path
...ers such as ? < >, unacceptable in Windows OS. What I do at this moment is to strip such characters off with gsub(). Is there any direct way to make legitimate file path without detailed knowledge about the naming rule specific to a OS? Best -- Wincent Ronggui HUANG Sociology Department of Fudan University PhD of City University of Hong Kong http://homepage.fudan.edu.cn/rghuang/cv/
2004 Sep 21
3
how to take this experiment with R?
How about: x <- data.frame(matrix(rnorm(1550),c(50,31))) model <- step(lm(x[,1] ~ as.matrix(x[,2:31]))) --Matt -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of rongguiwong Sent: Monday, September 20, 2004 20:52 PM To: r-help at stat.math.ethz.ch Subject: [R] how to take this experiment with R? This message uses
2005 Dec 12
3
question about date's
Hi, Given a frame with calendar date's: "2005-07-01", "2005-07-02","2005-07-03","2005-07-04","2005-07-05",etc. I want to extract the following from these dates: week number month number year number Any ideas how to accomplish this? Many thanks. Regards, Richard
2008 Feb 20
3
[LLVMdev] llvm-2.2 cannot be successfully built with 'make ENABLE_OPTIMIZED=1'
...pidellsc1420 lib]$ rpm -q libstdc++ libstdc++-4.1.1-52.el5 Well. as libstdc++ is published with gcc. I am wondering which version of gcc I should use ? Any suggestion on this problem ? Thanks very much _______________________________________________ Andrew Wu Parallel Processing Institute Fudan University, Shanghai, China E-mail: wuxi at fudan.edu.cn wu.andrew.xi at gmail.com _______________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080220/8d5fd269/attachm...
2005 Jun 13
5
slow loading with lme4
...i386 os mingw32 system i386, mingw32 status Patched major 2 minor 1.0 year 2005 month 05 day 29 language R OS:windows 2000 2005-06-13 ------ Deparment of Sociology Fudan University Blog:www.sociology.yculblog.com
2008 Jun 07
1
Problem of installing Matrix
...em i386, freebsd7.0 status major 2 minor 6.1 year 2007 month 11 day 26 svn rev 43537 language R version.string R version 2.6.1 (2007-11-26) -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK.
2006 Jul 02
2
how to recode in my dataset?
...6 20.5 3 2 19.5 21.6 4 3 19.8 25.6 5 4 19.6 22.6 6 1 20.6 21.3 7 1 19.1 23.7 8 4 18.7 21.5 9 3 22.4 24.7 10 2 21.6 24.4 Thanks very much! -- Kind Regards, Zhi Jie,Zhang ,PHD Department of Epidemiology School of Public Health Fudan University Tel:86-21-54237149
2007 May 19
2
What's wrong with my code ?
...t1 bg2cost2 bg2cost3 bg2cost4 bg2cost5 bg2cost6 0.7454829 0.7191459 0.6969019 0.7611750 0.6940870 0.6930580 $value [1] 0.02167674 $counts function gradient 21 21 $convergence [1] 52 $message [1] "ERROR: ABNORMAL_TERMINATION_IN_LNSRCH" -- Ronggui Huang Department of Sociology Fudan University, Shanghai, China
2006 Apr 14
3
The object argument of NextMethod.
...) + { + cat("ncls\n") + } > > foo.cls2=function(x) + { + cat("cls2\n");print(x) + } > > a=1;class(a)=c("cls1","cls2") > > foo(a) cls2 [1] 2 attr(,"class") [1] "ncls" Thank you very much. -- ?????? Deparment of Sociology Fudan University
2005 Jul 03
2
demo(scoping)
...500)) Error in ross$withdraw(500) : You don't have that much money! > version _ platform i486-pc-linux-gnu arch i486 os linux-gnu system i486, linux-gnu status beta major 2 minor 1.1 year 2005 month 06 day 13 language R -- Department of Sociology Fudan University,Shanghai Blog:http://sociology.yculblog.com
2006 Jul 03
1
how to get the studentized residuals in lm()
...ve the results: After i fitted lm(), i use attibutes() to see the objects and didn't find studentized residuals . How to get the the studentized residuals in lm(),have i missed something? thanks very much! -- Kind Regards, Zhi Jie,Zhang ,PHD Department of Epidemiology School of Public Health Fudan University Tel:86-21-54237149
2006 Oct 20
2
how to replace the second "-"
...1-1-1" "1-1-2" "1-2-1" And I wanna replace the second "-" with "0", that is, I wanna get the result like: [1] "1-101" "1-102" "1-201". How should I write the Regular Expressions? Thanks! -- »ÆÈÙ¹ó Department of Sociology Fudan University [[alternative HTML version deleted]]
2006 Feb 22
2
does multinomial logistic model from multinom (nnet) has logLik?
...is : is logLik meaningful to multinomial logistic model from multinom?If it does, how can I get it? Thank you! ps: I konw VGAM has function to get the multinomial logistic model with logLik, but I prefer use the function from "official" R packages . -- ronggui Deparment of Sociology Fudan University
2004 Apr 06
4
how to learn R quickly?
i am new to R,so i post here to ask you how to learn R quickly? is there some usefull materials about using R. ps:though the manual is a good materials,but it is not the best for a newbie,i think. thank you !
2011 Jun 20
2
Error of Cross Validation
...t;-lrm(y~x) preo<-predict(fito) pre<-matrix(NA,nrow=100,ncol=200) for (i in 1:200) { sam<-sample(1:nrow(dat)) sam<-split(sam,1:10) for (j in 1:10) { fit<-lrm(y~x,data=dat[-sam[[j]],]) pre[sam[[j]],i]<-predict(fit,data=dat[sam[[j]],]) } } *Yao Zhu* *Department of Urology Fudan University Shanghai Cancer Center Shanghai, China* [[alternative HTML version deleted]]
2005 Oct 15
2
how to import such data to R?
...represent one case,can some variables are numeric and some are character. I though the scan can read it in ,but it seems somewhat tricky as the mixed type of variables.any suggestions? the attachmen is the raw data and the description of the data. 2005-10-15 ------ Deparment of Sociology Fudan University My new mail addres is ronggui.huang at gmail.com Blog:http://sociology.yculblog.com
2005 Nov 27
2
multilevel models and sample size
...size is quite small,but just now I can't make the sample size much bigger.So I want to ask if I use the multilevel model to analysis the data set,will it be acceptable? or unacceptable because of the small sample size? Thank you very much! ronggui 2005-11-28 ------ Deparment of Sociology Fudan University My new mail addres is ronggui.huang at gmail.com Blog:http://sociology.yculblog.com