similar to: problem with all/all.equal

Displaying 20 results from an estimated 10000 matches similar to: "problem with all/all.equal"

2011 Mar 15
2
Finding the name "vector"
Hello: Here are some basic class items: > x <- 1:10 > class(x) [1] "integer" > x.mat <- matrix(1:6,nrow=2) > class(x.mat) [1] "matrix" > class(x>3) [1] "logical" > test <- function() { plot(1:10) } > class(test) [1] "function" > Is there something that says "vector", please? Or does it go to numeric, logical,
2004 Jun 14
5
adjusting color palette
Is there a way to increase the "sensitivity" of the color palette in order to more clearly represent certain sections of data? For example I am wanting to clearly differentiate between height data for a rolling landscape but because of the extremes of the dataset (sea and mountain tops), the bulk of the landscape is shaded in closely approximating green - i have attempted to do this by
2018 May 08
2
Dinamic variables in loop
Hello, I am a newbie in R and I have a problem. I want this line: newMyData <-MyData[!(is.na(col1)) | !(is.na(col2)) | !(is.na(col3)) | !( is.na(col4)) | !(is.na(col5)),] write in for loop. The number of col[number] may be different from 3 to 8 Is there any ideas? Thank you Laura [[alternative HTML version deleted]]
2013 Apr 15
2
regression with paired left-censored data
HI I am trying to analyse data which is left-censored (i.e. has values below the detection limit). I have been using the NADA package of R to derive summary statistics and do some regression. I am now trying to carry out regression on paired data where both my X and Y have left-censored data within them. I have tried various commands in R: rega = cenreg(Cen(conc, cens_ind) ~ Gp_ident))? with
2018 May 08
0
Dinamic variables in loop
Dear Laura, It looks like you want to remove all rows for which each column is NA. You can to that with the code below. na.matrix <- is.na(MyData) all.na.row <- apply(na.matrix, 1, all) MyData[!all.na.row, ] Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
2010 Apr 21
1
Creating artificial environmental landscape with spatial autocorrelation
Dear all: Does anyone have any suggestions on how to make a spatially explicit landscape with spatial autocorrelation in R? In other words, a landscape where all cells have a spatial reference, and the environment values that are closer in space are more similar (positive spatial autocorrelation). Thank you, Laura
2005 Mar 08
2
a==0 vs as.integer(a)==0 vs all.equal(a,0)
hi ?integer says: Note that on almost all implementations of R the range of representable integers is restricted to about +/-2*10^9: 'double's can hold much larger integers exactly. I am getting very confused as to when to use integers and when not to. In my line I need exact comparisons of large integer-valued arrays, so I often use as.integer(), but the above
2002 Jul 03
2
lda from MASS function
Hi all, I am using the lda function from the MASS library to measure the discriminance of different variables with respect to different grouping variables by using lda( RESULTVARS[, 1:750] , GROUPVAR , tol=0 ) where RESULTVARS contains some 750 different variables. Occasionally there is a variable within RESULTVARS that has the same values for all values of GROUPVAR, ie no variance so
2012 Sep 01
1
Vectorial analogue of all.equal()?
Greetings All. Once again, I am probably missing something fairly accessible, but since I can't find it I'd welcome advice! I have a dataframe derived from a text file of data in tabular format. For one of the variables, say X, I want to select the subsets which in which X equals a particular value. Such values are given in the text file like: 2.3978953, and each such value will occurr
2009 Jun 25
2
crr - computationally singular
Dear R-help, I'm very sorry to ask 2 questions in a week. I am using the package 'crr' and it does exactly what I need it to when I use the dataset a. However, when I use dataset b I get the following error message: Error in drop(.Call("La_dgesv", a, as.matrix(b), tol, PACKAGE = "base")) : system is computationally singular: reciprocal condition number =
2019 Apr 05
3
[EXTERNAL] Re: Re: all.equal failure
>>>>> Duncan Murdoch >>>>> on Fri, 5 Apr 2019 11:12:48 -0400 writes: > On 05/04/2019 10:46 a.m., Therneau, Terry M., Ph.D. wrote: >> >> >> On 4/5/19 9:39 AM, Duncan Murdoch wrote: >>> On 05/04/2019 10:19 a.m., Therneau, Terry M., Ph.D. wrote: >>>> Duncan, >>>> ?? I should have
2011 Apr 12
2
SNMP monitoring options
Hi all, Been using Cacti for monitoring various things like, system disk/mem/ proc, network usage, router usage etc... While its been fun, the graphs are just unruly. Was looking an OpsView (the free version), wondering what your experience with this type of trend/heuristic analysis has been and what what you like. And of course thoughts on OpsView. - aurf
2002 Jun 26
3
Bug or failing understanding?
Hola! I seem to remember i used to have the same name of argument and default value in argument list to functions, but (rw1.5.1) this seems not to work: > x <- 3 > test <- function(x=x) x*x > test(7) [1] 49 > test() Error in test() : recursive default argument reference here is a code fragment from lm() using the same syntax: else { x <- model.matrix(mt, mf,
2006 Aug 10
4
Getting "Invalid HTTP format, parsing fails." from one client
Hi! I am new to Mongrel but really like it so far. We''ve been running a single instance for our test server for about a week now. When one of our editors accesses the site, they receive a blank white page in Firefox and/or IE6/Win. In Mongrel logs we see this: Wed Aug 09 16:25:30 PDT 2006: BAD CLIENT (192.168.2.42): Invalid HTTP format, parsing fails. Wed Aug 09 16:25:31 PDT
2015 Jul 30
1
all.equal: possible mismatch between behaviour and documentation
Dear Jon, thank you for raising the issue, >>>>> Jon Clayden <jon.clayden at gmail.com> >>>>> on Tue, 28 Jul 2015 12:14:48 +0100 writes: > Sorry; minor clarification. The actual test criterion in the example I > gave is of course abs((0.1-0.102)/0.1) < 0.01, not abs(0.1) < 0.01. In > any case, this does not match (my reading of) the docs,
2015 Jul 28
2
all.equal: possible mismatch between behaviour and documentation
Dear all, The documentation for `all.equal.numeric` says Numerical comparisons for ?scale = NULL? (the default) are done by first computing the mean absolute difference of the two numerical vectors. If this is smaller than ?tolerance? or not finite, absolute differences are used, otherwise relative differences scaled by the mean absolute difference. But the actual behaviour
2019 Apr 05
0
[EXTERNAL] Re: Re: all.equal failure
On 05/04/2019 11:33 a.m., Martin Maechler wrote: >>>>>> Duncan Murdoch >>>>>> on Fri, 5 Apr 2019 11:12:48 -0400 writes: > > > On 05/04/2019 10:46 a.m., Therneau, Terry M., Ph.D. wrote: > >> > >> > >> On 4/5/19 9:39 AM, Duncan Murdoch wrote: > >>> On 05/04/2019 10:19 a.m., Therneau,
2007 Mar 19
3
Planning first Linux/Wine install
I'm planning my first Linux/Wine install. Is there any advantage to having a Windows (say W2K) partition to install Win apps to, when the plan is to run them under Wine/Linux? I do have a licensed copy of W2K, so I could do that if it were an advantage (e.g., is it easier to install difficult or unruly win apps under windows first?). Any other suggestions (I'm planning out my partition
2008 Jan 04
2
Plot only a subset of all factors in dataframe
Hi all, I have a dataframe called 'table' in which both factors and numerical values are stored. > dim(table) [1] 990 6 The fist 10 lines of table, to get an idea: > table[1:10,] QueryNo Query type Ret Prec Rec 1 1 Sports exact 1 1 0.01 2 5 Office exact 0 NaN 0.00 3 6 Meeting exact 0 NaN 0.00 4 7 Studio exact 0 NaN 0.00
2015 May 26
2
[PATCH 2/2] nv30/draw: switch varying hookup logic to know about texcoords
On 25.05.2015 21:29, Ilia Mirkin wrote: > Commit 8acaf862dfe switched things over to use TEXCOORD instead of > GENERIC, but did not update the nv30 swtnl draw paths. This teaches the > draw logic about TEXCOORD. > > Among other things, this fixes a crash in demos/arbocclude when using > swtnl. Curiously enough, the point-sprite piglit works without this. > > Signed-off-by: