#baser — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #baser, aggregated by home.social.
-
CW: unpopular opinion about Tidyverse
-
Want to plot two different distributions on each other and then see their mixture density in base R, then take the code and do it! #R #RStats #Density #BaseR #Histograms
-
I added another random walk to the dev version of my #R #Package #RandomWalker for the Wilcoxon Signed Rank using the #BaseR function rsignrank. Take a look :) #R #ggplot2 #tidydata #Random #stochastic #discrete
-
I did another post on use with() and within() from Base R, simply because it bears repeating. I don't think it gets enough eyeballs. Post: www.spsanderson.com/steveondata/... #R #RStats #BaseR #RProgramming #Programming #RCode #Code
-
I've talked about creating data.frames and tibbles before, but it is an important topic so I have covered it again. This time specifically from the perspective of creating them from vectors. Post: www.spsanderson.com/steveondata/... #R #RStats #tibble #dplyr #tidyverse #dataframe #baseR #blog
-
I've talked about creating data.frames and tibbles before, but it is an important topic so I have covered it again. This time specifically from the perspective of creating them from vectors. Post: www.spsanderson.com/steveondata/... #R #RStats #tibble #dplyr #tidyverse #dataframe #baseR #blog
-
I've talked about creating data.frames and tibbles before, but it is an important topic so I have covered it again. This time specifically from the perspective of creating them from vectors. Post: www.spsanderson.com/steveondata/... #R #RStats #tibble #dplyr #tidyverse #dataframe #baseR #blog
-
I've talked about creating data.frames and tibbles before, but it is an important topic so I have covered it again. This time specifically from the perspective of creating them from vectors. Post: www.spsanderson.com/steveondata/... #R #RStats #tibble #dplyr #tidyverse #dataframe #baseR #blog
-
I've talked about creating data.frames and tibbles before, but it is an important topic so I have covered it again. This time specifically from the perspective of creating them from vectors. Post: www.spsanderson.com/steveondata/... #R #RStats #tibble #dplyr #tidyverse #dataframe #baseR #blog
-
I posted a new introduction to surface #gifti and volume #NIfTI #fMRI data at https://mvpa.blogspot.com/2025/01/intro-to-working-with-volume-and.html.
The material is mostly general, with all examples using #baseR #rstats code; it's accompanied by a major update to my gifti #knitr tutorial.
I hope these will be useful to folks getting started with #neuroimaging datasets, as well as anyone looking for example scripts for reading, plotting, and manipulating (human fMRI) brain data files.
-
I posted a new introduction to surface #gifti and volume #NIfTI #fMRI data at https://mvpa.blogspot.com/2025/01/intro-to-working-with-volume-and.html.
The material is mostly general, with all examples using #baseR #rstats code; it's accompanied by a major update to my gifti #knitr tutorial.
I hope these will be useful to folks getting started with #neuroimaging datasets, as well as anyone looking for example scripts for reading, plotting, and manipulating (human fMRI) brain data files.
-
I posted a new introduction to surface #gifti and volume #NIfTI #fMRI data at https://mvpa.blogspot.com/2025/01/intro-to-working-with-volume-and.html.
The material is mostly general, with all examples using #baseR #rstats code; it's accompanied by a major update to my gifti #knitr tutorial.
I hope these will be useful to folks getting started with #neuroimaging datasets, as well as anyone looking for example scripts for reading, plotting, and manipulating (human fMRI) brain data files.
-
I posted a new introduction to surface #gifti and volume #NIfTI #fMRI data at https://mvpa.blogspot.com/2025/01/intro-to-working-with-volume-and.html.
The material is mostly general, with all examples using #baseR #rstats code; it's accompanied by a major update to my gifti #knitr tutorial.
I hope these will be useful to folks getting started with #neuroimaging datasets, as well as anyone looking for example scripts for reading, plotting, and manipulating (human fMRI) brain data files.
-
I posted a new introduction to surface #gifti and volume #NIfTI #fMRI data at https://mvpa.blogspot.com/2025/01/intro-to-working-with-volume-and.html.
The material is mostly general, with all examples using #baseR #rstats code; it's accompanied by a major update to my gifti #knitr tutorial.
I hope these will be useful to folks getting started with #neuroimaging datasets, as well as anyone looking for example scripts for reading, plotting, and manipulating (human fMRI) brain data files.
-
CW: Workity Work
@arclight
R is so unOpinionated that it has split into base and tidy dialects. 😂 (even #baseR coding styles aren't standardized)But your post also underscores the wide range of folks using #rstats: I think of myself as the target audience (academic research, basic science, analysis stats and visualization) ... but do not know if that's who you mean by "SMEs", or even if I am the target audience. Priorities (and terminology) vary dramatically between fields and subgroups.
-
Base R plots - oft overlooked for the powerful ggplot2- offer a surprising amount of power if you take the time to learn it!
Join Patrick Ward and I as we talk through making scatter plots in #rstats !
Bit.ly/TidyX_Ep165
-
Get unique rows of a dataframe in #rstats, but ignore some columns (e.g., ID in this df)?
df1 <-
data.frame(
name = c("apple", "apple", "apple", "orange", "orange"),
ID = c(1, 2, 3, 4, 5),
is_fruit = c("yes", "yes", "yes", "yes", "yes")
)If you're a #baseR fan like me, you might want:
df1[!duplicated(df1[!names(df1) %in% c("ID")]), ]
-
Major thanks to @tannguyen for spotting and reporting a bug in my niftiPlottingFunctions.R plot.volume() function!
The code at https://osf.io/k8u2c is updated; see https://mvpa.blogspot.com/2023/03/bugfix-for-niftiplottingfunctionsr.html for info and examples.
(This #baseR #rstats function is for plotting #fMRI #nifti images in #knitr documents.)
... it is painful to find out there was a bug, but so much better to fix it than to continue its propagation! I am grateful to @tannguyen and hope anyone else seeing something odd lets me know.
-
Major thanks to @tannguyen for spotting and reporting a bug in my niftiPlottingFunctions.R plot.volume() function!
The code at https://osf.io/k8u2c is updated; see https://mvpa.blogspot.com/2023/03/bugfix-for-niftiplottingfunctionsr.html for info and examples.
(This #baseR #rstats function is for plotting #fMRI #nifti images in #knitr documents.)
... it is painful to find out there was a bug, but so much better to fix it than to continue its propagation! I am grateful to @tannguyen and hope anyone else seeing something odd lets me know.
-
Major thanks to @tannguyen for spotting and reporting a bug in my niftiPlottingFunctions.R plot.volume() function!
The code at https://osf.io/k8u2c is updated; see https://mvpa.blogspot.com/2023/03/bugfix-for-niftiplottingfunctionsr.html for info and examples.
(This #baseR #rstats function is for plotting #fMRI #nifti images in #knitr documents.)
... it is painful to find out there was a bug, but so much better to fix it than to continue its propagation! I am grateful to @tannguyen and hope anyone else seeing something odd lets me know.
-
Major thanks to @tannguyen for spotting and reporting a bug in my niftiPlottingFunctions.R plot.volume() function!
The code at https://osf.io/k8u2c is updated; see https://mvpa.blogspot.com/2023/03/bugfix-for-niftiplottingfunctionsr.html for info and examples.
(This #baseR #rstats function is for plotting #fMRI #nifti images in #knitr documents.)
... it is painful to find out there was a bug, but so much better to fix it than to continue its propagation! I am grateful to @tannguyen and hope anyone else seeing something odd lets me know.
-
@milesmcbain "... the users are actually readers of the code rather than just runners ..." is a great way to put it!
With the #academic #programming that's my job, I assume most everything will eventually contribute to a publication, and so be shared. The logic of the code needs to be apparent to others in the future (and hopefully useable); imo avoiding dependencies and sticking to the most stable codebase (#baseR #rstats, in my case) is worth the effort.
-
A methods paper of mine is now at https://doi.org/10.3389/fnimg.2023.1070274 . This little #NewNeuroPaper demonstrates human task #fMRI quality control, as part of the FMRI Open QC Project (which I hope to discuss at #OHBM and elsewhere as it wraps up).
Its supplemental (https://doi.org/10.17605/OSF.IO/HT543) may be of interest to #rstats folks, particularly if looking for examples of #baseR #knitr #graphics and/or scripts aiming to minimize dependencies and maximize long-term usability.
-
I'm a staff scientist at Washington U in St Louis (#WashU #wustl #Missouri, USA), mostly working with human task fMRI datasets. I'm a big fan of #baseR and #knitr #rstats, #QC, and very extensive #supplementary materials. I insist on looking at data early and often; some #tutorials and examples on my blog. (#GotBrains?)
I'm a #FirstGen college grad, #IowaStateU; BS in #forestry. I also occasionally share cats, #knitting, and #crochet. Promoting abortion rights, not book bans.
-
Introduction:
Hi, I’m a political science postdoc researcher at the Computational Social Science Lab @Uni_Stuttgart
My roots are research on attitudes, #participation, and #voting behavior. My dissertation on participatory and #deliberative #democracy on local level brought me to python, webscraping and machine learning. #AII consider causal reasoning to be the most important part of statistical modeling. #DAG #DGP
-
@ERDonnachie @tgtads @datamaps
I can't resist a #tidyverse vs. #baseR #rstats thread. 😅
It is totally possible to work without tidyverse, and base R graphics can be incredibly flexible. If you'd like some examples, just this morning I uploaded yet another set of all-base #knitr supplemental files (https://osf.io/ht543), with very pretty (and highly useful) graphics, if I say so myself. (Tidyverse can be ok, but it's not at all required.)
-
Maybe it’s time to remove dplyr from my Rprofile
https://lorentzen.ch/index.php/2023/01/09/dplyr-style-without-dplyr/
-
-
:rstats: `paste0()` can help you select columns in a df, base R style.
# generate example data
df <- as.data.frame(matrix(sample(30), nrow = 3))# change last three column names
names(df)[ncol(df):(ncol(df) - 2)] <- c("some", "random", "names")# switch columns up for fun :-)
df <- df[ , sample(10)]# Extract columns V1-V7
df[paste0("V", 1:7)] -
#rstats #dataviz just gonna drop this here: I need to update this to the most recent data. Source was #MotherJones and is legitimate data. Not sure if this needs a content warning, but I'm not advocating for anything in particular. Just let the data speak for itself. If anyone wants the #Rcode I used, it uses #BaseR and I can put all of it into Github
-
ATM, we have approximately 6 people who use something other thand #dplyr, #datatable or #baseR. What do you use? #poorman?
-
Introduction:
Hi, I’m a political science postdoc researcher at the Computational Social Science Lab @Uni_Stuttgart
My roots are research on attitudes, #participation, and #voting behavior. My dissertation on participatory and #deliberative #democracy on local level brought me to python, webscraping and machine learning. #AII consider causal reasoning to be the most important part of statistical modeling. #DAG #DGP
-
Introduction:
Hi, I’m a political science postdoc researcher at the Computational Social Science Lab @Uni_Stuttgart
My roots are research on attitudes, #participation, and #voting behavior. My dissertation on participatory and #deliberative #democracy on local level brought me to python, webscraping and machine learning. #AII consider causal reasoning to be the most important part of statistical modeling. #DAG #DGP
-
Introduction:
Hi, I’m a political science postdoc researcher at the Computational Social Science Lab @Uni_Stuttgart
My roots are research on attitudes, #participation, and #voting behavior. My dissertation on participatory and #deliberative #democracy on local level brought me to python, webscraping and machine learning. #AII consider causal reasoning to be the most important part of statistical modeling. #DAG #DGP
-
I'm a staff scientist at Washington U in St Louis (#WashU #wustl #Missouri, USA), mostly working with human task fMRI datasets. I'm a big fan of #baseR and #knitr #rstats, #QC, and very extensive #supplementary materials. I insist on looking at data early and often; some #tutorials and examples on my blog. (#GotBrains?)
I'm a #FirstGen college grad, #IowaStateU; BS in #forestry. I also occasionally share cats, #knitting, and #crochet. Promoting abortion rights, not book bans.
-
I'm a staff scientist at Washington U in St Louis (#WashU #wustl #Missouri, USA), mostly working with human task fMRI datasets. I'm a big fan of #baseR and #knitr #rstats, #QC, and very extensive #supplementary materials. I insist on looking at data early and often; some #tutorials and examples on my blog. (#GotBrains?)
I'm a #FirstGen college grad, #IowaStateU; BS in #forestry. I also occasionally share cats, #knitting, and #crochet. Promoting abortion rights, not book bans.
-
I'm a staff scientist at Washington U in St Louis (#WashU #wustl #Missouri, USA), mostly working with human task fMRI datasets. I'm a big fan of #baseR and #knitr #rstats, #QC, and very extensive #supplementary materials. I insist on looking at data early and often; some #tutorials and examples on my blog. (#GotBrains?)
I'm a #FirstGen college grad, #IowaStateU; BS in #forestry. I also occasionally share cats, #knitting, and #crochet. Promoting abortion rights, not book bans.
-
I'm a staff scientist at Washington U in St Louis (#WashU #wustl #Missouri, USA), mostly working with human task fMRI datasets. I'm a big fan of #baseR and #knitr #rstats, #QC, and very extensive #supplementary materials. I insist on looking at data early and often; some #tutorials and examples on my blog. (#GotBrains?)
I'm a #FirstGen college grad, #IowaStateU; BS in #forestry. I also occasionally share cats, #knitting, and #crochet. Promoting abortion rights, not book bans.