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
20
questions and find answers to
502
problems.
Stats
10.9k
EtPoint
3.2k
Vote count
20
questions
502
answers
About
Here's an R tutorial.
"I mean, a horse is a horse of course, but who rides is important."
Frank questions
using return list macros with `: list' syntax
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)
Frank answers
Pass data.table column into function when using .SDcols
Cumulative sum base on the value of different columns in the same row of a dataframe (avoiding loops)
How can we do some calculations using last row within a group in data.table in R?
replace every other space with new line
Calculating overlap (and distance measures) for categorical variables in R
Take first non-0 value or last 0 value if that's all there is
Looping through rows using lapply with a conditional
Strsplit and count occurrences
How to roll sum by conditon?
Sum up cells by some columns