Re: [R] How to create multi variables

2014-05-14 Thread yuanzhi
Yes, it works, thanks for your help. -- View this message in context: http://r.789695.n4.nabble.com/How-to-create-multi-variables-tp4690465p4690572.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list htt

Re: [R] How to create multi variables

2014-05-14 Thread yuanzhi
I am really sorry, I misunderstand your meanings. Your suggestions are useful, and it works! ls<-vector("list",3) for(i in 1:3) { ls[[i]]<-summary(lm(y[,i]~x[,i])) } Thanks for your help very much and sorry for my mistake. -- View this message in context: http://r.789695.n4.nabble.com/How-

Re: [R] How to create multi variables

2014-05-14 Thread yuanzhi
. Playing > Research Engineer (Solar/BatteriesO.O#. #.O#. with > /Software/Embedded Controllers) .OO#. .OO#. > rocks...1k > --- > Sent from my phone. Please excuse my brevity. &

Re: [R] How to create multi variables

2014-05-13 Thread yuanzhi
laying > Research Engineer (Solar/BatteriesO.O#. #.O#. with > /Software/Embedded Controllers) .OO#. .OO#. > rocks...1k > --- > Sent from my phone. Please excuse my brevity. > > On May 13, 2014 5:47:12 PM PDT, Yuanzhi Li < > Yuanz

[R] How to create multi variables

2014-05-13 Thread Yuanzhi Li
tly assign the value of FUN to ti } These are just my thoughts, I don't know whether there are available R codes to realized it. I am looking forward any help from you. Thanks in advance! Yuanzhi __ R-help@r-project.org mailing list https://stat.

[R] regular pentagon

2014-03-07 Thread Yuanzhi Li
Hello, everyone, Do you have any idea to get a set of random points within a regular pentagon? Thanks in advance! Yuanzhi __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] subset of data frame

2014-02-08 Thread Yuanzhi Li
Hi, everyone I met a small problem when I want take a subset from a data frame. The data frame(x) looks like the followings(10 species with 3 measured traits): Species trait1trait2 trait3 sp1 sp1 ... sp2 sp2 ... sp10 sp10 ... It would be easy if we want trait values for most abu

[R] subset of data frame

2014-02-08 Thread Yuanzhi Li
Hi, everyone I met a small problem when I want take a subset from a data frame. The data frame(x) looks like the followings(10 species with 3 measured traits): Species trait1trait2 trait3 sp1 sp1 ... sp2 sp2 ... sp10 sp10 ... It would be easy if we want trait values for most abu

Re: [R] Chinese Garbled

2013-12-16 Thread yuanzhi
> Ista > > On Sat, Dec 14, 2013 at 12:22 AM, yuanzhi < > yuanzhi.li@ > > wrote: >> Hello, I met a problem which needs your help. I reinstalled the R and >> Rstudio >> recently. After that, I found there was a problem that the Chinese >> character >&g

[R] Chinese Garbled

2013-12-13 Thread yuanzhi
rary(sciplot)", it will appear the following message with garbled Chinese characters: > ?bargraph.CI No documentation for ć…´argraph.CI?in specified packages and libraries: you could try ??bargraph.CI? So, what can I do to solve the problem. Thank you! Yuanzhi -- View this message in context: ht

Re: [R] bargraph.CI

2013-12-11 Thread yuanzhi
quot;H")) > > table(z2) > z2 > L M H > 1 0 2 > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > > >> -Original Message- >> From: > r-help-bounces@ > [mailto: > r-help-bounces@ > ] On Behalf >> O

[R] bargraph.CI

2013-12-11 Thread Yuanzhi Li
r in "CK","N10","N15","N5" order(alphabet sequence), but I want the bars to appear "CK", "N5", "N10", "N15"(treat level sequence). Do you have any ideas to realize the goal? Thank you! Yuanzhi __

Re: [R] volume of ellipsoid

2013-11-17 Thread yuanzhi
Michael Friendly wrote > On 11/14/2013 9:35 AM, yuanzhi wrote: >> Hi, Carl Witthoft >> >> yes, it looks like a mathematical question. I will try based on your >> suggestion to calculate the volume of the intersection. But I still want >> to >> know whether

Re: [R] volume of ellipsoid

2013-11-14 Thread yuanzhi
> All this, btw, is math, not really related to R or to software > programming in general. > yuanzhi wrote >> Hi, everyone! >> >> I have a matrix X(n*p) which is n samples from a p-dimensional normal >> distribution. Now I want to make the ellipsoid con

Re: [R] volume of ellipsoid

2013-11-14 Thread yuanzhi
Hi, Carl Witthoft yes, it looks like a mathematical question. I will try based on your suggestion to calculate the volume of the intersection. But I still want to know whether there are some functions in R which can calculate the volume of an ellipsoid(area for p=2, hypervolume for p>3) containing

[R] volume of ellipsoid

2013-11-13 Thread Yuanzhi Li
the volume of intersection between two region or functions which directly calculate the volume of a union of two region(the region here is ellipsoid). OR yo you have any good ideas solving this problem in R? Thank you all in advance! Yuanzhi __