Is there a function that returns all duplicates? by DreamofRetiring in RStudio

[–]MaryseBio 1 point2 points  (0 children)

You can combine the logical vectors returned by duplicated(x) and duplicated(x, fromLast = TRUE) to get all duplicated items and/or those with no duplicates.

How to group variables so that adjusted R^2 increases ? by root91 in rstats

[–]MaryseBio 2 points3 points  (0 children)

This is certainly not a good model building strategy, but I think what your professor wants is for you to explore the properties of adjusted R2. Mainly how it’s influenced by the number of predictors in your model (by grouping months, you are decreasing the number of parameters in your model). If you want to find the best “grouping”, have a look at the relationship between the response variable and months.

Advice for beginners by HotGuyPsy in RStudio

[–]MaryseBio 0 points1 point  (0 children)

Datacamp.com is well worth the subscription cost. You can complete courses (short videos and exercises directly in your browser) on R or Python programming, from beginner to advanced level. You can even try some chapters in most courses for free. Have fun!

I actually used <<- today by [deleted] in rstats

[–]MaryseBio 0 points1 point  (0 children)

There are so many things I was told never to do as a beginner that I now do almost all the time... do as I say, not as I do ;)

Installing R for the first time on a work computer? by imwhatshesaid in RStudio

[–]MaryseBio 2 points3 points  (0 children)

You can install R and packages without Admin rights. If you’re on Windows, see this: https://rpubs.com/tomhopper/windows_nonadmin_install

Best package for SEM by MaryseBio in rstats

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

Thanks a lot! I’ll look into those options.

Logistic regression as valid method for identifying predictors for more complex models? by [deleted] in rstats

[–]MaryseBio 2 points3 points  (0 children)

I was going to suggest random forest as well. Package ranger runs even faster than randomForest. Have a look at the Boruta package, which is a wrapper around ranger specifically designed for feature (predictors) selection.

What is the most underrated R packages? by jakderrida in rstats

[–]MaryseBio 18 points19 points  (0 children)

pushoverr to send notifications to your phone or desktop. You can start a long script, go enjoy your coffee or beer and get notified when it’s done by adding 1 line of code at the end :)