similar to: data frames with non-unique row.names

Displaying 20 results from an estimated 10000 matches similar to: "data frames with non-unique row.names"

1999 Jan 20
0
data frames with non-unique row.names (PR#98)
(following up on myself:) >>>>> "MM" == Martin Maechler <maechler@stat.math.ethz.ch> writes: MM> In R and S, the general idea is that data.frames MM> must have unique row.names (aka dimnames(.)[[1]]). MM> Several observations / problems (in R *and* S !). .... MM> 2) MM> Now, in S (but not in R), MM> the
2010 May 25
1
Non-unique Values
I might be missing something really obvious, but is there an easy way to locate all non-unique values in a data frame? Example mydata <- numeric() mydata$id <- 0:8 mydata$unique <- c(1:5, 1:4) mydata$result <- c(1:3, 1:3, 1:3) > mydata $id [1] 0 1 2 3 4 5 6 7 8 $unique [1] 1 2 3 4 5 1 2 3 4 $result [1] 1 2 3 1 2 3 1 2 3 What I want to to be able to get some form of data output
2011 Feb 02
0
How column names/row names are preserved in matrix calculation?
Can somebody tell me that, if I do some arithmetic calculation over 2 matrices then how the column names and row names are preserved? It seems that, for multiplication, column names and row names of the 2nd matrix are preserved and for additional, there seems not having any explicit rule: > set.seed(1) > dat1 <- matrix(rnorm(25), 5); colnames(dat1) = rownames(dat1) =
1998 Jan 16
1
data.frame(...) not constructing "1:n" row.names [diff. S <--> R]
[I think Doug Bates has already alluded to this, somewhere..] In R, data.frame( ... ) does not construct row.names whereas in S, it does: R: > data.frame(x=1:2,y=3:4) x y [1,] 1 3 [2,] 2 4 > row.names(data.frame(x=1:2,y=3:4)) NULL S-plus: > data.frame(x=1:2,y=3:4) x y 1 1 3 2 2 4 > row.names(data.frame(x=1:2,y=3:4)) [1] "1" "2"
2006 Jul 23
1
Warning Messages using rq -quantile regressions
I am a new to using quantile regressions in R. I have estimated a set of coefficients using the method="br" algorithm with the rq command at various quantiles along the entire distribution. My data set contains approximately 2,500 observations and I have 7 predictor variables. I receive the following warning message: Solution may be nonunique in: rq.fit.br(x, y, tau = tau, ...)
2018 Mar 17
2
Proposition: 7.0 => 7 in library names
Hello, Context: I have been packaging the llvm toolchain for Debian & Ubuntu and also providing these packages on https://apt.llvm.org/. One of the goal is to have different versions co-installable. For that, I am renaming the binaries and libraries. Now, as we are not using the minor version (the Y in X.Y.Z), there isn't much point in calling our tools foo-7.0 as we won't create a
2018 Mar 17
0
Proposition: 7.0 => 7 in library names
On 17 Mar 2018, at 14:48, Sylvestre Ledru via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Context: I have been packaging the llvm toolchain for Debian & Ubuntu > and also providing these packages on https://apt.llvm.org/. > One of the goal is to have different versions co-installable. For that, > I am renaming the binaries and libraries. > > Now, as we are not
2017 Jun 22
2
duplicated factor labels.
>>>>> Paul Johnson <pauljohn32 at gmail.com> >>>>> on Fri, 16 Jun 2017 11:02:34 -0500 writes: > On Fri, Jun 16, 2017 at 2:35 AM, Joris Meys <jorismeys at gmail.com> wrote: >> To extwnd on Martin 's explanation : >> >> In factor(), levels are the unique input values and labels the unique output >>
2018 Mar 22
1
Proposition: 7.0 => 7 in library names
Hello, On 17/03/2018 15:22, Dimitry Andric wrote: > On 17 Mar 2018, at 14:48, Sylvestre Ledru via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Context: I have been packaging the llvm toolchain for Debian & Ubuntu >> and also providing these packages on https://apt.llvm.org/. >> One of the goal is to have different versions co-installable. For that,
1998 Nov 09
1
Proposal for discussion: COLNAMES & ROWNAMES
Looking into several different parts of R../src/library/base/R/*.R has led me to the conclusion that quite a bit of code doubling could be saved by using the following two functions whose naming philosophy is derived from that of NROW() & NCOL(): COLNAMES <- function(x) if(is.null(n <- colnames(x))) paste(seq(length=NCOL(x))) else n ROWNAMES <- function(x)
2008 Feb 08
2
Determine number of 20ms frames in packet - without decoding
Alexander Chemeris a ?crit : > Hi Jean-Marc, > Is your proposition that ever this code will be written in terms > of internal Speex bits it will be included into libspeex still in force? yes. I'd like to include that if someone writes it using SpeexBits. Cheers, Jean-Marc
2009 Jun 30
2
odd behaviour in quantreg::rq
Hi, I am trying to use quantile regression to perform weighted-comparisons of the median across groups. This works most of the time, however I am seeing some odd output in summary(rq()): Call: rq(formula = sand ~ method, tau = 0.5, data = x, weights = area_fraction) Coefficients: Value Std. Error t value Pr(>|t|) (Intercept) 45.44262 3.64706 12.46007
2009 May 31
1
warning message when running quantile regression
Hi All, I am running quantile regression in a "for loop" starting with 1 variable and adding a variable at a time reaching a maximum of 20 variables. I get the following warning messages after my "for" loop runs. Should I be concerned about these messages? I am building predictive models and am not interested in inference. Warning messages: 1: In
1998 Mar 25
2
R alpha/beta naming
Read this morning >>> R : Copyright 1998, Robert Gentleman and Ross Ihaka >>> Version 0.61.2 Alpha (March 15, 1998) ----- So, there still is no "R beta" around.... - If I didn't know R, would I use a statistics software, if it was still in alpha testing state? - Is this really what we want to tell people about R? More to the point: I think, we could
2007 Oct 19
1
Size and performance efficient rewriting of the `dash.test` built-in
== Proposition A. Do not implement `-a' and `-o'. == Why. 1. Most of the `test` usage is 2 or 3 arg. ops. 2. Issues (and possible `||', `&&' substitutions), described in [0] [0] http://www.opengroup.org/onlinepubs/000095399/utilities/test.html 3. In case of usage of it, `exec /usr/bin/test $args` can be implemented. Thus, smart users of `-a' and `-o' will
2011 Aug 02
1
update.default: fall back on model.frame in case that the data frame is not in the parent environment
Dear all, Suppose the following code: --------------8<-------------- mm <- function(datf) { lm(y ~ x, data = datf) } mydatf <- data.frame(x = rep(1:2, 10), y = rnorm(20, rep(1:2, 10))) l <- mm(mydatf) -------------->8-------------- If I want to update l now without providing the data argument an error occurs: --------------8<-------------- > update(l, . ~ .) Error in
2017 Apr 10
2
OT: systemd Poll
On Mon, April 10, 2017 7:29 am, Steve Clark wrote: > On 04/09/2017 04:30 AM, J Martin Rushton wrote: >> On 09/04/17 05:39, Anthony K wrote: >>> According to "Arthur Schopenhauer": >>> >>> "All truth passes through three stages. >>> First, it is ridiculed. >>> Second, it is violently opposed. >>> Third, it is
2018 Mar 16
2
[PATCH] Set KRB5PRINCIPAL in user environment
Hello There is no reply about this demand since the firt proposition has if nobody in dev team cares about it :( Strange ... Le 14 mars 2018 20:39:53 GMT+01:00, "Johannes L?thberg" <johannes at kyriasis.com> a ?crit : >Quoting Johannes L?thberg (2017-01-06 02:34:43) >> >this change request is already tracked as a bug #2063 [1] (with the >> >related
2013 May 09
0
Replace rows in dataframe based on values in other columns
Hi, dat1<- read.table(text=" Restaurant owner purchase_date ??????????? 23 Chuck 3/4/2011 ??????????? 23 Chuck 3/4/2011 ??????????? 23 Chuck 3/4/2011 ??????????? 23 Chuck 3/4/2011 ??????????? 23 Bob??????? 1/1/2013 ??????????? 23 Bob??????? 1/1/2013 ??????????? 23 Bob???????? 1/1/2013 ??????????? 15 Hazel 4/11/2010 ??????????? 15 Hazel 4/11/2010 ??????????? 15 Hazel 4/11/2010 ???????????
2012 Aug 07
0
predicting test dataset response from training dataset with randomForest
Hi I am new to R so I apologize if this is trivial. I am trying to predict the resistance or susceptibility of my sequences to a certain drug with a randomForest function from a file with amino acids on each of the positions in the protein. I ran the following: > library(randomForest) > > path <- "C:\\..." > path2 <- "..." > name <-