Re: [R] Model studies in one analysis using treatment as a five level moderator in a meta-regression

2017-06-26 Thread PIKAL Petr
Hi You could try to ask your question on Stackexchange, maybe somebody will answer it. This list is dedicated to helping with R code not to teaching statistics (and you did not express any direct question about the code). Anyway, you should complain about your statistics department. Cheers Pet

Re: [R] Model studies in one analysis using treatment as a five level moderator in a meta-regression

2017-06-26 Thread Jay Zola
Dear Vito, Thank you for your reply. I tried to contact the statistics departement numerous times, but did not receive any reply. That is why I started to look on the internet for help. Yours sincerely, Jay Verstuurd vanaf mijn iPhone > Op 26 jun. 2017 om 22:05 heeft Vito Michele Rosario Mug

Re: [R] Model studies in one analysis using treatment as a five level moderator in a meta-regression

2017-06-26 Thread Vito Michele Rosario Muggeo
hi Jay, Consult a local statistician. Statistics is not you think is (namely simple computations, R and probably plotting..). regards, vito Jay Zola ha scritto: Hello, I am medical student, writing a meta-analysis on complication and reoperation rates after the five most common treat

Re: [R] Jagged ROC curves?

2017-06-26 Thread Marc Schwartz
Hi Brian, Your underlying dataset for the ROC curve only has 4 unique values for specificity, even though there are 23 elements in the vector, hence the step function nature of the first plot. The default smoothing in the smooth() function is "binormal". You might try one of the other smoothin

[R] Model studies in one analysis using treatment as a five level moderator in a meta-regression

2017-06-26 Thread Jay Zola
Hello, I am medical student, writing a meta-analysis on complication and reoperation rates after the five most common treatments of distal radius fractures. I have been busy with the statistics for months by my self, but find it quite hard since our classes were very basic. Now I want to compa

Re: [R] Jagged ROC curves?

2017-06-26 Thread Brian Smith
Hi Marc, I tried to attache the png file of the plot, but the mailing list blocked it! "For the attached two png files (test_roc.png & test_roc_smooth.png) 1. Using 'plot' function: plot(c(1,0),c(0,1), type='l', lty=3, xlim=c(1.01,-0.01), ylim=c(-0.01,1.01), xaxs='i', yaxs='i', ylab='', xlab='

Re: [R] Jagged ROC curves?

2017-06-26 Thread Marc Schwartz
> On Jun 26, 2017, at 11:40 AM, Brian Smith wrote: > > Hi, > > I was trying to draw some ROC curves (prediction of case/control status), > but seem to be getting a somewhat jagged plot. Can I do something that > would 'smooth' it somewhat? Most roc curves seem to have many incremental > changes

[R] Jagged ROC curves?

2017-06-26 Thread Brian Smith
Hi, I was trying to draw some ROC curves (prediction of case/control status), but seem to be getting a somewhat jagged plot. Can I do something that would 'smooth' it somewhat? Most roc curves seem to have many incremental changes (in x and y directions), but my plot only has 4 or 5 steps even tho

Re: [R] Comparing pooled proportions(complication and reoperation rates) of different treatment modalities

2017-06-26 Thread Jay Zola
Op 26 jun. 2017 om 15:22 heeft Jay Zola mailto:jayjay.1...@hotmail.nl>> het volgende geschreven: What is the best way to change my R code to be able to compare the pooled proportions(complication and reoperation rates) with the Chi square method? Just adding an adjustment to the links because t

[R] [R-pkgs] New R package MittagLeffleR

2017-06-26 Thread Peter Straka
Dear all, apologies for interrupting your important work. The new R package MittagLeffleR is now available on CRAN. It computes the two types of Mittag-Leffler distributions, i.e. provides probability density, distribution function, quantile function and random variate generation for the Mittag-L

Re: [R] Changing the order of the factors in a cumulative logit model

2017-06-26 Thread Marc Schwartz
> On Jun 26, 2017, at 7:52 AM, Eva Wanek wrote: > > Hi all, > > I am using the clm function from the ordinal package to fit a cumulative > logit model. If I run the regression without formatting my dependent > variable (which is a factor), it works fine, however I need to change the > order of

[R] How to export a classification model from R to a Field Programmable Gate Array (FPGA)

2017-06-26 Thread Marian Kraus
Dear R users, my search for a possibility to convert a generated model into VHDL to program an FPGA has still no solution. The problem: caret -> training -> model -> model.rds -> model.xml (PMML) --?--> VHDL-Code --?--> FPGA The (simplified) task: A photo detector with 16 channels is measuring

Re: [R] Writing my 3D plot function

2017-06-26 Thread Alaios via R-help
Thanks a lot for this. I never realized that my yahoo mail does not send plain text. So this is the code I have require("rgls") degreeToRadian<-function(degree){ return (0.01745329252*degree) } turnPolarToX<-function(Amplitude,Coordinate){ return (Amplitude*cos(degreeToRadian(Coordinate

Re: [R] Comparing pooled proportions(complication and reoperation rates) of different treatment modalities

2017-06-26 Thread Jay Zola
What is the best way to change my R code to be able to compare the pooled proportions(complication and reoperation rates) with the Chi square method? Verstuurd vanaf mijn iPhone > Op 24 jun. 2017 om 14:18 heeft Michael Dewey het > volgende geschreven: > > Note though that this has been put on

[R] Changing the order of the factors in a cumulative logit model

2017-06-26 Thread Eva Wanek
Hi all, I am using the clm function from the ordinal package to fit a cumulative logit model. If I run the regression without formatting my dependent variable (which is a factor), it works fine, however I need to change the order of the factors to be able to interpret the estimates. I have tried d

Re: [R] Classic fail-safe N

2017-06-26 Thread Naike Wang
Will do, thanks! Viechtbauer Wolfgang (SP) 于2017年6月26日 周一03:39写道: > I would suggest to post this to the (recently created) R-sig-meta-analysis > mailing list. See: > > https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis > > Best, > Wolfgang > > >-Original Message- > >From: R-help [m

Re: [R] Request for help - adding text files to a data frame

2017-06-26 Thread Jim Lemon
Hi Bhaskar, You can put all sorts of stuff into a text file simply by using the "sink" command: sink("bm.txt") cat("\n") B9<-"B" cat(B9,"\n",sep="") for(i in 1:9) cat("C") cat("\n") print(df) sink() What you intend to do with a file like this is beyond me. Jim On Mon, Jun 26, 20

Re: [R] Classic fail-safe N

2017-06-26 Thread Viechtbauer Wolfgang (SP)
I would suggest to post this to the (recently created) R-sig-meta-analysis mailing list. See: https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis Best, Wolfgang >-Original Message- >From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Naike Wang >Sent: Monday, June 26,