Displaying 20 results from an estimated 203 matches for "schumacher".
2011 May 02
2
how to get row name using the which function
...but the name of row 4 is "9". How do I get R to return "9" as value, instead of 4.
example <- matrix(c(0,0,0,1), 4, 1, dimnames=list(c("1", "3", "5", "9"), c("1")))
which.max(example)
[1] 4
Hope someone can help out.
Gijs Schumacher, MSc
PhD candidate
--------------------------------------
Department of Political Science
VU University Amsterdam
Contact:
Tel: +31(0)20 5986798
Fax: +31(0)20 5986820
Web: http://home.fsw.vu.nl/g.schumacher
Email: g.schumacher@vu.nl<mailto:g.schumacher@fsw.vu.nl>
Visiting address:
Metropol...
2012 Feb 03
3
replicate rows
Hello,
I have a matrix of 17 rows and 20 columns. I want to replicate this matrix 20 times, but I only want to replicate the rows. How do I do that?
Kind regards / Met vriendelijke groet / Med venlig hilsen,
Dr. Gijs Schumacher
Postdoctoral Researcher
Department of Political Science and Public Management, University of Southern Denmark &
Department of Political Science, VU University Amsterdam
Email: gijs@sam.sdu.dk<mailto:gijs@sam.sdu.dk>; g.schumacher@vu.nl<mailto:g.schumacher@fsw.vu.nl>
Web: http://www...
2011 Feb 23
1
Weighted Mean By Factor Using "BY"
...;,"MEASURE","TYPE")
## UNWEIGHTED MEAN BY TYPE
by(data$MEASURE,data$TYPE,mean)
## WEIGHTED MEAN WITHOUT TYPE
weighted.mean(x=data$MEASURE,w=data$COUNT)
## WEIGHTED MEAN BY TYPE - DOESNT WORK
by(data$MEASURE,data$TYPE,weighted.mean(x=data$MEASURE,w=data$COUNT))
--
Michael Schumacher
Manager, Data and Analytics
ValueClick
mike.schumacher@gmail.com
[[alternative HTML version deleted]]
2011 Feb 03
3
R Data Manipulation - Transposing Data by a Given Column, Like User_ID
...)
RAW<-data.frame(USER_ID,SITE,COUNTS)
RAW
#ANSWER SHOULD LOOK LIKE
a<-c(1,2,3,4)
b<-c(10,10,13,0)
c<-c(13,12,44,0)
d<-c(22,12,0,99)
RESULT<-data.frame(a,b,c,d)
names(RESULT)<-c("USER_ID","SITE1","SITE2","SITE3")
RESULT
--
Michael Schumacher
mike.schumacher@gmail.com
[[alternative HTML version deleted]]
2020 Sep 16
7
storage for mailserver
...disk layout should be used these days?
I have been looking for some kind of master-slave system, where the
(one or many) SSD is taking all writes and reads, but the slave HDD
runs in parallel as a backup system like in a RAID1 system. Is there
any such system?
Any thoughts?
best regards
Michael Schumacher
2009 Oct 06
4
RAM errors after kernel-update
...message. Mobo problem?
Question3: Are there any recommended BIOS settings to operate the RAM
slower to see if the problem disappears?
Question4: Any other proposals.
Being located in Germany makes the "just return it to the dealer"
proposal quite unattractive.
best regards
---
Michael Schumacher
PAMAS Partikelmess- und Analysesysteme GmbH
Dieselstr.10, D-71277 Rutesheim
Tel +49-7152-99630
Fax +49-7152-996333
Gesch?ftsf?hrer: Gerhard Schreck
Handelsregister B Stuttgart HRB 252024
2011 Mar 09
2
SQLDF - Submitting Queries with R Objects as Columns
...as Y
from testdf
group by Y")
sqldf("select sum(get(var1)) as XSUM,
Y as Y
from testdf
group by Y")
sqldf("select sum(return(var1)) as XSUM,
Y as Y
from testdf
group by Y")
--
Michael Schumacher
mike.schumacher@gmail.com
Manager Data & Analytics, ValueClick
818-851-8638
[[alternative HTML version deleted]]
2017 Mar 27
5
firewalld management on a headless server
...pure iptabes to
> firewalld and looked for something similar, more along the lines of
> webmin, etc.
funny,
my webmin installation on a banana-pi has webmin 1.831, which has
support for firewalld.
I am not sure, but I believe I got it directly from www.webmin.com.
best regards
---
Michael Schumacher
2016 Oct 21
3
anonymous function parsing bug?
...Here is a simplified version of your problem
> > { sqrt }(c(2,4,8))
> [1] 1.414214 2.000000 2.828427
> Do you want that to act differently?
>
>
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com <http://tibco.com>
>
> On Fri, Oct 21, 2016 at 6:10 AM, Wilm Schumacher
> <wilm.schumacher at gmail.com <mailto:wilm.schumacher at gmail.com>> wrote:
>
> Hi,
>
> I hope this is the correct list for my question. I found a wired
> behaviour of my R installation on the evaluation of anonymous
> functions.
>
> min...
2013 Mar 13
2
replacing joe
...I am still using good old joe editor on my CentOS machines although it
is no longer included in the CentOS repositories.
Is there any comparable "wordstar" compatible editor that is part
of the standard distribution?
And no, I don't want to use Emacs. :-)
best regards
---
Michael Schumacher
2018 Aug 31
8
Certificates
...formation. I can recommend
> https://github.com/xenolf/lego for use on your server, but there are
> many different LE clients out there.
certbot works only with ports 80 or 443? Can lego work with with IMAP
ports like 143 or 993? The documentation is not very clear.
best regards
---
Michael Schumacher
2018 Aug 09
0
Re: Windows Guest I/O performance issues (already using virtio) (Matt Schumacher)
...mance is not just about your xml, the host system will have a bigger impact. Maybe you can see this link:
Https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html-single/virtualization_tuning_and_optimization_guide/index
>Date: Wed, 8 Aug 2018 17:35:11 +0000
>From: Matt Schumacher <matt.s@aptalaska.com>
>To: "libvirt-users@redhat.com" <libvirt-users@redhat.com>
>Subject: [libvirt-users] Windows Guest I/O performance issues (already
> using virtio)
>Message-ID: <30EE4896-CF82-4E23-82D5-0C56B38F5E09@aptalaska.com>
>Content-Type: text/...
2012 Feb 28
3
strange cron message
Hi,
environment: new Centos 6 installation out of the box.
somebody has an idea what causes this error mail to be sent?
---8<---
Subject: Cron <root at fileserver1> /usr/local/asc/bin/ascservicemonitor 2>&1 >/dev/null
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env:
2012 Feb 21
5
help error: In dweibull(x, shape, scale, log) : NaNs produzidos
Guys,
I'm having an error when I use the command:
library(MASS)> dados<-read.table("inverno.txt",header=FALSE)> vento50<-fitdistr(dados[[1]],densfun="weibull")Mensagens de aviso perdidas:1: In dweibull(x, shape, scale, log) : NaNs produzidos2: In dweibull(x, shape, scale, log) : NaNs produzidos3: In dweibull(x, shape, scale, log) : NaNs produzidos4: In
2007 Feb 08
2
obscure error with subsetting as.list() of a function then assigning that a (PR#9500)
...a) : argument "a" is missing, with no default
However, this does work:
> as.list(f)[[1]]
It prints nothing, which is correct, and there is no error. So it seems the bug lies with
assigning a name to as.list(f)[[1]] as above, then trying to work with that new object.
Regards,
Peter-M.Schumacher at db.com
--please do not edit the information below--
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
system = i386, mingw32
status =
major = 2
minor = 4.1
year = 2006
month = 12
day = 18
svn rev = 40228
language = R
version.string = R version 2.4.1 (2006-12-18)
Windo...
2017 Mar 27
0
firewalld management on a headless server
Nice catch, Mr. Schumacher ---> The following modules are included as
standard with release 1.831 of Webmin. FirewallD firewalld.wbm.gz
Configure a Linux firewall using FirewallD, by editing allowed
services and ports.
This is likely the right tool for the job.
On Mon, Mar 27, 2017 at 5:00 PM, Michael Schumacher
<mi...
2016 Oct 21
3
anonymous function parsing bug?
Hi,
I hope this is the correct list for my question. I found a wired
behaviour of my R installation on the evaluation of anonymous functions.
minimal working example
###
f<-function(x) {
print( 2*x )
}(2)
class(f)
f(3)
f<-function(x) {
print( 2*x )
}(4)(5)
f(6)
###
leads to
###
> f<-function(x) {
+ print( 2*x )
+ }(2)
>
> class(f)
[1] "function"
2016 Oct 21
3
anonymous function parsing bug?
Hi,
Am 21.10.2016 um 18:10 schrieb William Dunlap:
> Are you saying that
> f1 <- function(x) log(x)
> f2 <- function(x) { log } (x)
> should act differently?
yes. Or more precisely: I would expect that. "Should" implies, that I
want to change something. I just want to understand the behavior (or
file a bug, if this would have been one).
As I wrote, in e.g.
2016 Oct 21
0
anonymous function parsing bug?
Are you saying that
f1 <- function(x) log(x)
f2 <- function(x) { log } (x)
should act differently?
Using 'return' complicates the matter, because it affects evaluation, not
parsing.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Oct 21, 2016 at 8:43 AM, Wilm Schumacher <wilm.schumacher at gmail.com>
wrote:
> Hi,
>
> thx for the reply. Unfortunately that is not a simplified version of the
> problem. You have a function, call it and get the result (numeric in,
> numeric out in that case). For simplicity lets use the "return" case:
&g...
2024 Jan 19
2
NUT and Eaton UPS produce a lot of error messages
...it SSL without certificate database
Jan 19 16:14:52 mars nut-monitor[3781]: Login on UPS [Eaton at localhost]
failed - got [ERR ACCESS-DENIED]
Yours sincerely
Stefan
Am Fr., 19. Jan. 2024 um 17:59 Uhr schrieb Matus UHLAR - fantomas
<uhlar at fantomas.sk>:
>
> On 19.01.24 17:02, Stefan Schumacher via Nut-upsuser wrote:
> >Jan 19 05:50:13 mars nut-monitor[849]: Signal 15: exiting
>
> >Jan 19 05:50:17 mars nut-server[1303]: Signal 15: exiting
>
> this looks like someone repeatedly killed nut server. This not a problem of
> UPS.
> --
> Matus UHLAR - fantomas, uhla...