Re: [R] R-hts

2018-01-10 Thread deva d
thanks jeff and jeremie, i am attaching 40 rows of the data, randomly picked from the large table. the vars are - entity (1-46, with some missing IDs not included due to missing data), group (1/2), sub group (1/2/3/4), year (2002-2016), y, x1 and x2 - large values included due to size of players

Re: [R] termplot intervals - SE or CI?

2018-01-10 Thread Eric Goodwin
Thanks for your prompt reply Duncan. I had indeed assumed they were what the help file says until observation raised doubts, which is why I queried it. >From reading the code for termplot(), it seems that either the predict() >function doesn't return the 1x standard error, or the curves plott

Re: [R] R-hts

2018-01-10 Thread Jeff Newmiller
Sorry Jérémie, I mis-read who the OP was. Deva needs to get the ball rolling. I would say that for a hierarchical analysis the sample data generally needs to be larger than for other types of analysis to illustrate correlation between classification variables or the example calculation will bre

Re: [R] R-hts

2018-01-10 Thread Jeff Newmiller
You are the one with data. Supply what you have (or a simulated version of same, hence the reading recommendation) using dput, and someone may suggest how to transform it. In most cases a simple tabular format (data frame) is sufficient. -- Sent from my phone. Please excuse my brevity. On Jan

Re: [R] R-hts

2018-01-10 Thread Jérémie Juste
Hello, It's difficult to help without a sample of the format. Can you provide a short sample like 10 lines and a few columns.? Best regards, Jeremie On Wed, Jan 10, 2018 at 6:12 PM, John Kane via R-help wrote: > Have a look at http://stackoverflow.com/questions/5963269/how-to-make- > a-great-

[R] Information installation package sjPlot

2018-01-10 Thread Luca Danieli
Hi all, I am new. I am installing the library sjPlot on Ubunto 16.10 and I guess it is installing some dependencies. But it is taking more than 1.5 hours, is it possible? It has right now halted (hope momentarily) in installing the package 'rstan', particularly the file lang__grammars__stateme

Re: [R] svm --- type~.

2018-01-10 Thread AbouEl-Makarim Aboueissa
got it thank you abou __ *AbouEl-Makarim Aboueissa, PhD* *Professor of Statistics* *Department of Mathematics and Statistics* *University of Southern Maine* On Wed, Jan 10, 2018 at 2:41 PM, AbouEl-Makarim Aboueissa < abouelmakarim1...@gmail.com> wrote: > Dear All: Just

[R] svm --- type~.

2018-01-10 Thread AbouEl-Makarim Aboueissa
Dear All: Just fixed where is the problem I am trying to use the R function "svm" with "type~." , but I got the following error message SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y, *type='C-classification'*, kernel='linear',scale=FALSE) *Error in eval(predvars, data, env) : object 'type' n

Re: [R] svm

2018-01-10 Thread David Winsemius
> On Jan 10, 2018, at 10:50 AM, AbouEl-Makarim Aboueissa > wrote: > > Dear All: > > > I am trying to use the R function "svm" with "type =C-classification" , > but I got the following error message > > > SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y, *type='C-classification'*, > kernel='l

[R] svm

2018-01-10 Thread AbouEl-Makarim Aboueissa
Dear All: I am trying to use the R function "svm" with "type =C-classification" , but I got the following error message SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y, *type='C-classification'*, kernel='linear',scale=FALSE) *Error in eval(predvars, data, env) : object 'type' not found* I am

[R] [shiny] How to read current URL address

2018-01-10 Thread Raphael Prates
Dears, I am trying to read the URL name (i.e "www.google.com") that I was redirected by my own code. What I already found that could help: session$clientData$url_protocol session$clientData$url_hostname session$clientData$url_pathname session$clientData$url_port session$clientData$url_search

Re: [R] R-hts

2018-01-10 Thread deva d
Thanks Jeremie My data has 40 entities clustered into 2 types (rural/urban) & two sub groups in each (bug/small). Panel will give me for all 40 v/s time id. Suppose I need to see rural v/s time or big urban v/s time, then how should I obtain findings...? Kindly advise is possible. Thanks and

Re: [R] R-hts

2018-01-10 Thread Jérémie Juste
Hello, Have a look at the plm package https://cran.r-project.org/web/packages/plm/index.html It has a convenient way to structure your data into panel according to some id. Best regards, Jeremie On Wed, Jan 10, 2018 at 5:41 PM, deva d wrote: > dear all, > > i need some help in structuring my

Re: [R] R-hts

2018-01-10 Thread John Kane via R-help
Have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html On Wednesday, January 10, 2018, 11:51:22 AM EST, deva d wrote: dear all, i need some help in structuring my data file for a hierarc

[R] R-hts

2018-01-10 Thread deva d
dear all, i need some help in structuring my data file for a hierarchical time series analysis. can someone help please ? i have a 600 row database in the nature of a panel data, with 3 time series values of interest. the data also has 4 classificatory variables comprising a code for each entity

Re: [R] [FORGED] Error occurring in "emmeans" package for the two data sets I used. Please help.

2018-01-10 Thread Akhilesh Singh
Thanks for your kind reply. Problem is solved. However, it's "confidence interval / treatment comparison plot" is not taking main title. And the fonts of axes labels can not be changed using 'cex' parameter. I will appreciate if you could help in this matter too. Dr. A. K. Singh On 09-Jan-2018 8:

[R] Problem with dbFD function in FD library

2018-01-10 Thread elisa elisa
Dear all, I have a question about FD package. I’m trying to calculate functional diversity indices using insect data. My trait data includes dispersal ability (0, 0.5, 1), body size (continuous) and five feeding guilds coded as in percentages (for example; 0,0,0.5,0.5,0) since some of the species

Re: [R] Error installing ggplot2 package

2018-01-10 Thread Marc Schwartz
Hi, If I am reading the messages below correctly, it would seem that Amelia did install ggplot2. However, what is not clear is the source and version of the ggplot2 package that she installed. The message would suggest that she installed a version of ggplot2 that was built for R-devel, which

Re: [R] Error installing ggplot2 package

2018-01-10 Thread Bert Gunter
Point of clarification: Packages other than those that are part of the "standard" r distro must first be "installed" from a package repository -- typically CRAN -- via the install.packages()* function before they can be accessed via the library() or require() function. Have you done this? See ?in