Извлечь все «целые» элементы символов до определенной точки nchars в R?

Number.prototype.truncate = function(places) {
  var shift = Math.pow(10, places);

  return Math.trunc(this * shift) / shift;
};
1
задан Reputable Misnomer 7 March 2019 в 20:15
поделиться