wdkrnls
wdkrnls
Actually, you've already done better (than my previously shared code): ```r my_tidy_graph %E>% mutate(cluster = group_biconnected_component()) %>% group_by(cluster) %>% mutate(nmembers = n(), bridge = nmembers == 1) ```
Having `node_is_articulate` might be nice as well.
Har Marcus, You are definitely right: my compiler is ancient. gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
Somewhat related: would be nice if you could get chisq distances on counts of qgram occurrences within strings.
I've seen it defined two ways: 1. the Chisq test statistic itself [0,Inf] 2. the cummulative density function applied at the Chisq test statistic [0,1] This appears to be heavily...
I gave a poor example. Enumerating known cases is pretty convenient to do in R as you have shown. However, the TXR pattern function approach is way more powerful when...
Fair enough. Thanks for maintaining :+1:. The Continuous Bernoulli is pretty simple to code up naively in base R, but I am not too familiar with Rcpp and am rusty...
Hmm... I was using the pre-transformed column. I will try with scale directly in the formula. That seems consistent with the intuitive connection to `poly` and `inverse` in the data...
Now, here is the rub, I also want to find polynomials of these scaled terms. I haven't checked whether that is feasible yet from the perspective of the reporting.
Would this also just work if I wrote an `spoly` wrapper around poly and scale that did the same as `poly(scale(covariate), 2)` but which doesn't look like a complex expression?...