Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
Frank
Frank has asked
19
questions and find answers to
482
problems.
Stats
10.6k
EtPoint
3.1k
Vote count
19
questions
482
answers
About
Here's an R tutorial.
"I mean, a horse is a horse of course, but who rides is important."
Frank questions
fill rows downward for a column with NAs (with R base or data.table)
splitting (1:n)[boolean] into contiguous sequences
accessing Y columns with duplicated names in j of X[Y, j] merges
print the data.table package's .onAttach messages with knitr
Clean, simple function factories in R
Using data.table's .() shortcut in quoted expressions
lapply-ing with the "$" function
Efficiently computing a linear combination of data.table columns
data.table `:=` assignment expressions with dynamic inputs (existing columns) and outputs (new column names)
Saving plots in a data.table list column
Frank answers
Assign a data.table column to a variable in R
Vectorization of for-loop for calculations between two datasets in R
Sum of all pairwise row products as a two way matrix
When grouping by all columns in a data.table, .SD is empty
Permute/randomize rows within a column independently
Group by ID, each element of the new table is a vector
Reshaping data using tidyr
aggregate data.table to rows of intervals of original values
Divide Groups by # of samples in each group in R
Transform multiple columns with a function that uses different arguments per column