LoadData3D(FileName, Type = 2)
The cartesian coordinate type contains six columns, defining the coordinates of a vector. The first three columns represent the X, Y and Z coordinates of the intial data and the last three columns represents the coordinates of the final data, and each row corresponds to one of the data. If necessary, the inverse order can be used to adapt the direction to our data. The incremental data type contains three columns, the first column is the increase of X coordinate, the second column is the increase of Y coordinate and the third column is the increase of Z coordinates, and each row corresponds to one of the data. The X coordinate, Y coordinate and Z coordinate are obtained from the difference of the final node with respect to the initial node. The polar type contains two or three columns. If it contains two columns, the first column represents the colatitude and the second column represents the longitude, in this case the module by default is equal to 1. If it contains three columns, the first column represents the module, the second column represents the colatitude and the third column represents the longitude. Each row corresponds to one of the data. Typical usages are
LoadData3D(FileName, \dots) LoadData3D(FileName, Type=2) ......
DrawDensity3D
, DrawModuleAndAngleDistribution3D
,
AllAngleStatistics
, AllModuleStatistics3D
,
RayleighTest3D
.
FileName<-system.file("data/XYZcoor.txt", package="VecStatGraphs3D")
LoadData3D(FileName, Type=1)
Run the code above in your browser using DataLab