Search results

  1. J

    How to adjust specific tabletext font to bold?

    It's not clear if your data is a result of a meta-analysis? If your data is from a logistic regression or cox model, I have an app here that might help you: The app has data pre-loaded in it already as an example. Goto the review tab and click proceed to...
  2. J

    The item response theory - which method to choose

    Hi, The ltm package can fit the graded response model - I used this a long time ago for this very purpose. You might want to also check out the mirt package, which can do uni and multidimensional irt.
  3. J

    Reg ex Question

    Thank you for the quick reply, Dason! You have no idea how much you've simplified my day... (after a very long and exhausting work week)
  4. J

    Reg ex Question

    Hi! I have a string, that follows a predictable format, and I'm looking to replace certain characters in it. Please see below. Any help is appreciated. > have <- "_a _a_1 _a_2 _a_3" > have [1] "_a _a_1 _a_2 _a_3" What I need to do is remove the initial underscore in each space delimited...
  5. J

    Today I Learned: ____

    I'm currently going through Text Mining with R: A Tidy Approach by Robinson and Silge. In this book they mention the {sentimentR} package, which is useful for analyzing sentiments on whole sentences (over words, which I've been doing). I looked into this a bit and I saw it was authored by...
  6. J

    Today I Learned: ____

    TIL i use shiny modules. I have a dashboard that has 4 to 5 pages (representing subgroups), and on each page the elements (graphs, text, tables) are all the same. Made for a good use case. To slightly complicate the matter, I also have a reactive data set powering all the pages (built off a...
  7. J

    Set operations/Anti_join

    Hi all, I'm trying to accomplish a set of tasks that involve set operations/joins. I'm able to solve a bit of this using packages from the Tidyverse. I can't figure out if there's a nicer way to do the last task, please below. The first task is self-explanatory. I have 3 vectors, and I'm...
  8. J

    proc traj

    No. If you've specified the model and interpretted the output correctly, and there's no evidence of unobserved heterogenity in response, why would you think trying to force it would be a good idea?
  9. J

    Logistic regression using Lasso

    I think HPGENSELECT will accomplish LASSO for Logistic Regression (and other GLMz)
  10. J

    Sums of Brownian Motions

    Hi all, I'm working through a textbook on SP and I'm trying to do some of the exercises. Here's the question followed by my attempt at a solution. For a standard brownian motion started at x=-3, find P(X1 + X2 > -1) Let Y = X1+X2 We want P(Y > -1) Finding the distribution of Y: E(Y) =...
  11. J

    Escape Characters?

    Update: I found a solution to the issue here: Half the battle is knowing what to google lol. If anyone is interested, I can still post up what I have. Thanks again. Cheers
  12. J

    Escape Characters?

    Hi all, I'll attempt to explain what I'm running into though unfortunately I don't have a reproducible example. I'm attempting to load a custom font into R (done) to build a plot using ggplot (done). I'm doing this on Windows 10 if that matters. The font is an emoji-based font...
  13. J

    Iterating in R

    Thanks Dason! You're absolutely right it was way easier in base R. Thanks for the perspective. df <- data.frame(x1=c(1,9,10), x2=c(11,43,3)) df[df==1|df==2|df==3|df==4|df==5] <- NA > df x1 x2 1 NA 11 2 9 43 3 10 NA Any insight to as why the following doesn't work? df[df %in%...
  14. J

    Iterating in R

    Hi all, I want to perform a set of data management tasks that involves the following: -Input a data frame with an arbitrary number of columns, and column names, of numeric type. -Check each value (i.e. entry) to see if it meets a condition -If it does, replace the value so as an example: the...
  15. J

    Comparing variables

    This might be of some help:
  16. J

    Hi Spunky, I recall you being versed in psychometric methods and was wondering if I could pick...

    Hi Spunky, I recall you being versed in psychometric methods and was wondering if I could pick your brain over something. I can't seem to send DMs, but if you are able to , could you kindly reach out? Best,
  17. J

    American Horror Story

    I cannot wait for the cross over this season. Season 3 ended up being (and still is) my all time favorite!!
  18. J

    American Horror Story

    The series definitely misses her but I feel it can stand on its own legs without her. Kathy Bates, Angela Basset, GaGa and a few other 'new' regulars keeps it fresh. AHS Apocalypse is looking really good so far...The guy playing Michael Langdon is from American Crime Story (Cody Fern) and is...
  19. J

    Submission of package to CRAN: problem grasping an Error

    I thought I saw something on CRAN the other week by him, but will let him confirm. Again, apologies we couldn't be of more help. I'm still new to CRAN submissions and building packages in general myself.
  20. J

    Too many dummy variables in Regression

    Can you group the 50,000 models into far fewer categories in a meaningful way? E.g. 'Samsung','Apple',etc or limit your focus to recent phone models? I'm guessing you have (for example) all Apple iPhones (2g, 3g, 3gs, etc.) in your data set? Are all relevant for your current problem at hand? I...