@@ -48,13 +48,12 @@ of column names, imputation of missing data, and more.*
48
48
49
49
## Usage
50
50
51
- Consider the following table and its corner plot :
51
+ Consider the following table and its pairplot :
52
52
53
53
``` @example usage
54
54
using TableTransforms
55
- using Plots , PairPlots
55
+ using CairoMakie , PairPlots
56
56
using Random; Random.seed!(2) # hide
57
- gr(format=:png) # hide
58
57
59
58
# example table from PairPlots.jl
60
59
N = 100_000
@@ -64,15 +63,15 @@ c = randn(N)
64
63
d = c .+ 0.6randn(N)
65
64
table = (; a, b, c, d)
66
65
67
- # corner plot of original table
68
- table |> corner
66
+ # pairplot of original table
67
+ table |> pairplot
69
68
```
70
69
71
70
We can convert the columns to PCA scores:
72
71
73
72
``` @example usage
74
73
# convert to PCA scores
75
- table |> PCA() |> corner
74
+ table |> PCA() |> pairplot
76
75
```
77
76
78
77
or to any marginal distribution:
@@ -81,7 +80,7 @@ or to any marginal distribution:
81
80
using Distributions
82
81
83
82
# convert to any Distributions.jl
84
- table |> Quantile(dist=Normal()) |> corner
83
+ table |> Quantile(dist=Normal()) |> pairplot
85
84
```
86
85
87
86
Below is a more sophisticated example with a pipeline that has
@@ -98,7 +97,7 @@ f5 = Interquartile()
98
97
pipeline = (f1 → f2 → f3) ⊔ (f4 → f5)
99
98
100
99
# feed data into the pipeline
101
- table |> pipeline |> corner
100
+ table |> pipeline |> pairplot
102
101
```
103
102
104
103
Each branch is a sequence of transforms constructed with the ` → ` (` \to<tab> ` ) operator.
0 commit comments