Displaying 5 results from an estimated 5 matches for "ntiles".
Did you mean:
tiles
2019 Aug 08
3
Producing different text formats in R
Dear all,
I am facing a strange problem with text files formats.
I am currently using a C++ code named voro++ (http://math.lbl.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
2019 Aug 08
0
Producing different text formats in R
>>>>> "Llu?s" == <Lluis.Hurtado at uv.es> writes:
Llu?s> Dear all,
Llu?s> I am facing a strange problem with text files formats.
Llu?s> I am currently using a C++ code named voro++ (http://math.lbl.gov/voro++/). This code accepts text files with four columns:
Llu?s> <id> <x> <y> <z>
Llu?s> where id is
2005 Jul 15
3
Dividing a vector into ntiles
R 2.1.1
Win 2k
Would someone suggest a method (or methods) that can be used to
determine ntile cutpoints of a vector, i.e. to determine values that can
be used to divide a vector into thirds such as 0-33 centile, 34-66
centile, 67-100 centile. If for example I had a vector:
1,2,3,4,5,6,7,8,9
and wanted to divide the vector into thirds
I would have cut-points of 3, and 6.
Thanks,
John
John
2010 Jun 16
3
Decile
Hello comunity,
I'm trying to find a similar function as decile of SPSS, NTILES (10)
some of you know about that, I will appreciate your help in advance.
In SPSS
VARIABLES=Sales (A) /NTILES (10) /PRINT=NO
for example if I have Next data input:
case IdCust Sales Profit 1 265 140.81 314.31 2 266 1778.96 408.32 3 267
2663.66 820.85 4 268 2994.14 913.73 5 269 2185.58 686.64...
2009 Oct 28
1
output of "for"
...ot;|". The number of input filenames changes (minimum 1, maximum n)
wrkdr <- "H:\\akk_temp\\Modis\\MOD09"
dates is a data.frame where each row is a date and each column is a Modis-image (the name of it)
I did this as following:
paste('INPUT_FILENAMES = ', for(g in 1:(ntiles-1)) {paste(wrkdr,'\\',dates[i,g+1],'|',sep='')} , for(g in ntiles){ paste(wrkdr,'\\',dates[i,g+1],sep='') } ,sep='')
....and this did work (in an other "wrkdr" and other "dates") but after changing, "for" gave no more o...