Maciej BerΔ™sewicz · @beresewiczm
0 followers · 1 posts · Server fosstodon.org

For all interested in and I would like to endorse our new package: {nonprobsvy}. It implements state-of-the-art methods for samples published in top journals (and many more!). Feel free to check it out! Development version can be found at github.com/ncn-foreigners/nonp

#sampling #survey #rstats #nonprobability #stats

Last updated 1 year ago

Le NΓ©andertal en a marre · @HydrePrever
1117 followers · 8092 posts · Server mathstodon.xyz

Is there a classical regression model where, for 𝑖=1,…,𝑛,

𝐸(π‘Œα΅’) = 𝑁 𝑝ᡒ

with 𝑁 a known constant, and

𝑝ᡒ=(exp 𝑋ᡒ Ξ²) / (βˆ‘β±Ό exp 𝑋ⱼ Ξ²)

Thus 𝑝ᡒ ∈ (0,1) and βˆ‘ 𝑝ᡒ = 1.

Note that this is *not* a multinomial logistic regression. There is a single vector Ξ² to estimate. It should be estimated from a single set of observations π‘Œβ‚,…,π‘Œβ‚™ (and the covariates 𝑋₁,…, 𝑋ₙ).

#rstats #glm #statisticalmodel #statistics

Last updated 1 year ago

Bruno Rodrigues :rstats: :tux: · @brodriguesco
1175 followers · 1886 posts · Server fosstodon.org

It's back to school so how about learning how to write pipelines with ?

My book "Building reproducible analytical pipelines with " can help you with that!

Buy a drm-free epub or pdf @leanpub

leanpub.com/raps-with-r/

Physical copies are available amazon.com/dp/B0C87H6MGF (check your local market place)

Read for free forever: raps-with-r.dev

#reproducible #datascience #rstats

Last updated 1 year ago

Benjamin Nowak · @bjnnowak
206 followers · 112 posts · Server fosstodon.org

Our main activities are relatively similar between countries, with some differences depending on economic development (based on this week )

code: github.com/BjnNowak/TidyTuesda

#tidytuesday #rstats

Last updated 1 year ago

coolbutuseless · @coolbutuseless
438 followers · 1362 posts · Server fosstodon.org

This little side quest into unnamed data.frames was because {plotly} prepares data in unnamed data.frames in order to get {jsonlite} to output data in a particular JSON array format, rather than a JSON object format.

TIL.

#rstats

Last updated 1 year ago

coolbutuseless · @coolbutuseless
438 followers · 1361 posts · Server fosstodon.org

And {dplyr} won't let you select columns which don't have names.

Even if you're trying to select by numeric index

#rstats

Last updated 1 year ago

coolbutuseless · @coolbutuseless
438 followers · 1360 posts · Server fosstodon.org

{tibble} will let colnames be set to NULL, but then has issues printing the tibble to console.

#rstats

Last updated 1 year ago

coolbutuseless · @coolbutuseless
438 followers · 1360 posts · Server fosstodon.org

TIL: It is possible to have a data.frame without column names.

Not sure why you'd want to though...

#rstats

Last updated 1 year ago

coolbutuseless · @coolbutuseless
438 followers · 1360 posts · Server fosstodon.org

@milesmcbain I'd appreciate only recycling for length = 1.

All other cases you have to do an explicit rep() / rep_along()

#rstats

Last updated 1 year ago

Andrew Heiss :rstats: · @andrew
3862 followers · 1546 posts · Server fediscience.org

I think I just generated my favorite {codename} project name ever: "mulberry monkey" πŸ«πŸ’

#rstats

Last updated 1 year ago

MilesMcBain · @milesmcbain
1431 followers · 1214 posts · Server fosstodon.org

Vector index recycling is convenient but it would be really great if core could sort it so that it plays a sound effect of some chimes tinkling when it’s happening so I know to check I want that magic right now. Next R sprint maybe? βœ¨πŸ§™β€β™‚οΈπŸͺ„

#rstats

Last updated 1 year ago

Umair Durrani · @transportationtalk
28 followers · 85 posts · Server fosstodon.org

Is it possible to trigger a github action when a user logs in a shiny app? App authentication is done via firebase. @nrennie. @dgkeyes. Thanks.

#rstats

Last updated 1 year ago

R Consortium · @RConsortium
306 followers · 89 posts · Server fosstodon.org

πŸ“’ R Consortium Pilot 3 Mileston πŸ“’

Big news! R Submissions Working Group successfully submitted the pilot 3 R-based package to FDA eCTD on August 28, 2023. This is the first public R-centric FDA submission!

πŸ”— Details: r-consortium.org/announcement/

#rstats #fda #datascience #opensource

Last updated 1 year ago

terence · @terence
1858 followers · 355 posts · Server fosstodon.org

A map showing median household income of New Jersey, but this time by population (the previous one was census tract).

Higher spikes indicate greater population, colours indicate median income.

#newjersey #dataviz #rstats

Last updated 1 year ago

John MacKintosh · @johnmackintosh
487 followers · 1116 posts · Server fosstodon.org

Ok, markdown avengers, assemble

Is there a way to extract specific options (namely fig.cap, tab.cap) from all the chunks in an RMarkdown document, export those to a text file, and then , assuming those options get edited externally by colleagues, read them back in again.

Trying to avoid tedious, tortuous and error prone copypasta between Word's track changes and my Rmd file..
Is this possible? If so, what's the best approach?

#rstats

Last updated 1 year ago

Simon Couch · @simonpcouch
489 followers · 118 posts · Server fosstodon.org

Feeling so, so stoked to see friends at posit::conf(2023) next week.πŸ™‚

Find me for a limited edition raspberry variant of the stacks hex.πŸ‘€

#rstats

Last updated 1 year ago

Shannon Pileggi · @PipingHotData
1138 followers · 248 posts · Server fosstodon.org

Join me today Sep 11 @7pm EST for an R-Ladies St. Louis workshop on Project Oriented Workflows πŸš€

meetup.com/rladies-st-louis/ev

#rstats #rladies

Last updated 1 year ago

Nicola Rennie · @nrennie
1835 followers · 727 posts · Server fosstodon.org

Catching up on last week's , and keeping it simple with some line charts! This plot uses two of my favourite extension packages:

πŸ—ΊοΈ {geofacet} for visualising data across different geographic regions

πŸ“ˆ {gghighlight} for highlighting a subset of values in a chart, here showing each state in relation to others

Code: github.com/nrennie/tidytuesday

#tidytuesday #ggplot2 #rstats #dataviz #r4ds

Last updated 1 year ago

Nic Crane · @nic_crane
274 followers · 37 posts · Server fosstodon.org

So very very excited for posit::conf in a week or so! Can't wait to meet up with so many of my favourite folks, and meeting loads of new ones too 😍

#rstats

Last updated 1 year ago

terence · @terence
1857 followers · 354 posts · Server fosstodon.org

and by @UrbanDemog are terrific packages! Saw a fun vignette and thought I try making it 3D because why not? Gratuitous, possibly. Pretty, I think so.

Here's the proportion of households in Brasil connected to a sewage network in 2010.

#geobr #censob #rstats

Last updated 1 year ago