Displaying 20 results from an estimated 200 matches similar to: "Merging two data frames with 3 common variables makes duplicated rows"
2017 Nov 03
1
[PATCH] Check for _WIN32 instead of WIN32 in preprocessor checks
_WIN32 is always defined by the compiler automatically when targeting
that platform, while WIN32 only is defined automatically in some
configurations, and e.g. in MSVC only ever is defined in project files
(if at all).
Some other checks in the codebase already check for both WIN32 and
_WIN32; those are left untouched.
---
include/speex/speex.h | 2 +-
libspeex/stack_alloc.h | 2 +-
2013 Jul 24
3
Change values in a dateframe
Hello
I have the following problem :
The dataframe TEST has multiple lines for a same person because :
there are differents values of Nom or differents values of Prenom
but the values of Matricule or Sexe or Date.de.naissance are the same.
TEST <- structure(list(Matricule = c(66L, 67L, 67L, 68L, 89L, 90L, 90L,
91L, 108L, 108L, 108L), Nom = structure(c(1L, 2L, 2L, 4L, 8L,
5L, 6L, 9L, 3L, 3L,
2013 Sep 10
3
to delete lines by means of a vector
Hi
I would like to eliminate a large number of lines of the dataframe df1
The lines to delete are given here by the values of Mat (ex : 2,4,7,10).
but I have a large number (300) values of Mat
dput(df1)
structure(list(Mat = c(1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3,
3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7,
7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10,
10, 11,
2005 Oct 14
0
FW: Win XP SP2 and Offline Files
is the share set with
browsable = yes
Louis
-----Oorspronkelijk bericht-----
Van: samba-bounces+louis=van-belle.nl@lists.samba.org
[mailto:samba-bounces+louis=van-belle.nl@lists.samba.org] Namens Clas Mayer
Verzonden: vrijdag 14 oktober 2005 8:53
Aan: samba@lists.samba.org; Fabian Arrotin
Onderwerp: Re: [Samba] Win XP SP2 and Offline Files
Hi
Im not shure this is same problem as mine
When
2020 Jan 04
0
[patch] add sanity checks to quantile()
On Fri, May 31, 2019 at 01:28:55AM -0400, Scott Kostyshak wrote:
> The attached patch adds some sanity checks to the "type" argument of
> quantile(). Output from the following commands show the change of
> behavior with the current patch:
>
> vec <- 1:10
> quantile(vec, type = c(1, 2))
> quantile(vec, type = 10)
> quantile(vec, type = "aaa")
2004 May 26
0
an SJava array question
Hi,
I'm using SJava (0.65) to interface some Java code I have and am
having trouble understanding the use of arrays. I have a function:
tmv <- function(fname) {
a <- .JavaArrayConstructor("int", dim=c(3,0))
.JavaSetArrayElement(a, .JavaArrayConstructor("int", dim=3), 1)
.JavaSetArrayElement(a, .JavaArrayConstructor("int", dim=3), 2)
2005 Dec 21
2
HTB droping packets
Hello,
I''m using htb3 with kernel 2.6.13 on debian testing release. I have a
hierarchy consisting of 10 parents clas each with 2 to 20 childs and every
child use sfq. The problem is when the default class become congested, the
system start to drop packets for 2 seconds all traffic is blocked, another 3
to 5 minutes all goes all and so on.
Anyone have any ideea about this ?
2020 Jun 12
1
Marking a ticket as a (potential) regression in bug tracker?
Is there a way to mark a ticket as a potential regression in the bug
tracker? I think the following issue is a regression:
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17684
I've just tested (2020-06-12 r78687) and what I believe to be a
regression is still there. I don't think the bug has bitten many people,
so I don't think it is critical, but often it is helpful to mark
2017 Sep 14
1
To implement OO or not in R package, and if so, how to structure it?
>>> Did you read this?
>>> https://cran.r-project.org/doc/contrib/Leisch-CreatingPackages.pdf
>>>
>>> Maybe it could give you some insight in how to create package.
>>
>> That resource is ~9 years old. There are more modern treatments available. You
>> can read mine at http://r-pkgs.had.co.nz.
>>
>> Hadley
>>
Thanks both.
2008 May 13
1
Missing coefficient on a glm object
Hello guys, i looked over the archive files and found nothing about this
kind of error.
I have a database of 33 elements described in 8 variables, i'm using the
Leave-One-Out iterative process
to take one of the elements to be the test element and make a regression
with the other 32 and then
I try to predict the clas of the element out.
I'm using this call as a part of a Leave-One-Out
2019 May 31
2
[patch] add sanity checks to quantile()
The attached patch adds some sanity checks to the "type" argument of
quantile(). Output from the following commands show the change of
behavior with the current patch:
vec <- 1:10
quantile(vec, type = c(1, 2))
quantile(vec, type = 10)
quantile(vec, type = "aaa")
quantile(vec, type = NA_real_)
quantile(vec, type = 4.3)
quantile(vec, type = -1)
Current behavior
2005 Aug 16
3
(yet another) HTB question(s)
Hi, I''ve read the documentation about HTB and I pretty much
managed to grasp how it works. In theory. But there still
are some questions and I want to check with you to see if I
understand things correctly. So here goes:
1) when used on a router for shaping traffic done by
clients connected to it, shaping is done on the interface
connected to the cable/dsl modem. If I wanted to create
2007 Apr 23
1
Multiple bands with equal priority ?
I''m trying to build a wan latency test environment, where packets
from different "remote" locations get delayed by different amounts
of time, depending on which remote location we''re pretending they
are from.
Currently, I''m doing this using the ''prio'' qdisc to obtain multiple
bands, and hanging a different netem qdisc off each of the branches
2006 Jul 26
0
render :update do | page | to modify a css class string...
In my booking/_form.rhtml, I have 2 <input text fields>
startingdate (selction from unobstrusive calendar ) and endingdate
<div>
<label for="startdate">Booking Start Date</label><br />
<%= text_field_tag(''startdate'', @startdate, {:class =>
@startdateclass, :readonly => "readonly", :maxlength => "25"}
2006 Mar 27
0
acts_as_taggable not loading in dev environment?
It seems in my development environment I keep throwing:
undefined local variable or method `acts_as_taggable'' for Item:Clas
Indicating that the acts_as_taggable pluggin is not loading, yet in my test
enviroment I can run tests against act_as_taggable methods for that very
same class just fine.
Has anyone else experienced this?
Tim Case
tim@karmacrash.com
-------------- next part
2005 Sep 30
1
ugly name when mapping drives to windows
Hi list
I have just finished setting up a samba server as a member server in a windows 2003 AD. Everyting works like a "keps" Only one minor beauty defekt. When I map a drive in windows from the samba share like.
net use x: \\server\sharedfolder
In windows "this computer" and in explorer the mapping shows with the long name
"sharedfolder at Samba file and print server
2007 Apr 15
0
as() creates invalid entries in methods list?
Hi,
We've observed rather strange behavior related to as(). When as() is
used to make a conversion to a super class, an invalid entry is
inserted into the table of methods.
> setClass("A", contains="list")
> get(".MTable", environment(coerce))[["list#A"]]
NULL
> as(list(), "A")
> get(".MTable",
2018 Apr 01
0
Mention the case of logical(0) in ?stopifnot
I wonder if it would be helpful to mention in ?stopifnot that
stopifnot(logical(0)) does not give an error (for background on why this
is the case, see [1]). For example, ?all explicitly mentions the
following:
That all(logical(0)) is true is a useful convention
and includes an example:
all(logical(0)) # true, as all zero of the elements are true.
I think it would be nice to give examples
2003 Aug 12
0
Re: Bayesian stats
In addition to Gelman et al, there is also Jeff Gill's BAYESIAN METHODS FOR
THE SOCIAL AND BEHAVIORAL SCIENCES with accompanying R/SPLUS code. You
have to be careful though, at least in the first printing, it isn't always
clear when the code is for R versus SPlus. The code is available on
his web site at http://www.clas.ufl.edu/~jgill/
Best, MEH
Mark Hall
markhall at gol.com
2011 Nov 29
0
Inlcudung classes in de contigency table + dataoverflow
Hello Everybody,
I'm making a contigency table with a dataset which looks like:
Class Size Member1 Members2 Members3 etc.
1 2 A B 0
2 3 C D A
3 3 B A D
4 3 D