GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — variations · WinVector/Examples@e32cc57

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • rebalance
    • traj_graph_2.Rmd
    • traj_graph_2.md
    • traj_graph_2_files/figure-gfm
      • unnamed-chunk-13-1.png
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎rebalance/traj_graph_2.Rmd‎

Copy file name to clipboardExpand all lines: rebalance/traj_graph_2.Rmd
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ frame <- build_traj(d_ex)
7070

7171
```{r}
7272
want_frame <- function(frame) {
73-
check_eps = 0.02
73+
check_eps = 0.03
7474
n_f_rows <- nrow(frame)
7575
have_cross <- FALSE
7676
have_increasing <- FALSE
@@ -104,7 +104,7 @@ mk_example <- function() {
104104
n_rows <- 10
105105
while(TRUE) {
106106
d_ex <- data.frame(matrix(
107-
sample(seq(-10, 10), size = length(d_cols) * n_rows, replace = TRUE),
107+
sample(seq(-20, 20), size = length(d_cols) * n_rows, replace = TRUE),
108108
ncol=length(d_cols)))
109109
colnames(d_ex) <- d_cols
110110
d_ex['y'] = d_ex['y'] >= 0
Collapse file

‎rebalance/traj_graph_2.md‎

Copy file name to clipboardExpand all lines: rebalance/traj_graph_2.md
+22-22Lines changed: 22 additions & 22 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ frame <- build_traj(d_ex)
7171

7272
``` r
7373
want_frame <- function(frame) {
74-
check_eps = 0.02
74+
check_eps = 0.03
7575
n_f_rows <- nrow(frame)
7676
have_cross <- FALSE
7777
have_increasing <- FALSE
@@ -102,7 +102,7 @@ mk_example <- function() {
102102
n_rows <- 10
103103
while(TRUE) {
104104
d_ex <- data.frame(matrix(
105-
sample(seq(-10, 10), size = length(d_cols) * n_rows, replace = TRUE),
105+
sample(seq(-20, 20), size = length(d_cols) * n_rows, replace = TRUE),
106106
ncol=length(d_cols)))
107107
colnames(d_ex) <- d_cols
108108
d_ex['y'] = d_ex['y'] >= 0
@@ -124,33 +124,33 @@ cat(wrapr::draw_frame(d_ex))
124124

125125
## d_ex <- wrapr::build_frame(
126126
## "x1" , "x2", "y" |
127-
## 4L , 4L , FALSE |
128-
## -4L , 6L , TRUE |
129-
## 10L , -5L , FALSE |
130-
## -9L , -8L , FALSE |
131-
## 6L , 0L , FALSE |
132-
## 3L , -8L , TRUE |
133-
## -7L , 6L , TRUE |
134-
## 6L , 9L , FALSE |
135-
## 5L , -1L , FALSE |
136-
## 9L , 8L , FALSE )
127+
## -12L, 8L, TRUE |
128+
## 10L, -17L, TRUE |
129+
## 8L, -13L, TRUE |
130+
## 18L, -9L, FALSE |
131+
## 17L, 13L, FALSE |
132+
## -20L, -11L, FALSE |
133+
## 0L, 12L, FALSE |
134+
## 15L, -12L, FALSE |
135+
## 17L, -16L, FALSE |
136+
## -12L, 14L, TRUE )
137137

138138
``` r
139139
knitr::kable(d_ex)
140140
```
141141

142142
| x1 | x2 | y |
143143
|----:|----:|:------|
144-
| 4 | 4 | FALSE |
145-
| -4 | 6 | TRUE |
146-
| 10 | -5 | FALSE |
147-
| -9 | -8 | FALSE |
148-
| 6 | 0 | FALSE |
149-
| 3 | -8 | TRUE |
150-
| -7 | 6 | TRUE |
151-
| 6 | 9 | FALSE |
152-
| 5 | -1 | FALSE |
153-
| 9 | 8 | FALSE |
144+
| -12 | 8 | TRUE |
145+
| 10 | -17 | TRUE |
146+
| 8 | -13 | TRUE |
147+
| 18 | -9 | FALSE |
148+
| 17 | 13 | FALSE |
149+
| -20 | -11 | FALSE |
150+
| 0 | 12 | FALSE |
151+
| 15 | -12 | FALSE |
152+
| 17 | -16 | FALSE |
153+
| -12 | 14 | TRUE |
154154

155155
``` r
156156
frame <- build_traj(d_ex)
Collapse file

‎rebalance/traj_graph_2_files/figure-gfm/unnamed-chunk-13-1.png‎

Copy file name to clipboard
6.08 KB
  • Display the source diff
  • Display the rich diff
Loading

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.