Re: [R] Question regarding package deSolve and R versions

2016-12-13 Thread Jeff Newmiller
You are approaching this the wrong way... you should be upgrading your version of R to be current. The deSolve package is up to date... it is your R that is behind. You should also read the Posting Guide which would have told you this and also that you need to post using plain text and mentio

Re: [R] Question regarding package deSolve and R versions

2016-12-13 Thread David Winsemius
> On Dec 13, 2016, at 3:08 PM, Shirley R wrote: > > To whom it may concern, > > I've run into trouble installing the crqa package. R error messages tell me > it is because I don't have the deSolve package. I cannot install the > deSolve package, but according to everything I've found online, my

[R] Question regarding package deSolve and R versions

2016-12-13 Thread Shirley R
To whom it may concern, I've run into trouble installing the crqa package. R error messages tell me it is because I don't have the deSolve package. I cannot install the deSolve package, but according to everything I've found online, my version of R (3.2.1) should be fine to work with deSolve. Is t

Re: [R] data manipulation

2016-12-13 Thread John McKown
On Tue, Dec 13, 2016 at 3:23 AM, Farshad Fathian wrote: > Hi, > > I couldn't access to data file about PSCoperwait by > http://massey.ac.nz/~pscoperwait/ts/cbe.dat. > ​First off, this post is nearly useless. You don't tell us what you tried to do. And you didn't tell us what error message you go

[R] how to show a plot without overlaying the text on top of the another text?

2016-12-13 Thread Marna Wagley
Hi R user, I have created using metaNMDS (Nonmetirc Multidimensional Scaling, MDS) to show species composition but some of the species are concentrated at some of the sites so that the name of the species are overlaid and it was almost impossible to read the species name in the figure. I was wonder

Re: [R] tests for significance on conditional inference trees from party package

2016-12-13 Thread Achim Zeileis
Adrian, thanks for your interest. On Tue, 13 Dec 2016, Adrian Johnson wrote: Dear group, Please allow me to ask a naive question and pardon if it is qualified as stupid question. I am using party package to classify covariates and predict distribution of survival times for the classified var

[R] tests for significance on conditional inference trees from party package

2016-12-13 Thread Adrian Johnson
Dear group, Please allow me to ask a naive question and pardon if it is qualified as stupid question. I am using party package to classify covariates and predict distribution of survival times for the classified variables. Typically I have a matrix of covariates (columns) including outcome data (o

Re: [R] Unable arrange the functions according to the requirement in the help page of my package.

2016-12-13 Thread Bert Gunter
Please post at r-package-devel, not here. You will probably get a faster, better response there, too. 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] data manipulation

2016-12-13 Thread Rui Barradas
Hello, And what has your question to do with R? Please read the posting guide before posting and when you do, post a question where at least the link is correct. Rui Barradas Em 13-12-2016 09:23, Farshad Fathian escreveu: Hi, I couldn't access to data file about PSCoperwait by http://mas

Re: [R] Can't install packages from ESS command line after upgrading to R 3.3.2 on MacOS

2016-12-13 Thread David Winsemius
> On Dec 13, 2016, at 8:15 AM, Gonçalo Ferraz wrote: > > Hi, > > I just upgraded R to version 3.3.2 on a Mac OS X system. I suspect something > may have gone wrong with the installation (despite a ‘successfully installed’ > message) because the R.App is nowhere to be found. There are two di

[R] data manipulation

2016-12-13 Thread Farshad Fathian
Hi, I couldn't access to data file about PSCoperwait by http://massey.ac.nz/~pscoperwait/ts/cbe.dat. Looking forward to hearing from you, [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and mo

[R] Unable arrange the functions according to the requirement in the help page of my package.

2016-12-13 Thread Pijush Das
Hello Sir, I am trying to create my package in R. I have few functions for this package. After including all the functions in the package, I have seen that the help page does not contain the functions sequentially as it is demanded by the package. e.g. The package requires the function arrangeme

[R] WaveletComp with as.POSIXct Showing Error on Date for: 2000-01-01 Format

2016-12-13 Thread Muhammad Anees
Dear All, I tried to find an answer everywhere including stackoverflows and manuals but there is no specific solution that might have helped. Hence, I am sure you will bear with me for this first query. I am trying to replicate production of Wavelet Coherency using the following codes: I dont kno

Re: [R] Reshape to wide format

2016-12-13 Thread David L Carlson
You can also use function reshape() in stats: temp$ID<-paste(temp$iso3,temp$lon,temp$lat,sep="") wide <- reshape(temp, v.names="precip", timevar="ID", idvar="month", direction="wide", drop=c("iso3", "lon", "lat", "dm")) wide month precip.AFG6132 precip.AFG6133 1 1 0.9966658

Re: [R] Log plus one transformation in R

2016-12-13 Thread John Sorkin
Duncan, Thank you. You are correct no one answered my question , despite the fact that several people reply to my email, until you replied. Your exclamation is quite clear and I thank you for your kindness. I did not pursue my question any further as I was concerned that I would be flamed. John

Re: [R] Log plus one transformation in R

2016-12-13 Thread Duncan Murdoch
On 12/12/2016 12:26 PM, John Sorkin wrote: David, I did read the help page. All it says is log1p(x) computes log(1+x) accurately also for |x| << 1 (and less accurately when x is approximately -1). This gives me pause. Does it mean that log(x) does not give accurate results? If log1p gives mor

[R] Can't install packages from ESS command line after upgrading to R 3.3.2 on MacOS

2016-12-13 Thread Gonçalo Ferraz
Hi, I just upgraded R to version 3.3.2 on a Mac OS X system. I suspect something may have gone wrong with the installation (despite a ‘successfully installed’ message) because the R.App is nowhere to be found. Nevertheless, I can open R in ESS. The problem is I can’t install packages from ther

[R] R.app not installing

2016-12-13 Thread Gonçalo Ferraz
Hi, Has anyone had problems installing R version 3.3.2 on Mac OS X 10.11.6? I am trying to install from the binary and the R.app is nowhere to be found. It is not in my applications folder and does not appear in the spotlight search. I can open R with ESS, but then can’t install packages from ther

Re: [R] K-modes clustering : how to choose the number of clusters?

2016-12-13 Thread David L Carlson
Function NbClust() in package NbClust computes 30 different indices for determining the number of clusters. - David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-

Re: [R] Merging two columns of unequal length

2016-12-13 Thread Jeff Newmiller
I frequently work with mismatched-length data, but I think I would rarely want this behaviour because there is no compelling reason to believe that all of the NA values should wind up at the end of the data as you suggest. Normally there is a second column that controls where things should line

Re: [R] how do I define a function which is equivalent to `deparse(substitute(x))`?

2016-12-13 Thread Fox, John
Dear Bert, I'm tempted to let this thread drop, since I like your last solution better than mine: it's clearer and more robust -- in fact, I don't see a way to break it -- and the approach you used to write it generalizes better to other problems. But if the object is to produce a function that

[R] K-modes clustering : how to choose the number of clusters?

2016-12-13 Thread 이아름
Dear all. I tried to cluster the data with categorical variables with K-modes using klaR packages. I tried to find the optimal number of clusters by considering the average silhouette width though.. In k-modes, however, the average silhouette width increases, when the the number of c

Re: [R] Merging two columns of unequal length

2016-12-13 Thread William Michels via R-help
You should review "The Recycling Rule in R" before attempting to perform functions on 2 or more vectors of unequal lengths: https://cran.r-project.org/doc/manuals/R-intro.html#The-recycling-rule Most often, the "Recycling Rule" does exactly what the researcher intends (automatically). And in many

Re: [R] Reshape to wide format

2016-12-13 Thread Jim Lemon
Hi Milu, I may have the wrong idea, but is this what you want? temp$ID<-paste(temp$iso3,temp$lon,temp$lat,sep="") library(prettyR) newtemp<-stretch_df(temp,"month","precip")[,c(5,7,8)] names(newtemp)<-c("month",unique(temp$ID)) Jim On Tue, Dec 13, 2016 at 4:10 AM, Miluji Sb wrote: > Dear all,