Displaying 20 results from an estimated 69 matches for "mingde".
2008 Sep 13
4
bubble(circle) plot help.
I need help creating a bubbleplot, like a simple pseudo three dimensional scatterplot of circles whose sizes index a 3rd variable. I initially came across this at http://addictedtor.free.fr/graphiques/graphcode.php?graph=73 but the circleplot function does not exist in fbasic as listed in the document.
_________________________________________________________________
2009 Mar 23
2
How to get commands history as a character vector instead of displaying them?
...ina.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China
2009 Apr 03
1
new line between '}' and 'else' in function body
...new line here!
else {
2
}
}
> f(TRUE)
[1] 1
> f(FALSE)
[1] 2
Seems strange...
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China
2009 Apr 03
2
extract tables as data.frames from HTML source
...one has
already contributed a more general function (with the package XML or
other packages). Thanks!
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China
2008 Sep 13
3
Beautify R scripts in microsoft word
I am generating a report containing several R scripts in the appendix. Is there any way to "beautify" the R source codes in microsoft word, similar to what we see in tinn-R ?
Thanks
_________________________________________________________________
[[alternative HTML version deleted]]
2008 Nov 14
1
Line breaks in mathematical formulae in Rd files (PR#13287)
...ect, moreover, line breaks
and alignments using "&" will be available in math formulae.
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China
2008 Sep 14
5
Error Running TinnR with R
Hello All,
I am using Tinn-R (v 2.0.0.7) integrated with R (v 2.7.2) on a 32-bit
Windows Vista system.
When I try to run a code and send it to R from Tinn-R, I get the following
error message;
?Error in source(.trPaths[5], echo = T) : object ".trPaths" not found?
I was using an earlier version of Tinn-R and R and I was not having problems
till recently when R-sending started freezing
2008 Sep 11
9
How to load functions in R
Hello,
I am trying to use self created functions in other scripts than the one
where they are stored.
For the moment I am using the following structure of commands to do
that:
1. Load the text file with the functions in the current script:
x=parse("path")
2. transform the tex in a function: f1=eval(x[1]), f2=eval(x[2]) if more
than one function is stored in the text file
3. use the
2008 Sep 11
4
All possible pairs of two variables
I have two variables (x,y) :
x : it takes all integer values from 0 to y and,
y : takes all values from 0, 10
I am looking for some R code to find all possible pairs of (x,y). Can anyone please help me?
New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
[[alternative HTML version
2009 Jun 20
2
Special characters in Rd example section will cause errors
...day 17
svn rev 48333
language R
version.string R version 2.9.0 (2009-04-17)
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China
2008 Sep 10
2
relsurv package
Dear R-users,
I have a couple of questions about the relsurv package:
1) when I try to run the example:
fit <- rsmul(Surv(time,cens)~sex+as.factor(agegr)+ratetable(age=age*365.24,sex=sex,year=year),ratetable=slopop,data=rdata)
with the datasets in the package (rdata and slopop) it gives me an error:
Error in nrow(x) : object "x" not found
2)
If I have a date format
2008 Oct 21
3
code works in R desktop but not iin RWeb - How do I modify to get it working in RWeb, please?
Hi,
How are you? I have a quick question.... I have code that works perfectly
with R desktop, but does not work with RWeb. Could you please tell me how
to modify the code below so it will work with RWeb?
#Read in txt file
happyguys<-read.table("c:/test8.txt", header=TRUE, row.names=1)
#Subset the txt file to only include certain values
test<-subset(happyguys, GRADE == 7
2008 Sep 18
2
How to show complete time values in a plot x axis
Hello,
I have the following data and I try to properly
import it in R and plot the 4th column relative to time
1 2008-249 17:44:17.973 -2.27 00000000: Accepted
2 2008-249 17:44:18.014 -2.28 00000000: Accepted
3 2008-249 17:44:18.064 -2.29 00000000: Accepted
4 2008-249 17:44:18.123 -2.29 00000000: Accepted
5 2008-249 17:44:18.174 -2.29 00000000:
2008 Sep 11
5
How to obtain a sequence of dates consisting of only weekdays
Dear R-users,
How do I obtain a sequence of dates consisting of only weekdays without the weekends in R?
In S, I can do the following:
timeSeq(from="12/17/2007", to="8/25/2008", by="weekdays")
I tried using looking at timeSequence (fSeries package) and seq.Date (base package) but I do not know if I can specify "weekdays" rather than "day".
2008 Oct 23
1
code works in R desktop but not iin RWeb - I got it working
...Y_Q10A < 9)"?
By the way, please read the post guide -- I have no way to reproduce
your result.
Regards,
Yihui
--
Yihui Xie <xieyihui@gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China
On Wed, Oct 22, 2008 at 11:15 PM, Natalie O'Toole <notoole@mtroyal.ca>
wrote:
>
> Hi Yihui,
>
> Thank-you for this information. This is the code I am entering into RWeb
> after loading my data file:
>...
2008 Oct 03
1
formula form of coxph
Dear R user,
I got a question when using the coxph function. I have 5 covariates x1, x2,
x3, x4, x5 and I want to write a function so that when given an indicator,
e.g., c(1,3,5), I can fit the model as
model=coxph(Surv(time, status)~x1+x3+x5). Any idea to play around the form
of formula?
Thank you very much!
Xing Yuan
University of Pittsburgh
[[alternative HTML version deleted]]
2008 Oct 03
1
font color
Hi ,
I was wondering if we can color the font in R ?
thanks
--
View this message in context: http://www.nabble.com/font-color-tp19807473p19807473.html
Sent from the R help mailing list archive at Nabble.com.
2008 Oct 09
1
Write multiple objects / data frames into a single .csv -- write.csv
Hello,
Is there a way to put multiple data.frames or objects into a single .csv ?
I know I can use sink() to do this for a text file. Is there way to do it
for a .csv?
e.g. for sink()
sink("c5.k.s.p.92.LN.sl.vs.mean.txt")
symnum(c5.k.92.LN.sl.vs.mean)
symnum(c5.s.92.LN.sl.vs.mean)
symnum(c5.p.92.LN.sl.vs.mean)
sink()
Could I put these all into a single .csv, in a similar format to
2008 Oct 17
2
A question about "union"
Dear all,
I have a question about "union". "union" handles two vectors'
elements to get their union, but I have many vectors and I want to get
the union of all of them. So I wrote a loop:
all <-c();
for(var in ls(pattern="xyz"))
# all of the vectors with pattern of "xyz"
{
all <- union(all, var);
}
but the result is like this:
2008 Nov 10
1
problem of unix package installation, following code no response: install.packages("packagename", dependecise=TRUE)
Dear list
I am trying installing a package under unix, the command as below
works in some case but not some other cases, the primary
syndrome is R will stop there with a message: (say I am trying to
install the package SASxport)
###########################
Warning in install.packages("SASxport", dependencies = TRUE) :
argument 'lib' is missing: using