Re: [R] R package for meta-analysis from z scores

2020-01-20 Thread Michael Dewey
Dear James Your question really boil down to whether you can estimate tau^2, the between study variance of the effect sizes, if you only have p-values. As far as I can see the answer has to be no. Michael On 16/01/2020 13:10, james poweraid wrote: Hello, I have a set of Z scores from an N

Re: [R] "In sqrt(VS) : NaNs produced"

2020-01-20 Thread Michael Dewey
Your script and data were stripped so we are none the wiser I am afraid. You need to embed the script in your post and give a minimal data-set which exhibits the problem using dput() and embed that in the post too. Michael On 19/01/2020 08:25, Atul Saini wrote: Hello R, I am

Re: [R] all the MAE metric values are missing (Error message)

2019-12-23 Thread Michael Dewey
What Jim is alluding to is that sometimes in the process of reading in data a small typo can mean that what was intended to be a numeric variable is read in as a factor. So he was suggesting that you double check that this has not happened to you. Michael On 23/12/2019 11:45, Neha gupta

Re: [R] Orthogonal polynomials used by R

2019-11-28 Thread Michael Dewey
Dear Ashim As John said your two examples give the same model to within rounding error so it is not clear what you see the problem as being. You can always remove some of the correlation by subtracting out a large constant from x before you use poly() on it. Michael On 28/11/2019 16:02

Re: [R] [r] How to obtain the correlation coefficients between two variables in the R object

2019-11-25 Thread Michael Dewey
To get multiple plots on the same physical page try ?layout ot look through the various option under ?par I do not know enough about DCC models to answer how you get correlations. Michael On 25/11/2019 10:34, Subhamitra Patra wrote: Dear R-users, I am estimating the DCC-model by using the

Re: [R] Creating map in R

2019-11-22 Thread Michael Hannon
Yep, I had that same thought after I posted a reply to the OP. Not to discourage anybody from reading the posting guide, but a quick look at it suggests that the following might be useful in this case: https://stat.ethz.ch/mailman/listinfo/r-sig-geo On Thu, Nov 21, 2019 at 9:48 PM Jeff Newmiller

Re: [R] Read shp file

2019-11-21 Thread Michael Hannon
I can't help you locate the .shx file, but the gist of it is that a "shapefile" actually requires a minimum of three files: https://knowledge.autodesk.com/support/autocad-map-3d/learn-explore/caas/sfdcarticles/sfdcarticles/Required-files-that-make-up-a-shapefile.html The .shx file is an index of

Re: [R] QQ plot

2019-11-13 Thread Michael Dewey
then why not: 1 - plot a sample of your 5 million drawn at random 2 - bin the data and plot median p-value against median expected 3 - deal with overlap by choosing a graphical device which supports transparency and plot points in very light grey so the overlap is more visible. Michael On 12/11

Re: [R] how to calculate multiple meta p values

2019-10-30 Thread Michael Dewey
thought of it before. When I next update metap I will try to get it to degrade more gracefully when it finds an error. Michael On 28/10/2019 19:06, Ana Marija wrote: Hi Michael, I tried what you proposed with my data frame q: head(q) IDP G

Re: [R] how to calculate multiple meta p values

2019-10-27 Thread Michael Dewey
have not tested any of this but the general idea should be OK even if the details are wrong. Michael How to use this sunz() function to create a new data frame which would look the same as tt only it would have additional column, say named "META" which has calculated meta p values f

Re: [R] negative vector length when merging data frames

2019-10-24 Thread Michael Dewey
Dear Ana Since this appears to be genetics data have you thought of looking at Bioconductor for help? I do not use genetic data-sets but people there must use big files every day three times before breakfast. Michael On 24/10/2019 00:33, Ana Marija wrote: thanks but I would need solution

Re: [R] Creating a before-and-after variable in R

2019-10-03 Thread Michael Dewey
Dear Faradj I am afraid your post is unreadable since this is a plain text list and you sent in HTML. Michael On 03/10/2019 12:17, Faradj Koliev wrote: Dear R-users, I need an urgent help with the following: I have a country-year data covering the period 1982 - 2013. I want to assess how

[R] Packages for Nonlinear ARIMA Estimation

2019-09-04 Thread Michael Howell
Hello, I am looking for an R package that uses nonlinear least squares to fit ARIMA models. Initially I was using tseries but according to the documentation for the Arima function in tseries: *The exact likelihood is computed via a state-space representation of the ARIMA process, and the innovatio

Re: [R] I wrote the document for extended usage of my pyramid package

2019-08-29 Thread Michael Dewey
Dear Minato That is a nice idea, but why not make it a vignette of your package on CRAN so it is immediately accessible to anyone using the package? Michael On 29/08/2019 07:15, Minato Nakazawa wrote: Dear R-users, I have developed the package pyramid, which has been available from CRAN

Re: [R] parsing files with "\" character

2019-08-27 Thread Michael Dewey
Dear April Can you show us an example of what you are trying to do and how it fails? There are rules about backspaces but I find that if one backspace does not work try two, three, four until it works. It would be better to understand the rules but life is short. Michael On 27/08/2019 06

Re: [R] Code modification for post-hoc power

2019-08-27 Thread Michael Dewey
nt that I was including as a parameter something which was not of the type which the program expected. I would suggest as a first step not using attach() at all and instead using data=geefile in the call to gee or investigating the with() command if it does not allow a data parameter. On 27/08/2019

Re: [R] Code modification for post-hoc power

2019-08-27 Thread Michael Dewey
Dear Anne Can you resend the eror message which you accidentally sent only to me please? Michael On 27/08/2019 08:02, CHATTON Anne wrote: Dear Michael, Thanks a lot for your suggestion. This is what I am trying to do with R (longpower and gee packages). But I am getting stuck with a

Re: [R] Code modification for post-hoc power

2019-08-26 Thread Michael Dewey
t but brute force should work. Michael On 26/08/2019 13:42, Marc Schwartz via R-help wrote: On Aug 26, 2019, at 6:24 AM, CHATTON Anne via R-help wrote: Hello everybody, I am trying to accommodate the R codes provided by Donohue for sample size calculation in the package "longpower"

Re: [R] Modelos neural netwok

2019-07-28 Thread Michael Dewey
Hay una lista en castellano https://stat.ethz.ch/mailman/listinfo/r-help-es Michael On 27/07/2019 18:41, Agustín Alonso Rodriguez wrote: Estimados miembros de la Lista: Me dirijo a vosotros para que, si pod�is, ilumin�is mi confusi�n. Estoy trabajando con los modelos neural netwok del

[R] [R-pkgs] ceramic - download web map tiles to local cache

2019-07-24 Thread Michael Sumner
GitHub: https://github.com/hypertidy/ceramic Thank you. -- Michael Sumner Software and Database Engineer Australian Antarctic Division Hobart, Australia e-mail: mdsum...@gmail.com [[alternative HTML version deleted]] ___ R-packages mailing li

Re: [R] Printing vector

2019-07-23 Thread Michael Friendly
Nice to see William Dunlap take the trouble to mimic the classic Fortran behavior of printing for numbers that don't fit in the given width :) -Michael On 7/22/19 6:33 p.m., William Dunlap via R-help wrote: The following mimics Fortran printing with format F.. print1 <- fun

Re: [R] Using options(max.print = 1000000) to read in data

2019-07-09 Thread Michael Friendly
. -Michael On 7/09/19 2:44 p.m., Spencer Brackett wrote: > So even though a number of rows were omitted  during the ‘print in’ or > visualization of the dataset into my console, the data frame is now > set as a matrix? I believe so, per Mr. Barradas’s last email. Sorry > for the conf

Re: [R] Using options(max.print = 1000000) to read in data

2019-07-09 Thread Michael Friendly
Why do you need it to be a matrix? A data.frame is like a matrix, but allows columns of mixed types. as.matrix() will coerce your data frame to a matrix if you really need this. On 7/08/19 4:43 p.m., Spencer Brackett wrote: Using str(GBM.txt) produced the same output as last time, which lists

Re: [R] R 3.6.1 is released

2019-07-05 Thread Michael Friendly
On a nice summer day in the Fitou region of France, I feel like asking all R-help folks to raise a glass of their favorite beverage in a toast to the R / CRAN maintainers. Thanks for your efforts! -Michael -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept

Re: [R] How to combine the results of different survey?

2019-06-04 Thread Michael Dewey
___ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Michael http://www.dewey.myzen.co.

[R] How to specify distribution of forecast predictions?

2019-06-01 Thread Michael Howell
Good afternoon, I know that packages like r-forecast will create confidence intervals for forecasts which can then be plotted. However I am doing something experimental and would like to specify my own prediction distributions and then graph them. Can anyone tell me if there is some package or func

Re: [R] Problema estrazione file in formato "large STFDF" in formato "ASCII" compatibile con GIS

2019-05-22 Thread Michael Dewey
Dear Agostino I am afraid this list is an English language one but I suggest that as well as trying to translate your message you post on the list which specialises in this sort of thing https://stat.ethz.ch/mailman/listinfo/r-sig-geo where they may be better able to help you. Michael On

Re: [R] how to separate string from numbers in a large txt file

2019-05-19 Thread Michael Boulineau
ain, so 2016-01-27 09:15:20 would have to be an entire unit, an expression. So I guess what I don't understand is how ^([0-9-]{10} [0-9:]{8} )[*]{3} can be an entire expression, although my hunch would be that it has something to do with the ^ or with the space after the } and before the (, as in

Re: [R] how to separate string from numbers in a large txt file

2019-05-19 Thread Michael Boulineau
er with : for 8 characters, followed by any two words separated by a space and enclosed in <>. And then the \\s* is followed by a single space? Or maybe it puts space on both sides (on the side of the #s to the left, and then the comment to the right). The (.+)$ is anything whatsoever un

Re: [R] how to separate string from numbers in a large txt file

2019-05-18 Thread Michael Boulineau
x (the one where I made object d above). Thanks for your help everyone. I really learned a lot. The first thing I'm going to do is continue to study regular expressions, although I do have a much better sense of them than when I started. But, before I do anything else, I'm going to study the rege

Re: [R] how to separate string from numbers in a large txt file

2019-05-18 Thread Michael Boulineau
*(.*$)", + c, proto=data.frame(stringsAsFactors=FALSE, When="", Who="", + What="")) > head (d) When Who What 1 2 3 4 5 6 I've been reading up on regular expressions, too, so this co

Re: [R] how to separate string from numbers in a large txt file

2019-05-17 Thread Michael Boulineau
come from the byte > >order > >mark that Windows apps like to put at the front of a text file in UTF-8 > >or > >UTF-16 format. > > > >Bill Dunlap > >TIBCO Software > >wdunlap tibco.com > > > > > >On Fri, May 17, 2019 at 11:53 AM Michael

Re: [R] how to separate string from numbers in a large txt file

2019-05-17 Thread Michael Boulineau
:]]{2}-[[:digit:]]{2} + [[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2}) +(<[^>]*>) *(.*$)", + a, proto=data.frame(stringsAsFactors=FALSE, When="", Who="", + What="")) But all I got was this: > c [1:1

Re: [R] how to separate string from numbers in a large txt file

2019-05-16 Thread Michael Boulineau
the switch from 84 to 85, I guess. It went on like [990] "//1,//2,//3,//4" [991] "//1,//2,//3,//4" [992] "//1,//2,//3,//4" [993] "//1,//2,//3,//4" [994] "//1,//2,//3,//4" [995] "//1,//2,//3,//4" [996] "//1,//2,//3,//4" [

Re: [R] how to separate string from numbers in a large txt file

2019-05-16 Thread Michael Boulineau
be in a column all to itself, as will be the "I've'"and the "never" etc. I will use a regular expression if I have to, but it would be nice to keep the dates and times on there. Originally, I thought they were meaningless, but I've since changed my mind on that count. Th

[R] how to separate string from numbers in a large txt file

2019-05-15 Thread Michael Boulineau
pe fish was fishy in a good eay 💘 🍑🍑🍑 British security is a little more rigorous... To be clear, then, I'm trying to clean a large text file by writing a regular expression? such that I create a new object with no numbers or dates. Michael _

Re: [R] Different predictions with forecast::auto.arima()

2019-05-15 Thread Michael Howell
Thank you very much for your advice. On Tue, May 14, 2019 at 11:01 PM Abby Spurdle wrote: > > This is definitely a statistics question still so not on topic here... > as changing the data is exactly the kind of thing that can have this > effect. > > I'm sorry. > I disagree. > This is a question

Re: [R] Different predictions with forecast::auto.arima()

2019-05-14 Thread Michael Howell
Oh I see. Nevermind then. On Tue, May 14, 2019 at 1:57 PM Jeff Newmiller wrote: > This is definitely a statistics question still so not on topic here... as > changing the data is exactly the kind of thing that can have this effect. > > On May 14, 2019 10:51:20 AM MDT, Michael How

[R] Different predictions with forecast::auto.arima()

2019-05-14 Thread Michael Howell
differences in the code. The only thing passed to it was the data. How might this happen? The (2,1,0) model works better so I would like to be able to reproduce the results. Regards, Michael Howell [[alternative HTML version deleted]] __ R-help@r

Re: [R] Error message when adding drift for Arima model

2019-05-13 Thread Michael Howell
Yes that is a little off topic but I will look into it more. Thank you very much for your help. Michael On Mon, May 13, 2019 at 11:33 AM Rui Barradas wrote: > Hello, > > Sorry for the late reply. > Inline. > > Às 17:54 de 10/05/19, Michael Howell escreveu: > > Rui, &g

[R] Error message when adding drift for Arima model

2019-05-09 Thread Michael Howell
Hello everyone, So this is my first post to this list, I'm trying to fit an Arima (2,0,0) model and I think a drift term would help but I'm getting an error term when I'm trying to include it. Here is my data: -6.732172338 -2.868884273 -5.371585089 -6.512740463 -4.171062657 -5.738499071 -3.3439471

Re: [R] Survuval Anaysis

2019-05-02 Thread Michael Dewey
Without more details it is hard to answer but it is suspicious that it is dropping one of your predictors and the standard errors of the other are very large. This suggests you should investigate the joint distribution of your predictors and the events. Michael On 02/05/2019 13:37, Haddison

Re: [R] R 3.4.4 is released

2019-04-18 Thread Michael Dewey
Dear Stephen Questions about RStudio ae best asked in their help forums but I would definitely install the latest version of R and RStudio and do update.packages before asking Michael On 18/04/2019 13:19, Stephen Muldoon wrote: Hi, I am new to R studio. If my R studio continually asks to

Re: [R] lm fails on some large input

2019-04-18 Thread Michael Dewey
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- This email has been checked for viruses by AVG. https://www.avg.com -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailin

Re: [R] combining data.frames with is.na & match (), two questions

2019-04-18 Thread Michael Dewey
h/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- This email has been checked for viruses by AVG. https://www.avg.com -- Michael http://www.dewey.myzen.co.uk/home.html _

Re: [R] Unable to load built In Datasets From Stat2Data package.

2019-04-15 Thread Michael Dewey
o UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- This email has been checked for viruses by AVG. https://www.avg.com -- Mic

[R] Color-coding data points in complex dotplot (ggplot2)

2019-04-06 Thread Michael Eisenring
Dear R-List members, I produced a dot plot (see attachment 1) on 6 different treatments (trees under 6 different conditions; in column " Location.Treatment " in my raw data). For each of these " Location.treatment" categories, I calculated a mean value and the SE for a specific compound (%CT). I

Re: [R] Structuring data for Correspondence Analysis

2019-03-30 Thread Michael Friendly
ete Data Analysis with R, http://ddar.datavis.ca/ best, -Michael On 3/29/2019 9:35 AM, Alfredo wrote: Hi, I am very new to r and need help from you to do a correspondence analysis because I don't know how to structure the following data: Thank you. Alfredo library(ca,lib.loc=folde

Re: [R] Problem with forest plot in 'meta' after update and byvar command

2019-03-22 Thread Michael Dewey
Dear Antonello There is a mailing list dedicated to meta-analysis and R. People from the team behind the package you mention do post there. https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis// Remember to register first please. Michael On 21/03/2019 22:04, Antonello Preti wrote

Re: [R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-20 Thread Michael Dewey
behaviour you should never need to explicitly use any of the other plot methods. The same applies to all the other methods like print() summary() and so on. Michael On Sun, 17 Mar 2019 at 14:38, Jeff Newmiller wrote: Please keep the mailing list included in the thread. I can't tell if

Re: [R] Installing package into...

2019-03-12 Thread Michael Dewey
Dear Steven If you use install,packages() from within R there is a lib argument. I do not use RStudio so not sure how it works there. Michael On 12/03/2019 15:05, Steven Yen wrote: I install package using either the command line or Tools -> Install packages... (in RStudio) and get a

Re: [R] Randomization Test

2019-02-28 Thread Meyners, Michael
ood background in that field. What you are suggesting is not near it, and unless you have a clear hypothesis and a good understanding of how the data was generated, it is impossible for you (and anyone else) to say how such a test might be designed. Michael > -Original Message- >

Re: [R] add points to lattice cloud plot (3D scatter)

2019-02-28 Thread Michael Dewey
Not sure whether this helps but try library(lattice) ?llines Note that is indeed a double ll at the start Michael On 28/02/2019 10:39, Luigi Marongiu wrote: Dear all, is it possible to add points to a lattice cloud plot (3D scatter)? I can plot the main data, but what if I wanted to add

Re: [R] Remove cases with -Inf from a data frame

2019-02-16 Thread Michael Dewey
. -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

Re: [R] Randomization Test

2019-02-08 Thread Meyners, Michael
based on the information provided (and I won't be able to look at excessive code to check either). Michael > -Original Message- > From: R-help On Behalf Of Ogbos Okike > Sent: Montag, 28. Januar 2019 19:42 > To: r-help > Subject: [R] Randomization Test > >

Re: [R] very slow code execution

2019-02-07 Thread Michael Dewey
Well I do not know about data.table but in standard R if you go AICc[,1] <- 3 it fills the whole column with 3 so you will end up with a table with the last value of AICc stored in every row which is almost certainly not what you want. Michael On 06/02/2019 14:15, salah maadawy wrote:

Re: [R] very slow code execution

2019-02-06 Thread Michael Dewey
This is not an answer to your speed problem but are your assignments to AICc[,1] and so on doing what you hope they are doing? Michael On 06/02/2019 12:03, salah maadawy wrote: i am a beginner regarding R but i am trying to do a simple thing, but it is taking too much time and i am asking if

Re: [R] Extract the coordinates of a Polylines

2019-02-01 Thread Michael Sumner
Best Regards > > Javad Bayat > > M.Sc. Environment Engineering > > Alternative Mail: bayat...@yahoo.com <mailto:bayat...@yahoo.com> > > [[alternative HTML version deleted]] > > __ >

Re: [R] Tinn-R: new website under https protocol / fortune nomination

2019-01-19 Thread Michael Friendly
... the height of your flight depends only on you! -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. & Chair, ASA Statistical Graphics Section York University Voice: 416 736-2100 x66249 Fax: 416 736-5814 4700 Keele StreetWeb: http://www.datavi

Re: [R] Printing a list of simultaneous equations

2019-01-19 Thread Michael Friendly
statistics and Informatics University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410-605-7913 (Please call phone number above prior to faxing

Re: [R] A priori contrast for binomial GLM

2019-01-18 Thread Michael Dewey
Dear Rula That is really a statistical question not one for this list but the answer is that the fact that they are all zero for that category explains it. Search on-line for separation for more details. Michael On 18/01/2019 09:56, Rula Domínguez wrote: Hello to everyone, after much

Re: [R] randomForest out of bag prediction

2019-01-13 Thread Michael Mayer
predict(diachp.rf, dataX) returns the in-sample predictions, not the OOB predictions. The response variable «quality» is only used during model fit, not during prediction. Since in-sample predictions of random forests are typically grossly overfitted by construction, extremely high accuracie

Re: [R] Warning message: NAs introduced by coercion

2019-01-08 Thread Michael Dewey
Dear Meriam Your csv file did not come through as attachments are stripped unless of certain types and you post is very hard to read since you are posting in HTML. Try renaming the file to .txt and set your mailer to send plain text then people may be able to help you better. Michael

Re: [R] Mailinglist

2019-01-06 Thread Michael Dewey
Dear Rachel Not sure if this is going to help but if it is a csv file then read.csv() is your friend. Read the help first in case you need to specify what is being used for the decimal point and the separator as if it is from the Netherlands they may not be the default settings. michael On

Re: [R] Problem with Kruskal–Wallis test

2018-12-23 Thread Michael Dewey
I think you need to talk to someone who uses your sort of geographic data to find out what an appropriate metric for comparing your variables is. Only then will you know what might be a suitable way forward. Michael On 22/12/2018 17:27, Giuseppe Cillis wrote: Dear Michael, Thanks for your

Re: [R] Glitch in Kruskal-Wallis test?

2018-12-22 Thread Michael Dewey
Dear Jenny What exactly do you think you are testing here? You are telling K-W you have seven groups each with a single value which is not the usual situation for K-W. Michael On 22/12/2018 04:58, Jenny Liu wrote: Hi everyone, I have been running a K-W test with the attached data, PupMort1

Re: [R] Problem with Kruskal–Wallis test

2018-12-22 Thread Michael Dewey
differences between groups and calculate a confidence interval for it. Michael On 21/12/2018 15:37, Giuseppe Cillis wrote: Dear all, I am a beginner with R (and also with the statistics) for which I hope to be clear. I should do this non-parametric test on data I extracted from maps. In practice

Re: [R] Problem with Plotting in R

2018-12-18 Thread Michael Dewey
BE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Michael http://www.dewey.myzen.co.uk/home.html _

Re: [R] how to keep colnames of matrix when put it into a data frame

2018-12-09 Thread Michael Dewey
Dear Jinsong Try cbind(x = 1:3, mat) and see if that helps Michael On 09/12/2018 15:05, Jinsong Zhao wrote: Hi there, In the following mini-example, I hope to keep the column names of mat, but failed. # mini-example mat <- matrix(1:9, nrow = 3) colnames(mat) <- paste("("

Re: [R] meta analysis for sensitivity and specificity

2018-12-07 Thread Michael Dewey
I suggest using the mailing list dedicated to meta-analysis in R https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis// Michael On 06/12/2018 21:38, greg holly wrote: Does anyone know any R library that runs meta-analysis in SAS differently for Sensitivity and Specificity if I hav

Re: [R] Help with factor column replacement value issue

2018-11-16 Thread Michael Dewey
Dear Bill When you do your step of replacing lower case l with upper case L the level still stays in the factor even though it is empty. If that is a nuisance x <- factor(x) will drop the unused levels. There are other ways of doing this. Michael On 16/11/2018 15:38, Bill Poling wr

Re: [R] glmutli package assistance please

2018-11-15 Thread Michael Dewey
Dear Bert Since glmulti operates on glm/lm models I think, although I agree about not cross-posting, that it was OK here. Perhaps I do not understand the full significance of mixed models though. Michael On 15/11/2018 15:43, Bert Gunter wrote: Please do not cross post (see te posting guide

Re: [R] glmutli package assistance please

2018-11-15 Thread Michael Dewey
Dear Bill I am not sure what is going on here but I notice that 2 of your covariates are numeric and 3 integer. What happens if you make them all numeric? Michael On 15/11/2018 11:46, Bill Poling wrote: Hi, I have removed the pdf which was causing my e-mail to be blocked by moderators, my

[R] ANNOUNCE: ASA Data Challenge Expo, 2019

2018-11-14 Thread Michael Friendly
Challenge Expo has been important in the history of R development, and a number of these have been used as examples in a wide range of teaching and R packages.  Encourage your colleagues and students to consider this! -Michael Three ASA sections (Computing, Government, and Graphics) are proud to

Re: [R] extrat non diagonal value

2018-11-14 Thread Michael Dewey
. Michael On 14/11/2018 11:19, malika yassa via R-help wrote: helloplease i have this matrixx<-rnorm(6,0,1) aa<-matrix(x,nrow=6,ncol=6) i have to extrat non diagonal value, i use this code matrix(as.numeric(aa)[!as.numeric(aa) %in% diag(aa)],5,6) but i didn't get the resu

Re: [R] which element is duplicated?

2018-11-12 Thread Michael Sumner
ady exist somewhere, or is it easy to write? > > Duncan Murdoch > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > htt

Re: [R] summary function did not work with multcomp with 27 comparisons

2018-11-11 Thread Michael Dewey
Dear Richard If you look in the R-help archives you will find that Gerrit Eichner suggested that you might need to be more patient. Try using increasing numbers of comparisons from 4 and plot time taken against n of comparisons then extrapolate to 27. Michael On 11/11/2018 00:51, Friedman

Re: [R] metafor all list elements must be square matrices

2018-10-25 Thread Michael Dewey
https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis// and remember to register first. Michael On 24/10/2018 22:35, Crean, Hugh wrote: This may be a very simple fix, but I am struggling to reproduce Becker's (1988) imputation of control group effect sizes for single group trials.

Re: [R] install issue with survey package?

2018-10-12 Thread Michael Dewey
Dear Al It looks like the problem may be the embedded space in Al Nerdi What happens if you manually download the tar.gz file, put it somewhere convenient and then from the commend line run R CMD INSTALL survey_3.34.tar.gz You will need to make sure R is on your path first Michael On 12

Re: [R] Genuine relative paths with R

2018-10-11 Thread Michael Friendly
people reply and you then rebut. ENOUGH ALREADY. This thread has been going on for nearly a week. Choose something that works for you, have a cup of tea, go for a run, get a life. Please do not bother to reply. -Michael On 10/10/2018 8:08 PM, Olivier GIVAUDAN wrote: I think Gabor (at least

Re: [R] Requesting for help on the problem of "subscript out of bounds"

2018-10-07 Thread Michael Dewey
o say thanks to both of you. One small help (if possible) that I want to plot that particular APEn values for each series. Only, I will write the code "plot (r)" or any other code is there? Please help. Thanks in advance. -- Michael http://www.dewey.myzen.co.uk/home.html ___

Re: [R] Strange paradox

2018-10-06 Thread Michael Friendly
usted R-square. Yet the p-value associated with the deviance statistic is highly significant (p=0.0047), suggesting that the confounders (x3 and x4) account for the prediction of the dependent variable. Does anyone have an explanation of this strange paradox? Thank you for any suggestion. Anne

Re: [R] About uniroot error

2018-09-25 Thread Michael Dewey
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org

[R] Instagram Analysis

2018-09-25 Thread Michael Haenlein
this package is quite old (August 2016) and seems not to have been updated in the meantime. Is there a new package or any other way to get this information in an easy way? Thanks, Michael [[alternative HTML version deleted]] __ R-help@r-projec

Re: [R] Smallest Space Analysis (SSA) in R

2018-09-23 Thread Michael Friendly
On 9/22/2018 6:49 AM, Andrew wrote: Hi Michael This looks like it could be really helpful in moving my project forwards thank you. I remember many years ago using (proprietary) software from the University of Liverpool which did a nice job of allowing regions to be defined, and then for

Re: [R] Smallest Space Analysis (SSA) in R

2018-09-21 Thread Michael Friendly
nd a variety of measures of goodness-of-fit ("stress"). I don't recall the details of the SSA programs, but that should matter little conceptually. The smacof package offers the widest array of possibilities. -Michael On 9/19/2018 7:00 AM, Andrew wrote: Hi As part of my for

Re: [R] Unable to update R 3.4 to R 3.5 in Ubuntu 18.04 LTS

2018-09-17 Thread Michael Hannon
I didn't find an attached file, but I'm using Ubuntu 18.04 and have upgraded R to version 3.5. I don't recall exactly how I did the upgrade, but it must have been something like: https://www.digitalocean.com/community/tutorials/how-to-install-r-on-ubuntu-18-04-quickstart -- Mike $ cat /etc/os-r

Re: [R] New to R

2018-09-15 Thread Michael Dewey
Dear Jim Without knowing what l.out is this might be tricky. What does str(l.out) tell you it is. And is CVS a typo for csv? Michael On 14/09/2018 19:00, Jim Blackburn wrote: I am newly subscribed to r-project. I have recently plunged into R on a totally self-taught basis (may not have

Re: [R] ANOVA Permutation Test

2018-09-03 Thread Meyners, Michael
xt book by Edgington & Onghena for details on permutation tests, and there are plenty of papers out there addressing them in various contexts, which will help to understand *why* you observe what you observe here. HTH, Michael > -Original Message- > From: R-help On Behalf O

Re: [R] ANOVA Permutation Test

2018-09-03 Thread Michael Dewey
Dear Juan I do not use the package but if it does permutation tests it presumably uses random numbers and since you are not setting the seed you would get different values for each run. Michael On 03/09/2018 16:17, Juan Telleria Ruiz de Aguirre wrote: Dear R users, I have the following

Re: [R] Assistance on Installing Rattle

2018-08-14 Thread Michael Dewey
Dear Shivi The current version is on CRAN so why not use that? install.packages("RGtk2") should install version 2.30.35 If it does not then try another mirror Michael On 13/08/2018 19:47, Shivi Bhatia wrote: Hi Michael Thank you for the reply. I have been looking for 3.5.1 versi

Re: [R] Assistance on Installing Rattle

2018-08-13 Thread Michael Dewey
Dear Shivi You are running R 3.5.1 according to your session info. Why are you installing a version for R 3.3? Note that the up-to-date version depends on R > 3.4.0 so it is no surprise that you get problems. Michael On 13/08/2018 16:07, Shivi Bhatia wrote: Hi Michael, I was able

Re: [R] Assistance on Installing Rattle

2018-08-12 Thread Michael Dewey
Dear Shivi What error message do you get when you try to install RGtk2? Michael On 12/08/2018 11:49, Shivi Bhatia wrote: Hi Eric, Thank you for the reply. I am adding the session details below, hope it helps: R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running

Re: [R] RStudio 1.1.453 - Windows 10 - How to see detailed results of every calculation step

2018-07-27 Thread Michael Dewey
Dear Ibrauheem First try length(56) then try rnorm() using the value you got in stage 1 Michael On 27/07/2018 16:07, إبراهيم خطاب Ibrauheem Khat'taub wrote: Hi everyone, I am taking my first R course. This was my first example. When I executed: AddLengthNoise <- function(x) {x

[R] RStudio Exploratory Factor Analysis: write a function that extracts an increasing number of factors

2018-07-23 Thread michael matta
1., SRMR = fitn.rms, BIC = fitn.BIC) %>% dplyr::select(Factors, TLI, RMSEA, SRMR, BIC) } do.call("rbind", efas) %>% kable() Thanks for any help! -- *Michael Matta, **Ph.D.* Postdoctoral Research Associate, Department of Applied Psych

Re: [R] Automate running files in R

2018-07-23 Thread Michael Friendly
in a data frame will ease your task. -Michael On 7/22/18 6:40 PM, Rich Shepard wrote: On Sun, 22 Jul 2018, Serena De Stefani wrote: I need to automate a process in R. Basically I have a an R script (I will call it R1) that needs three separate files to run. These three files are the result

Re: [R] Scaling - does it get any better results than not scaling?

2018-07-18 Thread Michael Thompson
My thanks to all contributors, and while I was not in the right place, I certainly got the answers I needed. My students will benefit, so thank you all. Regards, Michael Thompson M.Prof.Studies Data Science 09 975 4678 Senior Lecturer, Digital Technologies Manukau Campus We all, like sheep, have

[R] Scaling - does it get any better results than not scaling?

2018-07-16 Thread Michael Thompson
people? So, is scaling a technique for the DS to use to find effects, while eventually delivering a non-scaled version to the users? I'd like to be able to give the true story to my students, not some fairy story based on my misunderstanding. Hope you can help with this. Michael __

Re: [R] Making objects global in a package

2018-07-16 Thread Michael Hannon
ment questions: >>> R-package-devel. >>> >>> b) This seems like a job for the sysdata.rda file... no explicit >>> environments needed. See the Writing R Extensions manual. >>> >>> On July 13, 2018 5:51:06 PM PDT, Michael Hannon < >>> jmh

[R] Making objects global in a package

2018-07-13 Thread Michael Hannon
Greetings. I'm putting together a small package in which I use `dplyr::read_csv()` to read CSV files from several different sources. I do this in several different files, but with various kinds of subsequent processing, depending on the file. I find it useful to specify column types, as the appa

<    1   2   3   4   5   6   7   8   9   10   >