search for: wholenumb

Displaying 3 results from an estimated 3 matches for "wholenumb".

Did you mean: wholename
2024 Jul 14
2
Reinterpret data without saving it to a file 1st? Check for integer stopping at 1st decimal?
...riting and reading a CSV and get the same transformation? Perhaps some way to break the spreadsheet data (eg XLdata <- read_excel(...)), then put it back together without any writing to a file (eg XLdataReformed <- reform(XLdata)) ? In addition, from is.integer() documentation I ran > is.wholenumber <- function(x, tol = .Machine$double.eps^0.5) abs(x - round > (x)) < tol and I'm now trying to have it stop at the 1st decimal content of a column. Someone advised me to use break and I scripted > is_integer = TRUE for (current_row in seq_along(data$column)) { if (! > is.whol...
2015 Dec 17
1
integer
In the help page for ?is.integer, there is this function is.wholenumber <- function(x, tol = .Machine$double.eps^0.5) abs(x - round(x)) < tol A quick question: is there a case where this alternative function will not work? function(x) x %% 1 == 0 Best, Adrian -- Adrian Dusa University of Bucharest Romanian Social Data Archive Soseaua Panduri nr.90...
2009 Apr 22
7
'is.integer' (PR#13671)
Full_Name: Mauricio Version: 2.9.0 (2009-04-17) OS: i486-pc-linux-gnu Submission from: (NULL) (193.205.203.3) This is a very simple function that seems not to be working, according to the definition given by '?is.integer'. I checked in the Bug Tracking page at http://bugs.R-project.org/, but I didn't find any related message. The possible problem is: > is.integer(1) [1] FALSE