similar to: cv.glm and "longer object length is not a multiple of shorter object length" error

Displaying 20 results from an estimated 200 matches similar to: "cv.glm and "longer object length is not a multiple of shorter object length" error"

2017 Sep 12
0
comparition of occurrence of multiple variables between two dataframes
Hi C?line, Looks like you are looking for a statistical test between two sets of distributions, such as KS test, for example, generate histogram for each row in an identical way and run KS test. But if you are after simple difference you may use compare package ( https://cran.r-project.org/web/packages/compare/index.html). Best, -m PS: Data is already plural :) datas does not exist. On 12
2017 Sep 12
3
comparition of occurrence of multiple variables between two dataframes
Yes of course, I can share this short view of the datas. Here is the head() of data100, containing all the trees with a final value higher than 100?: CV11 CV12 CV13 CV14 CV15 CV21 CV22 CV23 CV24 CV25 CV26 CV31 CV32 CV33 CV41 CV42 CV43 CV44 CV51 CV52 IN11 IN12 IN13 1291 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1083 0 4 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3919 0 0 0 0 0 0 0 0 0 0 0 2 0
2017 Sep 12
0
comparition of occurrence of multiple variables between two dataframes
Do you have a simplified example with a code? It is not clear to me what do you mean by tree but if you refer to tree data structure, maybe you could change the data structure to tree (https://cran.r-project.org/web/packages/data.tree/vignettes/data.tree.html) and try to write comparison of two tree objects. It might be easier that data.frame alone. On 12 September 2017 at 12:27, C?line L?scher
2017 Sep 12
2
comparition of occurrence of multiple variables between two dataframes
Hi everyone, I need your help to solve a problem with occurrence and two dataframes. I have an excel table of 15200 lines. Each line correspond to a tree analyzed for its structures. I have all the structures in columns (48 structures). The occurrence of these structures has been counted on every tree. For example, the tree 12607 has 3 structures CV11, 1 structure IN12 and none (0) of the rest of
2012 Sep 24
20
cannot replace X with Y: devices have different sector alignment
Well this is a new one.... Illumos/Openindiana let me add a device as a hot spare that evidently has a different sector alignment than all of the other drives in the array. So now I''m at the point that I /need/ a hot spare and it doesn''t look like I have it. And, worse, the other spares I have are all the same model as said hot spare. Is there anything I can do with this or
1998 May 25
0
FileListBox with VisualBasic 5.0 displays only Filenames shorter than 8 character
Hello, FileListBox with VisualBasic 5.0 (32Bit) and NT4.0SP3 displays only Filenames shorter than 8 character. I am using Samba1.9.18.p3. The problem doesn't occur if the connected services is on an NT-Plattform. Does anybody know a solution to this problem. Or hasn?t anybody had this problem yet and am I just goofed ? regards Michael Emrich
2007 Aug 29
0
a faster and shorter way to perform calculations?
This is a continuation from a previous posting of mine: The following algorithm below is what I want to accomplish: Z(xk) = Average(Yi, i belongs to Ik), where Ik contains all i such that for each j, |Xi,j - xkj?? 2. Here, j = 1, 2 and i corresponds to the elements in each X and/or xk >data x1 x2 y 1 1 2 2 2 6 3 3 12 Now, consider a second data frame or matrix (xk):
2008 Mar 13
2
How to cbind or rbind different lengths vectors/arrays without repeating the elements of the shorter vectors/arrays ?
Hi, How to cbind or rbind different lengths vectors/arrays without repeating the elements of the shorter vectors/arrays ? > cbind(1:2, 1:10) [,1] [,2] [1,] 1 1 [2,] 2 2 [3,] 1 3 [4,] 2 4 [5,] 1 5 [6,] 2 6 [7,] 1 7 [8,] 2 8 [9,] 1 9 [10,] 2 10 [[alternative HTML version deleted]]
2010 Nov 22
2
Making a line in a legend shorter
Hello, I am putting a legend with lines in a line plot and I would like to make the lines in the legend shorter. Does anybody knows how to do this? Thank you Felipe Parra [[alternative HTML version deleted]]
1998 May 25
0
WG: FileListBox with VisualBasic 5.0 displays only files if direc toryname is shorter than 9 character
Hello, Sorry, there was an mistake in my previous mail. FileListBox with VisualBasic 5.0 (32Bit) and NT4.0SP3 displays only files if directoryname is shorter than 9 character. I am using Samba1.9.18.p3. The problem doesn't occur if the connected services is on an NT-Plattform. Does anybody know a solution to this problem. Or hasn?t anybody had this problem yet and am I just goofed ?
2010 Nov 03
3
longer object length is not a multiple of shorter object length
Hi folks, I'm following An Introduction to R http://cran.r-project.org/doc/manuals/R-intro.html#R-and-statistics to learn R. Coming to; 2.2 Vector arithmetic > v <- 2*x + y + 1 Warning message: In 2 * x + y : longer object length is not a multiple of shorter object length What does it mean? How to rectify it? Please help. TIA B.R. Stephen L
2006 Jan 20
3
Selecting data frame components by name - do you know a shorter way?
Hi! I suspect there must be an easy way to access components of a data frame by name, i.e. the input should look like "name1 name2 name3 ..." and the output be a data frame of those components with the corresponding names. I ´ve been trying for hours, but only found the long way to do it (which is not feasible, since I have lots of components to select):
2010 Dec 07
2
longer object length is not a multiple of shorter object length
In datamatrix[, "y"] == datamatrix[, "y"][-1] : longer object length is not a multiple of shorter object length out = c(FALSE,datamatrix[,'y'] == datamatrix[,'y'][-1]) and I do not know why I get that error, the resulting out matrix is somehow one row larger than datamatrix... all I try to do is filter matrix by dropping rows where [,'y'][-1] ==
2008 Jul 07
2
A shorter version of ".Last.value"?
Hi, There is an object, ".Last.value" to which the result of the most recent evaluation is assigned. This is similar to "ans" in Matlab. In Matlab "ans" can be very useful and time-saving, but typing the larger R version is somewhat clunky and takes away from the usefulness. Is it possible to reassign '.Last.value' to something simpler, like
2011 Dec 12
3
shorter way of coding
Dear R users, I am using the code below to generate a fitted value of b. I have about 300 different values for for y (y1, y2, ...y300) which means I will have to write the code below 300 times to generate the 300 different fitted values for y. Is there a short way of doing that ? Many thanks in advance Mintewab library(mgcv) dat <- read.table("e:/minti's
2005 Apr 18
4
longer object length, is not a multiple of shorter object length in: kappa * gcounts
Hi, I was using a density estimation function as follows: > est <- KernSmooth::bkde(x3, bandwidth=10) When setting bandwidth less than 5, I got the error "longer object length, is not a multiple of shorter object length in: kappa * gcounts ". I wonder if there is anybody who can explain the error for me? Thanks! Hui
2005 Jun 07
3
Polycom Phones & shorter than /24 netmasks
Has anybody tried to use a Polycom phone (I have 500s and 600s) with a netmask shorter than /24? (A network bigger than 255.255.255.0). We've run out of IPs in our initial /24 network, and I'd like to expand it to 255.255.248.0. When I set it to 255.255.248.0 I can ping the phone while the bootloader has control. As soon as the SIP application starts, I stop getting ping responses. Phone
2004 May 20
2
ifelse when test is shorter than yes/no
Hi, It turns out that the 'test' vector in ifelse(test, yes, no) is not recycled if it is shorter than the other arguments, e.g. > ifelse(TRUE, seq(10), -seq(10)) [1] 1 Is there any particular reason it is not recycled? If there is one indeed a warning message might be in order when someone calls ifelse with a shorter 'test'. This is R1.8.1 on RH-7.3 Thanks, Vadim
2008 Feb 08
0
Using cv.tree to assign cases to specific cv-groups
Hello, I would like to use cv.tree to run a 10-fold cross-validation experiment on a tree object to help me choose a tree size. Many users seem to allow their cases to be assigned to CV groups randomly, but I have assigned each case to one of 10 cv groups, such that the data from each of my experimental units is included in only one cv-group. According to the manual for the tree Package
2010 Mar 27
2
Shorter Rails 3 routes
Hi, I have a small blog application, and I would like to shorten its routes. Here they are: Blog::Application.routes.draw do resources :categories do resources :articles do resources :comments end end A rake routes command produce the following lines: GET /categories/:category_id/articles/:article_id/comments(.:format)