Alex
Alex
In Matlab 2015b: ``` scatter(1, 1) p = fig2plotly(gcf, 'offline', true, 'strip', false) p.data{1}.x = [p.data{1}.x, p.data{1}.x] p.data{1}.y = [p.data{1}.x, p.data{1}.y] p.plotly ``` The first plot does not show any...
This was originally reported at http://forums.udacity.com/questions/100254695/problems-with-dplyr-040. It appears to be specific to v0.40. First download the dataset from https://s3.amazonaws.com/udacity-hosted-downloads/ud651/pseudo_facebook.tsv Then, create the dataset `pf` using `pf
From: http://stackoverflow.com/questions/40187530/in-dplyr-0-5-0-why-does-slice1-not-give-the-same-results-as-filterrow-number?noredirect=1#comment67643041_40187530 Using example data `tmp_df2 % group_by(a) %>% slice(1) ``` produces a different row order to ``` tmp_df2 %>% group_by(a) %>% filter(row_number() == 1) ```
When using dplyr to connect to (PostgreSQL) databases, it is possible to generate queries using explain that result in ordering subquery tables, e.g.: ``` SELECT * FROM (SELECT * FROM...
Using sample data: ``` df = data.frame(name=rep(c('Al','Jen'),3), score=rep(c(100, 80, 60),2)) ``` Doing the following operation produces the wrong result: ``` # incorrect df %>% arrange(name) %>% group_by(name) %>% mutate(next.score =...
Oracle doesn't like the sql statement translated by `dbplyr` when there is a `group_by` and `filter`, with `row_number() == n()`. ``` r library(tidyverse) oracle_con Loading compiled code... (test_tbl # Source:...
I have an issue where integers (classed as numerics) that have 16 significant figures get rounded to 15 significant digits when using the `dplyr` interface with databases via `tbl`. Here...