Re: [R] setting the values of a secondary "y" axis

2017-05-06 Thread Antonio Silva
Many thanks Bill, that's it! Best wishes Antonio 2017-05-06 20:50 GMT-03:00 William Dunlap : > Does the following do what you want? > > > plot(log2(1:40), sin(1:40)) > > yTickPositions <- axTicks(2) > > axis(side=4, at=yTickPositions, lab=format(yTickPositions*3.5)) > > > Bill Dunlap > TIBCO So

Re: [R] setting the values of a secondary "y" axis

2017-05-06 Thread William Dunlap via R-help
Does the following do what you want? > plot(log2(1:40), sin(1:40)) > yTickPositions <- axTicks(2) > axis(side=4, at=yTickPositions, lab=format(yTickPositions*3.5)) Bill Dunlap TIBCO Software wdunlap tibco.com On Sat, May 6, 2017 at 2:50 PM, Antonio Silva wrote: > Hello > > I want to make a pl

[R] setting the values of a secondary "y" axis

2017-05-06 Thread Antonio Silva
Hello I want to make a plot with two "y" axes. The labels at axis 4 should be the values from axis 2 multiplied by a scale factor (as 3.5). In the example below I draw axis 4 exactly as axis 2. But I could not find a way to multiply its values by 3.5 (e.g.). plot(rnorm(100,30,5)) axis(4) # I'd l

Re: [R] nested for loop with data table

2017-05-06 Thread Ek Esawi
Thank you Jeff. Your idea, as i mentioned on my previous posting, did indeed work. I read somewhere that both data table dplyr do great many things and i plan to learn both as much as i can. Suggestions on this list either get you the answer you are looking for or give you lead to an answer. Thank

Re: [R] create a correct list from Document Term Matrix

2017-05-06 Thread David Winsemius
> On May 6, 2017, at 8:14 AM, David Winsemius wrote: > >> >> On May 6, 2017, at 7:47 AM, Elahe chalabi via R-help >> wrote: >> >> Hi all, >> >> I have a text classification task which is classification of a Control group >> and Alzheimer group texts. I have generated DocumentTermMatrix for

Re: [R] loading edited functions already in saved workspace automatically

2017-05-06 Thread Michael Friendly
On 5/5/2017 10:23 AM, Ralf Goertz wrote: Am Fri, 05 May 2017 07:14:36 -0700 schrieb Jeff Newmiller : R normally prompts you to save .RData, but it just automatically saves .Rhistory... the two are unrelated. Not here. If I say "n" to the prompted question "Save workspace image? [y/n/c]: " my

Re: [R] create a correct list from Document Term Matrix

2017-05-06 Thread David Winsemius
> On May 6, 2017, at 7:47 AM, Elahe chalabi via R-help > wrote: > > Hi all, > > I have a text classification task which is classification of a Control group > and Alzheimer group texts. I have generated DocumentTermMatrix for both > groups and then created a list with one extra element showi

[R] create a correct list from Document Term Matrix

2017-05-06 Thread Elahe chalabi via R-help
Hi all, I have a text classification task which is classification of a Control group and Alzheimer group texts. I have generated DocumentTermMatrix for both groups and then created a list with one extra element showing the group name if it's Alzheimer or control group, for example for the Alzhe

Re: [R] Problems installing IsoriX package in R

2017-05-06 Thread Vikash Kumar
Install the dependent packages also. Try - install.packages("proxy") #then install.packages("IsoriX") Regards, Vikash Virus-free. www.avast.com

Re: [R] 3D equal-spaced closed mesh

2017-05-06 Thread Michael Sumner
Rvcg another option to explore with its ball-pivoting surface reconstruction. Mike On Fri, May 5, 2017, 08:34 Bert Gunter wrote: > The r-sig-geo list and corresponding cran task view *might* be a better > place to post and/look. > > Bert > > > On May 4, 2017 12:51 PM, "Eric Krantz" wrote: > >