Re: [R] Conditional Logistic Regression with Multilevel Data [using clogistic() in Epi and lmer() in lme4???]

2019-07-04 Thread Abby Spurdle
(Back ON-LIST). (And combining two of Marc's posts). > Perhaps I am missing something here, but with clogit(), or Heather's initial attempt at using clogistic(), as both have 'strata' arguments, wouldn't the 'strata' argument need to be able to accept a nested structure, along the lines of strata(

Re: [R] Sample size required to estimate population variance

2019-07-04 Thread Thomas Subia via R-help
Thanks for the suggestion but I'm not sure that it answers my original question.I need to know how many samples I need to collect to collect in order to estimate the sample size needed to achieve a specific margin of error for confidence intervals for the population variance. I'm not sure wheth

Re: [R] Sample size required to estimate population variance

2019-07-04 Thread John via R-help
On Tue, 2 Jul 2019 22:23:18 + (UTC) Thomas Subia via R-help wrote: > Colleagues, > Can anyone suggest a package or code which might help me calculate > the minimum sample size required to estimate the population variance? > I can do this in Minitab but I'd rather do this in R. Thomas Subia Y

Re: [R] Reloading old R Environments/Workspaces

2019-07-04 Thread Spencer Brackett
Partly because the procedure itself is incomplete, but yes I see the illogic nature of my position. On Thu, Jul 4, 2019 at 4:22 PM Jeff Newmiller wrote: > If you can't reproduce them, how do you know they are correct? > > On July 4, 2019 11:34:53 AM PDT, Spencer Brackett < > spbracket...@saintj

Re: [R] Reloading old R Environments/Workspaces

2019-07-04 Thread Jeff Newmiller
If you can't reproduce them, how do you know they are correct? On July 4, 2019 11:34:53 AM PDT, Spencer Brackett wrote: >Thank you for the clarification. So should I not rely on importing a >saved >environment from now on? I am currently experiencing some difficulties >with >reproducing the outp

Re: [R] Reloading old R Environments/Workspaces

2019-07-04 Thread Spencer Brackett
Thank you for the clarification. So should I not rely on importing a saved environment from now on? I am currently experiencing some difficulties with reproducing the output (aka the objects listed in my environment), which is why I was trying to load them all at once. Best, Spencer On Thu, Jul

Re: [R] Reloading old R Environments/Workspaces

2019-07-04 Thread Duncan Murdoch
On 04/07/2019 12:32 p.m., Spencer Brackett wrote: Hello again, I might be repeating myself here, so my apologies, but do I have to run a script file from my R Studio to reimplement my previous work for a given project so to start up where I left off or is opening up R and, with my glo

Re: [R] Reloading old R Environments/Workspaces

2019-07-04 Thread Spencer Brackett
Hello again, I might be repeating myself here, so my apologies, but do I have to run a script file from my R Studio to reimplement my previous work for a given project so to start up where I left off or is opening up R and, with my global environment automatically reloading as it was whe

Re: [R] Package sf, unit for dist in st_buffer

2019-07-04 Thread Bert Gunter
Don't know, but ask on r-sig-geo if you don't get a satisfactory reply here. Bert On Thu, Jul 4, 2019, 4:04 AM Ashim Kapoor wrote: > Dear All, > > map3 <- st_read("My Shapefile") %>% st_as_sf %>% st_transform(crs = 7755) > # Please see any shapefile here : > https://github.com/datameet/maps/tr

[R] Package sf, unit for dist in st_buffer

2019-07-04 Thread Ashim Kapoor
Dear All, map3 <- st_read("My Shapefile") %>% st_as_sf %>% st_transform(crs = 7755) # Please see any shapefile here : https://github.com/datameet/maps/tree/master/Districts map_buffer <- st_buffer(mapHR, dist = -1000) # CRS 7755 is for India, please see here, https://epsg.io/7755 My query is : T

Re: [R] Control the variable order after multiple declarations using within

2019-07-04 Thread Sebastien Bihorel
Thanks all for your inputs. - Original Message - From: "Duncan Murdoch" To: "Jeff Newmiller" , r-help@r-project.org, "Eric Berger" , "Richard O'Keefe" Cc: "Sebastien Bihorel" Sent: Wednesday, July 3, 2019 12:52:55 PM Subject: Re: [R] Control the variable order after multiple declaratio