Re: [R] double subscripts with Greek letter

2017-01-01 Thread Bert Gunter
... or perhaps simpler and more transparently: plot(0:1 ~0:1, main = expression(A[alpha*","*beta])) Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

Re: [R] double subscripts with Greek letter

2017-01-01 Thread William Dunlap via R-help
Does the following do well enough? plot(1,1);title(expression(A[paste(alpha,",",beta)])) Bill Dunlap TIBCO Software wdunlap tibco.com On Sun, Jan 1, 2017 at 11:22 AM, Jeff Shane wrote: > Hi all, > > I have a question which seems trivial but simply cannot figure out its > solution. > > I wan

Re: [R] double subscripts with Greek letter

2017-01-01 Thread Erin Hodgess
Hello! Here is a solution: > plot(1:10) > xa <- expression(A[list(alpha,beta)]) > title(xa) On Sun, Jan 1, 2017 at 1:22 PM, Jeff Shane wrote: > Hi all, > > I have a question which seems trivial but simply cannot figure out its > solution. > > I want to type A_{\alpha,\beta} in the title of a

[R] double subscripts with Greek letter

2017-01-01 Thread Jeff Shane
Hi all, I have a question which seems trivial but simply cannot figure out its solution. I want to type A_{\alpha,\beta} in the title of a plot. Uwe once pointed out a solution expression(A[alpha*beta]) But the output of the above command does not include the "," in the subscript. Is there a wa

Re: [R] Fitting Hastie's principal surfaces in R

2017-01-01 Thread David Winsemius
> On Jan 1, 2017, at 12:26 PM, Bert Gunter wrote: > > I couldn't find anything, but you might try searching on "thin plate > splines" on rseek.org. I realize these are different than principal > surfaces, but they might nevertheless be useful to you. Or not. > > Cheers, > Bert > > > Bert Gu

Re: [R] Fitting Hastie's principal surfaces in R

2017-01-01 Thread Bert Gunter
I couldn't find anything, but you might try searching on "thin plate splines" on rseek.org. I realize these are different than principal surfaces, but they might nevertheless be useful to you. Or not. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming al

Re: [R] Date Column error: 'origin' must be supplied

2017-01-01 Thread Frederic Ntirenganya
Thanks. It is helpful! Frederic Ntirenganya Maseno University, African Maths Initiative, Kenya. Mobile:(+254)718492836 Email: fr...@aims.ac.za https://sites.google.com/a/aims.ac.za/fredo/ On Fri, Dec 30, 2016 at 5:58 PM, Achim Zeileis wrote: > On Fri, 30 Dec 2016, Frederic Ntirenganya wrote: >

Re: [R] how to extract weighted data in "survey" package

2017-01-01 Thread Anthony Damico
sum(apistrat$api00*apistrat$pw)/sum(apistrat$pw) On Sun, Jan 1, 2017 at 11:11 AM, Kristi Glover wrote: > Thank You Anthony for the message. > > Why did not I get the same values in the following examples? > > To get the adjusted value, should not we just multiphy by weight? For > example, I mult

Re: [R] how to extract weighted data in "survey" package

2017-01-01 Thread Kristi Glover
Thank You Anthony for the message. Why did not I get the same values in the following examples? To get the adjusted value, should not we just multiphy by weight? For example, I multiplied "api00" by "column "pw" (mean(apistrat$api00*apistrat$pw/100)) but I did not get the same value as of surve

Re: [R] how to extract weighted data in "survey" package

2017-01-01 Thread Anthony Damico
# load the survey library library(survey) # load the apistrat data.frame data(api) # look at the first six records head(apistrat) # look at the weight column only apistrat$pw On Sun, Jan 1, 2017 at 9:49 AM, Kristi Glover wrote: > Hi R Users, > > Happy New Year > > > I wanted to see the da

[R] Fitting Hastie's principal surfaces in R

2017-01-01 Thread Neverstop .
Hello, I need to summarize a three-dimensional dataset through a principal surface that passes through the middle of the data. Principal surfaces are non-linear generalization of the plane created by the first two principal components and provide a non-linear summary of p-dimensional dataset. P