Skip to contents

Plot by subsampling in each bin in x-axis

Usage

ggplot_by_sampling(x, y, N, nbins = 1000)

Arguments

x

x values

y

y values

N

number of samples

nbins

number of bins on the x-axis