Displaying 1 result from an estimated 1 matches for "br_scatter".
Did you mean:
binscatter
2008 Oct 03
1
3D scatter, groups, RdbiPgSQL...
...tried to apply it to
a data imported from a PostgreSQL database (using the Rdbi and RdbiPgSQL
packages) it gives me this error message:
ERROR:
groups variable must be a factor.
To be more clear here is a command I used with the scatter3d (exactly
the same for the both datasets):
scatter3d(br_scatter$cl, br_scatter$br, br_scatter$hco3, fit="linear",
residuals=TRUE, bg="white", axis.scales=TRUE, grid=TRUE,
ellipsoid=FALSE, xlab="cl", ylab="br", zlab="hco3", groups =
br_scatter$stratigraphy)
the dataset I used is here (the same is the data imp...