Displaying 20 results from an estimated 234 matches for "brostr".
Did you mean:
brost
2001 Dec 07
3
rbind and data.frame
G=F6ran,
At 11:04 07/12/01 +0100, G=F6ran Brostr=F6m wrote:
>On Wed, 5 Dec 2001, G=F6ran Brostr=F6m wrote:
>
>[...]
>=20
>> My real problem is how to create a data frame in a sequentially growing
>> manner, when I know the final size (no of cases). I want to avoid to
>> call 'rbind' many times, and instead cr...
2004 Sep 20
0
[Old '.so' file
...obviously different
from today's. Has compiler directives changed in the two last days? Or what
is happening?
G?ran
On Mon, Sep 20, 2004 at 12:46:58PM +0200, gb wrote:
> On Mon, Sep 20, 2004 at 12:26:45PM +0200, Martin Maechler wrote:
> > >>>>> "GB" == G?ran Brostr?m <gb@stat.umu.se>
> > >>>>> on Mon, 20 Sep 2004 11:00:57 +0200 writes:
> >
> > GB> On Mon, Sep 20, 2004 at 10:43:44AM +0200, Martin Maechler wrote:
> > >> >>>>> "GB" == G?ran Brostr?m <gb@stat.umu.se>...
2016 Apr 29
2
Improper configuration
Trying https://cran.r-project.org got me
"The owner of cran.r-project.org has configured their website improperly"
If I try http (instead of https) I'm redirected to
www.project.org ("Project America")
Any ideas?
G?ran Brostr?m
2003 May 14
2
Two names of a function
Is it possible to let a function be known under two names without having
two identical copies of the function body?
---
G?ran Brostr?m tel: +46 90 786 5223
Department of Statistics fax: +46 90 786 6614
Ume? University http://www.stat.umu.se/egna/gb/
SE-90187 Ume?, Sweden e-mail: gb at stat.umu.se
2018 Jul 06
2
Segfault on ubuntu 18.04
On 2018-07-06 22:44, Dirk Eddelbuettel wrote:
>
> On 6 July 2018 at 21:52, G?ran Brostr?m wrote:
> | I did this and removed anything related to R and reinstalled. Then, in R,
> |
> | > install.packages("curl")
> |
> | and got
> |
> | Error: package or namespace load failed for 'curl' in dyn.load(file,
> | DLLpath = DLLpath, ...):
> |...
2006 Mar 17
3
Collapsing levels of a factor
...levels(x) <- c("b", "f", "b")
and also that
> x[x == "minus"] <- "b"
> x <- factor(x)
works. But why not
> x <- ifelse(x == "minus", "b", x)
> x <- factor(x)
x
[1] 1 2 b
Levels: 1 2 b
?
--
G?ran Brostr?m
2006 Mar 17
3
Collapsing levels of a factor
...levels(x) <- c("b", "f", "b")
and also that
> x[x == "minus"] <- "b"
> x <- factor(x)
works. But why not
> x <- ifelse(x == "minus", "b", x)
> x <- factor(x)
x
[1] 1 2 b
Levels: 1 2 b
?
--
G?ran Brostr?m
2006 Feb 13
2
Sweave, mle and curve
I am trying to write a lesson on maximum likelihood with Sweave. I get
a surprising result with the following code, lec4.Snw:
\documentclass[a4paper,12pt]{article}
\usepackage[latin1]{inputenc}
\title{Maximum likelihood}
\author{G伱伓ran Brostr伱伓m}
\begin{document}
\maketitle
<<fig=TRUE>>=
## Simulate Y:
n <- 25
Y <- sum(rpois(n, lambda = 1))
Y
## Define minusloglik:
minusloglik <- function(theta) n * theta - Y * log(theta)
curve(minusloglik, 0.2, 2, xlab = "theta")
library(stats4)
cat("Y is now &...
2005 Sep 05
12
TeX distribution on Windows
...p://www.metz.supelec.fr/~popineau/xemtex-7.html
So, what is suggested? TUG (tug.org) recommends something called proTeXt,
which is said to be "based on MiKTeX", for Windows users. Since MikTeX
could be used with R, that sounds like a good alternative.
Any comments to that?
--
G??ran Brostr??m tel: +46 90 786 5223
Department of Statistics fax: +46 90 786 6614
Ume?? University http://www.stat.umu.se/~goran.brostrom/
SE-90187 Ume??, Sweden e-mail: gb at stat.umu.se
2016 Apr 29
0
Improper configuration
...nk and it took me to CRAN
with no problems.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Fri, Apr 29, 2016 at 2:26 PM, G?ran Brostr?m <goran.brostrom at umu.se> wrote:
> Trying https://cran.r-project.org got me
>
> "The owner of cran.r-project.org has configured their website improperly"
>
> If I try http (instead of https) I'm redirected to
>
> www.project.org ("Project America&quo...
2005 Jan 25
2
tapply and names
...ented to have a 'dimnames' attribute (although it has one, at
least in R-2.1.0, 2005-01-19). Another aspect is that this code relies on
m.id being numeric; I would have to change it if the type of m.id changes
to, eg, character.
So, question: Is there a better way of doing this?
--
G?ran Brostr?m tel: +46 90 786 5223
Department of Statistics fax: +46 90 786 6614
Ume? University http://www.stat.umu.se/egna/gb/
SE-90187 Ume?, Sweden e-mail: gb at stat.umu.se
2003 Jun 20
3
namespaces not available
..."f.ml" "fit"
[6] "hd" "last.warning" "run1" "s.dat" "t2"
>
------------------------------------------------------------
Seems to work. What is happening?
G?ran
---
G?ran Brostr?m tel: +46 90 786 5223
Department of Statistics fax: +46 90 786 6614
Ume? University http://www.stat.umu.se/egna/gb/
SE-90187 Ume?, Sweden e-mail: gb at stat.umu.se
2018 Jul 06
2
Segfault on ubuntu 18.04
On 2018-07-07 00:34, Dirk Eddelbuettel wrote:
>
> On 6 July 2018 at 22:57, G?ran Brostr?m wrote:
> |
> |
> | On 2018-07-06 22:44, Dirk Eddelbuettel wrote:
> | >
> | > On 6 July 2018 at 21:52, G?ran Brostr?m wrote:
> | > | I did this and removed anything related to R and reinstalled. Then, in R,
> | > |
> | > | > install.packages("curl&qu...
2011 Aug 26
2
read.table segfaults
...DRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
>
The text file 'fil2_s.txt' is Huge, around 11 million records and 17
variables, but ...?
--
G?ran Brostr?m
2006 Dec 12
2
Segfault in pure R code
...egfault in pure R
code indicates a bug in R itself, or if it can be in my function?
I have used 'courses' many times before without problems.
Thanks,
G?ran
++++++++++++++++++++++++++++++++++++++
> sessionInfo()
R version 2.4.0 Patched (2006-10-29 r39744)
i686-pc-linux-gnu
--
G?ran Brostr?m
2006 Dec 12
2
Segfault in pure R code
...egfault in pure R
code indicates a bug in R itself, or if it can be in my function?
I have used 'courses' many times before without problems.
Thanks,
G?ran
++++++++++++++++++++++++++++++++++++++
> sessionInfo()
R version 2.4.0 Patched (2006-10-29 r39744)
i686-pc-linux-gnu
--
G?ran Brostr?m
2018 Jul 07
2
Segfault on ubuntu 18.04
On 2018-07-07 06:27, Dirk Eddelbuettel wrote:
>
> On 7 July 2018 at 00:51, G?ran Brostr?m wrote:
> | My repo is
> |
> | deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/
> |
> | Is that wrong?
>
> That repo will give you R and key R packages like Matrix lme4. (And you
> chose to ignore this repo by compiling R yourself ...).
Not really: I insta...
2004 Aug 18
3
Revert a factor to its numeric values
...cter(x))
[1] NA NA NA NA
Warning message:
NAs introduced by coercion
What am I doing wrong? This is R-1.9.1, Linux (debian installation)
Another question: I have a factor with four levels, which I want
to collapse to two. How do I do it in the simplest possible way?
Thanks,
G??ran
--
G??ran Brostr??m tel: +46 90 786 5223
Department of Statistics fax: +46 90 786 6614
Ume?? University http://www.stat.umu.se/egna/gb/
SE-90187 Ume??, Sweden e-mail: gb at stat.umu.se
2018 Jul 06
2
Segfault on ubuntu 18.04
Den 2018-07-06 kl. 17:51, skrev G?ran Brostr?m:
>
>
> Den 2018-07-06 kl. 17:43, skrev Henrik Bengtsson:
>> On Fri, Jul 6, 2018 at 8:18 AM G?ran Brostr?m <goran.brostrom at umu.se>
>> wrote:
>>>
>>>
>>>
>>> Den 2018-07-06 kl. 16:28, skrev Dirk Eddelbuettel:
>>>>
>>...
2017 Feb 10
1
Ancient C /Fortran code linpack error
> On 10 Feb 2017, at 14:53, G?ran Brostr?m <goran.brostrom at umu.se> wrote:
>
> Thanks to all who answered my third question. I learned something, but:
>
> On 2017-02-09 17:44, Martin Maechler wrote:
>>
>>>> On 9 Feb 2017, at 16:00, G?ran Brostr?m <goran.brostrom at umu.se> wrote:
>>>...