search for: myfile_r

Displaying 2 results from an estimated 2 matches for "myfile_r".

2019 Aug 08
3
Producing different text formats in R
...nother 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 using the following function: quadscheme <- function(window, ntile) { # Creates a grid of points in a 3D orthohedron. # First point lies at the (mix,miny,miz) corner of the volume and the last one at (maxx,maxy,maxz) # window: vector. Contains the min...
2019 Aug 08
0
Producing different text formats in R
...e 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(). For example using the following function: Llu?s> quadscheme <- function(window, ntile) { Llu?s> # Creates a grid of points in a 3D orthohedron. Llu?s> # First point lies at the (mix,miny,miz) corner of the volume and the last one at (maxx,maxy,...