library(data.table)
x1 = data.table(
id = c(1L, 1L, 2L, 3L, NA_integer_),
t = c(1L, 2L, 1L, 2L, NA_integer_),
x = 11:15
)
y1 = data.table(id = 1:2,
y = c(11L, 15L))
x2 = data.table(
id = c(1, 1, 2, 3, NA),
t = c(1L, 2L, 1L, 2L, NA_integer_),
x = c(16, 12, NA, NA, 15)
)
y2 = data.table(
id = c(1, 2, 5, 6, 3),
yd = c(1, 2, 5, 6, 3),
y = c(11L, 15L, 20L, 13L, 10L),
x = c(16:20)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.