Unfortunately I tried the change suggested by Emiliano Colina, and although the error disappears, there is no graph produced. In addition, my R Studio crashes.
I also tried to input the data as a matrix, but this also crashes my R Studio.
scatterplot3js(as.matrix(subset(marriage_data_GDP,
select = c(“Female”, “Male”,
“GDP_Person_000s”))))
Has anyone been able to make the graph work? If so, please paste your code. thank you.