Re: [R] Survey Data - comparing multiple groups
Thanks, Abby. Apologies, I did convert my df into a svrepdesign object as follows: df<-svrepdesign (data=df1, scale=1, repweights = df1[, 496:995], type="BRR", combined.weights=TRUE, weight=~WTS_P, na.rm=TRUE) therefore, I have called "df" as a svrepdesign however, from the survey package, the svyranktest is shown with svydesign only and not with svrepdesign. I could consider using other tests such as svyglm but am also having issues with it. Thank you, Mav From: Abby Spurdle Sent: July 25, 2019 9:48:05 PM To: Mavra Ahmed Cc: r-help@r-project.org Subject: Re: [R] Survey Data - comparing multiple groups > I have ran Kruskal Wallis as follows but get the following error: > svyranktest(CARB ~ group, df, test=c("KruskalWallis")) >From the survey package, I assume. And df is a data frame, I also assume. (Complete self-contained examples are good). I checked the documentation. The second argument is not a data frame. [[alternative HTML version deleted]] __ 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.
Re: [R] Survey Data - comparing multiple groups
> I have ran Kruskal Wallis as follows but get the following error: > svyranktest(CARB ~ group, df, test=c("KruskalWallis")) >From the survey package, I assume. And df is a data frame, I also assume. (Complete self-contained examples are good). I checked the documentation. The second argument is not a data frame. [[alternative HTML version deleted]] __ 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.
[R] Survey Data - comparing multiple groups
Hi Everyone, I am trying to assess whether the mean of carbohydrate intake (dependent variable = continuous) is significantly different between five groups (groups = people categorized into five different groups) (independent variable= categorical). This is survey data with replicates and therefore I have changed the structure of the data to svyrepdesign. I have ran Kruskal Wallis as follows but get the following error: svyranktest(CARB ~ group, df, test=c("KruskalWallis")) > Error in if (this.n == 1 && !this.certain) { : missing value where TRUE/FALSE needed I also ran svyglm but am unable to conduct this test to look at comparisons between groups: summary(svyglm(CARB ~ group, design=df, family=gaussian)) I would like to be able to get p-values between the groups and be able to adjust for multiple comparisons and would appreciate if someone can guide me. I appreciate your help. Thanks, Mav [[alternative HTML version deleted]] __ 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.
[R] install_github broken for dependencies on packages previously installed from private github repo.
When installing from a private repo, fails if the package depends on another package from the private repo--even if its already installed. Example makes this clear ```R install_github('MyAcct/Preinstalled.Package', auth_token = 'x') # works install_github('MyAcct/My.Package', auth_token = 'x', upgrade = FALSE) # Fails if My.Package depends on Preinstalled.Package -- see below ``` I get the following errors. ``` Downloading GitHub repo MyAcct/My.Package@master Error: HTTP error 404. Not Found Did you spell the repo owner (`MyAcct`) and repo name (`Preinstalled.Package`) correctly? - If spelling is correct, check that you have the required permissions to access the repo. ``` Why is it even checking the repo, since the package is already installed? This used to work under the old devtools::install_github implementation, but that is now an alias for remotes::install_gitub Using R 3.6.0 -- Mark Mendel Director of Software Development MEI Research, Ltd 6016 Schaefer Rd Edina, MN 55436 mmen...@meinergy.com (651) 485-9 <%28952%29%20373-1636>369 http://meinergy.com/ [[alternative HTML version deleted]] __ 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.
[R] Application Sizing
Given an "R" application's source code, how does one measure the number of bytes taken by just the compiled application, not including the CRAN libraries? [[alternative HTML version deleted]] __ 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.
Re: [R] Package manual built by CRAN
Probably better posted on the r-package-devel mailing list, which is specifically devoted to such issues. Cheers, Bert On Thu, Jul 25, 2019 at 8:12 AM Helmut Schütz wrote: > Deer all, > > recently I noticed an unexpected effect. The PDF-manual built from the > package’s .Rd-files looked different to what I was used to before and to > the one rendered locally. Specifically: If the reference-section looks > like this > > \references{ >foo \href{bar}{baz} >... > } > > previously "foo" will be intended (like a normal paragraph), "bar" > formatted in red and "baz" the URL. > > Example: > https://cran.r-project.org/web/packages/replicateBE/replicateBE.pdf > (first occurrence at page 5). > > In the references not a direct link but a numbered footnote in a > monospaced font running beyond the right margin of the page. > Furthermore, the URLs in the footnotes are not correct. The two links of > page 5: > In ABE.Rd > > https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-investigation-bioequivalence-rev1_en.pdf > > https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-pharmacokinetic-clinical-evaluation-modified-release-dosage-forms_en.pdf > Correct links in ABE.html > In the two footnotes of the PDF truncated > > https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-investigation-bioequivalence-rev1_ > > https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-pharmacokinetic-clinical-evaluation-modified-release-dosage-forms_ > Of course, both are punished with a HTTP 404. > > Cheers, > Helmut > > PS: I know that > \references{ >\enumerate{ > \item foo \href{bar}{baz} >} > } > produces _exactly_ this effect. Didn't use it. > > -- > Ing. Helmut Schütz > BEBAC – Consultancy Services for > Bioequivalence and Bioavailability Studies > Neubaugasse 36/11 > 1070 Vienna, Austria > T +43 1 2311746 > M +43 699 10792458 > E helmut.schu...@bebac.at > W https://bebac.at/ > C https://bebac.at/Contact.htm > F https://forum.bebac.at/ > > __ > 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. > [[alternative HTML version deleted]] __ 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.
[R] Package manual built by CRAN
Deer all, recently I noticed an unexpected effect. The PDF-manual built from the package’s .Rd-files looked different to what I was used to before and to the one rendered locally. Specifically: If the reference-section looks like this \references{ foo \href{bar}{baz} ... } previously "foo" will be intended (like a normal paragraph), "bar" formatted in red and "baz" the URL. Example: https://cran.r-project.org/web/packages/replicateBE/replicateBE.pdf (first occurrence at page 5). In the references not a direct link but a numbered footnote in a monospaced font running beyond the right margin of the page. Furthermore, the URLs in the footnotes are not correct. The two links of page 5: In ABE.Rd https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-investigation-bioequivalence-rev1_en.pdf https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-pharmacokinetic-clinical-evaluation-modified-release-dosage-forms_en.pdf Correct links in ABE.html In the two footnotes of the PDF truncated https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-investigation-bioequivalence-rev1_ https://www.ema.europa.eu/en/documents/scientific-guideline/guideline-pharmacokinetic-clinical-evaluation-modified-release-dosage-forms_ Of course, both are punished with a HTTP 404. Cheers, Helmut PS: I know that \references{ \enumerate{ \item foo \href{bar}{baz} } } produces _exactly_ this effect. Didn't use it. -- Ing. Helmut Schütz BEBAC – Consultancy Services for Bioequivalence and Bioavailability Studies Neubaugasse 36/11 1070 Vienna, Austria T +43 1 2311746 M +43 699 10792458 E helmut.schu...@bebac.at W https://bebac.at/ C https://bebac.at/Contact.htm F https://forum.bebac.at/ __ 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.
Re: [R] [FORGED] Re: Regarding R licensing usage guidance
I most firmly do not agree with you, Rolf. Over the years that I've been a member of this community I've noted the actions of a small group who have seemed to feel that it is ok to be an asshole to other people, and a group of hangers-on who have applauded and egged on this shameful behaviour. Some members of this group have moved on, some remain. For a long while, R-help was quite toxic. Jeff's response was uncharacteristically rude and should be called out. I ordinarily find Jeff to be terse, which is totally fine, and not colourful, which is also fine. If you want colour, go watch WWE. Best wishes, Andrew -- Andrew Robinson Director, CEBRA, School of BioSciences Reader & Associate Professor in Applied Statistics Tel: (+61) 0403 138 955 School of Mathematics and StatisticsFax: (+61) 03 8344 4599 University of Melbourne, VIC 3010 Australia Email: a...@unimelb.edu.au Website: http://www.ms.unimelb.edu.au/~andrewpr On 7/25/19, 7:50 AM, "R-help on behalf of Rolf Turner" wrote: On 25/07/19 4:36 AM, Weiwen Ng, MPH wrote: > Here's one way to phrase your reply: > > "I'd recommend you search Google. For example, the search string > "proprietary use GPL" produces one hit that's clearly relevant to you: > This method is more neutrally worded. It doesn't insult the original > poster. It doesn't assume the poster had bad intent. > > Instead, you chose to phrase it thus: > > "Your internet skills are pathetic. Search Google for "proprietary use gpl" > and the first hit is ... Note that there are (at least) three obvious > alternatives if there is any question in your case ... I think your > desperation to steal the hard work of the various R contributors seems > quite odious." > > Think about the overall tone of your post. Consider also that someone who > agrees with you substantive argument said that your comments were "often > (almost always?) a bit rough about the edges." Yeah, but Jeff's rough-about-the-edges phrasing is much more colourful, and colourful is *GOOD*. There is far too much bland "S. We *mustn't* offend anybody" content in current discourse. Tell it like it is! Ripley into people! If the recipient can't take the heat, he or she should get out of the kitchen! See also fortunes::fortune(87). cheers, Rolf Turner P.S. Jeff makes a huge and extremely useful contribution to R-help. He gives generously of time and effort to solve beginners' problems. They should appreciate the time and effort and not whinge about being offended. R. T. -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 __ 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. __ 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.