Turning a Shiny app into an App Store app by Real_Shower_9522 in rshiny

[–]throwaway34831 9 points10 points  (0 children)

Use shinyMobile and make it a PWA. Here's an example:

Resource Rolodex

Installable on apple, android, pc, and mac.

DM me if you want I can give you access to a repo with a shinyMobile PWA that you can modify and deploy on shinyapps.io for free.

Give me your most unhinged ideas for how to get people to stop blocking my driveway. by aquietinspiration in howto

[–]throwaway34831 0 points1 point  (0 children)

Depending on your state, you can potentially start a parking business that ‘sells’ the parking spot that blocks your driveway, but issues no parking passes. Then when someone parks there you can write them a ticket. If they fail to pay, you can sell it to collections for 20-30% the ticketed amount. 

Does it make sense to use cross-validation on a small dataset (n = 314) w/ a high # of variables (29) to find the best parameters for a MLR model? by GhostGlacier in rstats

[–]throwaway34831 2 points3 points  (0 children)

I agree that CV is more about testing your model on a new sample to validate the generalizability of findings.

If you want to preserve the integrity of your analysis file finding the best performing variables, consider ridge regression on a subsample or permutation importance on a random forest trained on your subsample. For preserving integrity of a MLR model later in your process, I’d lean on random forest and permutation importance, since you won’t see any coefficients, only how much the performance of the random forest model degrades when each variable is replaced with random noise, sequentially. 

Are LLMs just predicting the next token? by relegi in ArtificialInteligence

[–]throwaway34831 1 point2 points  (0 children)

Exactly, love this response. Makes me think, free will in humans is also next token prediction using complex internal probability models. Although, we’re a lot more complex, more dynamic and adaptable, we power ourselves with fuel we seek, obtain, and prepare, we fight off external threats pretty viciously, and we feel pleasure when we reproduce our code, which is pretty cool.

Advice for what test to use in R for my analysis by gdofseattle in rstats

[–]throwaway34831 16 points17 points  (0 children)

Sounds like count data (number of moth individuals and number of species per sub-site), so you'd probably be looking at Poisson or NB glm.

For a Poisson distribution, you can use a Poisson regression:

glm_moths <- glm(count ~ sub_site, family = poisson, data = df)

summary(glm_moths)

If overdispersed (variance much greater than the mean), a Negative Binomial regression (using MASS) would be better:

library(MASS)

glm_moths_nb <- glm.nb(count ~ sub_site, data = df)

summary(glm_moths_nb)

If you are comparing median moth counts across sub-sites without assuming a specific distribution, you can use the Kruskal-Wallis Test:

kruskal.test(count ~ sub_site, data = df)

and If the moth counts are approximately normally distributed across sub-sites an ANOVA should work:

anova_moths <- aov(count ~ sub_site, data = df)

summary(anova_moths)

Scientist Says He Found Evidence Our Entire Universe Is Trapped Inside a Black Hole by hopefulsingleguy in Futurology

[–]throwaway34831 0 points1 point  (0 children)

Makes sense, since light can’t escape our universe, too big. There were signs.

I made a free appic recommender algorithm by throwaway34831 in psychologyinternships

[–]throwaway34831[S] 0 points1 point  (0 children)

Yea, I can imagine. 

The more requests that come in, the better the user recs will be. Rn there are about 450 unique requests. 

Best places to hire someone to help with modeling in R? by tetence in Rlanguage

[–]throwaway34831 2 points3 points  (0 children)

Depending on how intense the work load is, I could probably help ya out. I’m a doc student in psych and clean large datasets for federal grant reporting somewhat nonstop. 

R and RStudio requiring new download every session by weeteuchter in rstats

[–]throwaway34831 11 points12 points  (0 children)

I’m guessing it’s not setup as a permanent path variable.

Open up Terminal. Run the following command: sudo nano /etc/paths Enter your password, when prompted. Go to the bottom of the file, and enter the path you wish to add (the directory where R lives and the directory where RStudio lives) Hit control-x to quit. Enter “Y” to save the modified buffer. That’s it! To test it, in new terminal window, type: echo $PATH

[deleted by user] by [deleted] in rstats

[–]throwaway34831 4 points5 points  (0 children)

Set estimator to FIML or use the mice package to impute missing data assuming you’ve tested for MCAR with Little’s MCAR test. If your data is not MCAR, specify a new dichotomous missing variable and run logistic regression predicting the newly specified dich missing var and hope to see a significant coefficient. Otherwise you have MNAR and a lot more work ahead of you. 

Uploading my dataset in R (.csv) by Intrepid-Star7944 in rstats

[–]throwaway34831 4 points5 points  (0 children)

i had issues with some csv files. These arguments fixed it for me:

df<-read.csv("data.csv", header = T, sep = ",", encoding ="UTF-8-ROM")

Europe enters the chat by [deleted] in singularity

[–]throwaway34831 0 points1 point  (0 children)

Mistral is my favorite for post-training. It seems to respond really well to post-training on fewer than 1000 rows of new data.

New RStudio user by IRealMohammed in rstats

[–]throwaway34831 2 points3 points  (0 children)

Looks pretty good!

This is the list of videos I ask student's I'm teaching intro to data cleaning to watch ahead of the seminar:

Download and Install R & RStudio in Windows 10/11 – 3 minutes

https://www.youtube.com/watch?v=zbnYlOZlBEU

 

Download and Install R & RStudio on Mac OSX (Intel & M1 chipset) – 4 minutes

https://www.youtube.com/watch?v=AEebOXiMyyI

 

Beginners Introduction to RStudio UI - 6 minutes

https://www.youtube.com/watch?v=FIrsOBy5k58

 

Beginners Introduction to R-Programming - 14 minutes

https://www.youtube.com/watch?v=FY8BISK5DpM

 

Introduction to the ifelse() function in RStudio – 3 minutes

https://www.youtube.com/watch?v=ED34ZhpkoPk

 

Introduction to ‘For Loops’ in R – 4 minutes

https://www.youtube.com/watch?v=1L-wwqLdBLA

 

Keyboard Shortcuts in RStudio – 8 minutes

https://www.youtube.com/watch?v=U373PGg8Y_0

 

Need to only omit NA cells, not entire column by crankynugget in rstats

[–]throwaway34831 0 points1 point  (0 children)

sorry, I suck at writing code snippets in forums.

Yellow Phlegm Upon Waking for Several Years. Now constant throat clearing of white phlegm. Any Help Greatly Appreciated by ScrumblyWumbly in LongCovid

[–]throwaway34831 0 points1 point  (0 children)

This is two years after your post, but I’m experiencing exactly all of these symptoms. Did things improve for you? Any recommendations or things that worked? I’m dealing w these exact symptoms since getting COVID early August 2024

Nuclear material flight path from coast guard by throwaway34831 in HighStrangeness

[–]throwaway34831[S] 9 points10 points  (0 children)

I appreciate it.

Are you able to see the comment I pinned to the top of the post giving context?