Displaying 4 results from an estimated 4 matches for "huidong".
Did you mean:
hidong
2009 Oct 30
2
R-help Digest, Vol 80, Issue 30
Dear friends,
I will be very happy if anyone tell me the way to change work directory
permanently?
I mean not use the function setwd() which can only change temporary, when
you close the console, it will the old directory.
Sys.setenv(R_USER = '') also doesn't work.
[[alternative HTML version deleted]]
2013 Mar 30
1
special character encoding problem
...windows 7 Simple Chinese, I use R 2.15.3 64-bit.
> x <- data.frame(part = c("m?ll?s", "ny"))
> head(x)
part
1 m<U+00E5>ll<U+00F8>s
2 ny
> x$part
[1] m?ll?s ny
Levels: m<U+00E5>ll<U+00F8>s ny
Thanks!
--
Huidong Tian, Postdoc
Swedish University of Agricultural Sciences
Department of Aquatic Resources
Institute of Marine Research
Turistgatan 5,
45330 Lysekil, Sweden
Phone: +47 40624112
Email: tienhuitung at gmail.com
2011 Nov 10
1
Sum of the deviance explained by each term in a gam model does not equal to the deviance explained by the full model.
...(b2)-deviance(b))/deviance(b0) ## prop explained by
s(x1)
>
> dev.1 + dev.2
[1] 0.6974949
> summary(b)$dev.expl
[1] 0.7298136
I checked the two models (b1 & b2), found the model coefficients are
different with model b, so I feel it could be the problem.
wish to hear your comments.
Huidong Tian
[[alternative HTML version deleted]]
2013 Mar 23
1
Character change to Unicode format escape character when create a data frame
...e, but I need it in its original form, anybody can explain?
> x <- data.frame(part = c("målløs", "ny"))
> x
part
1 m<U+00E5>ll<U+00F8>s
2 ny
x[1,1]
[1] målløs
Levels: m<U+00E5>ll<U+00F8>s ny
Regards!
--
Huidong Tian, Postdoc
Swedish University of Agricultural Sciences
[[alternative HTML version deleted]]