Re: [R] newbee Caret load question

2016-07-16 Thread Jim Lemon
Hi Lawrence, Try installing pbkrtest on its own: update.packages("pbkrtest") version 0.4.6 is up on CRAN, so this may allow you to make an end run. Jim On Sun, Jul 17, 2016 at 2:06 AM, Lawrence A. Janowitch wrote: > I'm trying to load the caret package in R-Studio

Re: [R] Troubleshooting Type III SS and drop1()

2016-07-16 Thread Bert Gunter
Omg omg! Search on "type III as R good or bad" or similar for why you should of should not be doing this. As for your specific question, I doubt that you'll get a useful reply until you post the code that elicited the error. Maybe not even then if it is due to estimability/overfitting of your

[R] R2WinBUGS with Multivariate Logistic Regression

2016-07-16 Thread Christopher Kelvin via R-help
Dear R-User, I have written a simple code to analyze some data using Bayesian logistic regression via the R2WinBUGS package. The code when run in WinBUGS stops WinBUGS from running it and using the package returns no results also. I attach herewith, the code and a sample of the dataset. Any

Re: [R] Matrix

2016-07-16 Thread Ashta
HI Denes, Duncan,Michael and all, Thank you very much for the helpful suggestion. Some of my data sets were not square matrix, however, Denes's suggestion," as.data.frame.table() ", handled that one. Thank you again. On Sat, Jul 16, 2016 at 7:27 PM, Dénes Tóth wrote:

[R] newbee Caret load question

2016-07-16 Thread Lawrence A. Janowitch
I'm trying to load the caret package in R-Studio (Version 0.99.902) on a Windows 10 OS using bootcamp windows connection on a MacBook Pro. I have used caret in the past, with no problems. My issue is I don't understand what this means and what I should do about it. I get: >

[R] Troubleshooting Type III SS and drop1()

2016-07-16 Thread Pamela Wong
Hi there I am trying to compute Type III SS plus model selection and find that an error pops up when I'm trying to use the drop1() function with a model output using Anova(). I am looking at effects of four factors and their interactions (with unbalanced sample sizes across some factor

[R] Including correlation between weights in multivariate regression

2016-07-16 Thread Eva Germovsek
Dear Rusers, We want to fit a multivariable normal distribution to multiple observation variables, where these are observed with uncertainty represented by a covariance matrix which is different for each individual. An example dataset (simplified) might look like this: set.seed(101010) nobs=20

Re: [R] Matrix

2016-07-16 Thread Dénes Tóth
On 07/17/2016 01:39 AM, Duncan Murdoch wrote: On 16/07/2016 6:25 PM, Ashta wrote: > Hi all, > > I have a large square matrix (60 x 60) and found it hard to > visualize. Is it possible to change it as shown below? > > Sample example (3 x 3) > > A B C > A 3 4 5 > B 4

Re: [R] [FORGED] Regression with factors ?

2016-07-16 Thread stn021
2016-07-13 20:09 GMT+02:00 Jeff Newmiller : > The formula interface as used in lm and nls searches for separate > coefficients for each variable.. it will take someone more clever than I to > figure out how to get the formula interface to think of two variables as >

Re: [R] Matrix

2016-07-16 Thread Michael Hannon
I'm not sure what the OP is looking for in the first two columns, but he does seem to be looking for only the diagonal and super-diagonal elements. Here's some code that makes output that looks similar to the "Desired output": mat1 <- matrix(rbind(c(3, 4, 5), c(4, 7, 8),

Re: [R] Matrix

2016-07-16 Thread Duncan Murdoch
On 16/07/2016 6:25 PM, Ashta wrote: > Hi all, > > I have a large square matrix (60 x 60) and found it hard to > visualize. Is it possible to change it as shown below? > > Sample example (3 x 3) > > A B C > A 3 4 5 > B 4 7 8 > C 5 8 9 > > Desired output > A A 3 > A B 4 >

[R] Matrix

2016-07-16 Thread Ashta
Hi all, I have a large square matrix (60 x 60) and found it hard to visualize. Is it possible to change it as shown below? Sample example (3 x 3) A B C A 3 4 5 B 4 7 8 C 5 8 9 Desired output A A 3 A B 4 A C 5 B B 7 B C 8 C C 9 Thank you in advance

[R] findAssocs in TM package in R help?

2016-07-16 Thread Shivi Bhatia
Good Day, I am working on a text mining assignment and have built the document matrix using the tm package. Now I need to run findAssocs from my dtm with some word say 'like' with a correlation of 0.70 but as far as i have been researching it tells it this function is only viable when we have

Re: [R] glmmLasso with interactions errors

2016-07-16 Thread David Winsemius
> On Jul 16, 2016, at 11:26 AM, Walker Pedersen wrote: > > Hi, > > Thanks for the response. > > The warnings and errors can be reproduced with the data and code I > included in my first mailing list post. I will provide the full output > at the end of this post. > I get: >

Re: [R] glmmLasso with interactions errors

2016-07-16 Thread Walker Pedersen
Hi, Thanks for the response. The warnings and errors can be reproduced with the data and code I included in my first mailing list post. I will provide the full output at the end of this post. By sketchy, I mean having a higher likelihood of resulting in overfitting. By more straightforward, I

Re: [R] glmmLasso with interactions errors

2016-07-16 Thread David Winsemius
> On Jul 16, 2016, at 9:29 AM, Walker Pedersen wrote: > > Thank you for the input Brian and Ben. > > It is odd how it seems to handle a two way interaction fine (as long > as the continuous variable is not in the mix), but not a 3-way. You should post code and data to

Re: [R] glmmLasso with interactions errors

2016-07-16 Thread Walker Pedersen
Thank you for the input Brian and Ben. It is odd how it seems to handle a two way interaction fine (as long as the continuous variable is not in the mix), but not a 3-way. In any case would anyone be able to give me a rundown of how I would create a matrix/dummy variable for these interactions

Re: [R] dependent p.values in R

2016-07-16 Thread Fernando Marmolejo Ramos
dear michael thanks for your input i do agree in visual tests (indeed a recent paper in TAS=http://amstat.tandfonline.com/doi/abs/10.1080/00031305.2015.1077728 ) as a matter of fact, the test i'm after is simply for comparative purposes with some visualisation techniques best f