Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Dear R experts, I want to simulate some unbalanced clustered data. The number of clusters is 20 and the average number of observations is 30. However, I would like to create an unbalanced clustered data per cluster where there are...
Hi, I was trying to do a cluster sampling but came across this error: Error in xj[i] : only 0's may be mixed with negative subscripts. What is the cause and how to get around? Thank you for your...
Dear R Users, I am pleased to announce that Goodreader 0.1.1 is now available on CRAN. Goodreader offers a toolkit for scraping and analyzing book data from Goodreads. Users can search for books, scrape detailed information and reviews...
Dear R Users, I am pleased to announce that Goodreader 0.1.1 is now available on CRAN. Goodreader offers a toolkit for scraping and analyzing book data from Goodreads. Users can search for books, scrape detailed information and reviews...
Dear R-help, I am trying to add1() all interaction terms on top of a multinomial baseline model using multinom() but it shows the error "trying + x1:x2 Error in if (trace) { : argument is not interpretable as logical Called from...
Dear R-Help community, This is a crosspost on SO but I've had no luck so far. So I have a function which computes a centrality index for the nodes in a network or matrix. Here is the function...
Dear R-Help, I created a mapply function to select samples from a dataset but are there any faster ways to do it by avoiding mapply because it is slow and I have a larger dataset? My goal is to...
I have a few questions about using add1(). First of all, according to the R document of add1(), the trace = TRUE function prints out progress reports but my attempts to do this have failed several times. So how do we...
I want to apply a sample function to a nested list (I will call this list `bb`) and I also have a list of numbers (I will call this list `k`) to be supplied in the sample function. I would...
Thank you Eric, Andrew, Rui and Martin for all your help and advice. I did learn some good practices under the new R version! Best, Chao On Thu, Sep 22, 2022 at 5:53 AM Martin Maechler <maechler at stat...
Thank you Duncan. Do you by chance know any way around this? On Mon, Jan 18, 2021 at 11:58 AM Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > You are using add1 on an "lm" object, and add1.lm...
Dear R-help community, I would like to simulate type I error for a random-effects model I generated. The statistic of interest is standard deviations of the random intercept and random slope. Specifically, for random intercept, H_{0}: lambda...
Thank you for your help Abby! On Wed, Dec 16, 2020 at 11:32 PM Abby Spurdle <spurdle.a at gmail.com> wrote: > Hi Chao Liu, > > I'm having difficulty following your question, and examples. > And also, I don't...
Dear R-sig-mixed-models community, I would like to simulate type I error for a random-effects model I generated. The statistic of interest is standard deviations of the random intercept and random slope. Specifically, for random intercept, H...
Hi Jeff, Thanks for the reminder. I will post my question there. I did post the plain text but maybe the default font of my gmail makes it look like being formatted. Best, Chao On Wed, Jan 26, 2022 at...
Thank you for your input, Petr. I will give it a try. Best, Chao ? On Wed, Feb 3, 2021 at 4:32 AM PIKAL Petr <petr.pikal at precheza.cz> wrote: > Hi > > I am not sure if I understand your...
Thank you for the reminder, Jeff. I am new to R-help and so please bear with my ignorance. This is not homework and here is a reproducible example. The number of observations per cluster doesn't follow the condition...
Jim and Bert, Thank you for your help. It was an indexing problem. I was able to solve it by changing the split line to: clusters <- split(seq_len(nrow(dd)), dd$cluster). Thank you. Best, Chao On Sat, Dec...
Jim and Ben, Thank you for your help. I will play around the commands and function you suggested. Best, Chao On Tue, Dec 22, 2020 at 4:07 AM Jim Lemon <drjimlemon at gmail.com> wrote: > Hi Chao, > I think...
Can't find what you're looking for? Try searching with Google .