my dataset looks like this in the beginning:

  Subject  Time1  Time2  Time3
1         1  0.385  0.103 -0.488
2         2 -1.939  0.569  1.370
3         3 -1.196 -0.051  1.247
4         4  0.174 -1.163  0.989
5         5  1.246  0.558 -1.804
6         6 -1.108 -0.057  1.165
7         7 -0.609 -0.344  0.953

so each subject has three observations. now I need to show the dataset in
3d with scatterplot3d and plot3d together, that's what I don't know how it
works.

I tried:
scatterplot3d(data, type="p", highlight.3d=T, pch=16)

the graph looks like 3D but is not reall 3D, I mean I can't e.g. rotate it.
but how can combine both functions?

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to