Skip to contents

Simulated data for regression

Usage

res_demo_2

Format

A data frame with 300 observations on the following 3 variables.

x

a numeric vector

y_fan

a numeric vector

y_log

a numeric vector

Examples


res_demo_2
#> # A tibble: 300 × 3
#>        x  y_fan  y_log
#>    <int>  <dbl>  <dbl>
#>  1     1  3.03  -0.249
#>  2     2  1.29   1.46 
#>  3     3  2.82   1.81 
#>  4     4  0.696  2.04 
#>  5     5  6.98   1.19 
#>  6     6 17.2    0.591
#>  7     7  3.15   1.45 
#>  8     8 -7.10   2.37 
#>  9     9  6.12   3.02 
#> 10    10 11.7    1.40 
#> # ℹ 290 more rows