Displaying 2 results from an estimated 2 matches for "quadschem".
Did you mean:
quadscheme
2019 Aug 08
3
Producing different text formats in R
...bl.gov/voro++/). This code accepts text files with four columns:
<id> <x> <y> <z>
where id is an identification number and x,y,z are the coordinates of a point in a 3D space.
The input file, name it myfile_cpp.txt, is generated by another C++ code written by myself (named quadscheme.cpp). So far, these calculations involve no R code and it works just fine.
However, now I am trying to replace my C++ code quadscheme.cpp by a R function. The four columns (id,x,y,z) are produced in a matrix or Data Frame and then saved in a file myfile_r.txt using write.table(). For example usin...
2019 Aug 08
0
Producing different text formats in R
...les with four columns:
Llu?s> <id> <x> <y> <z>
Llu?s> where id is an identification number and x,y,z are the coordinates of a point in a 3D space.
Llu?s> The input file, name it myfile_cpp.txt, is generated by another C++ code written by myself (named quadscheme.cpp). So far, these calculations involve no R code and it works just fine.
Llu?s> However, now I am trying to replace my C++ code quadscheme.cpp by a R function. The four columns (id,x,y,z) are produced in a matrix or Data Frame and then saved in a file myfile_r.txt using write.table(). Fo...