[R] Using lm on data.frame with categorical data as character column results in error in plot.lm

2018-11-13 Thread Gerhard Burger
plot.lm` gives problems... Is this something that might need a fix in plot.lm? Any insight appreciated! Kind regards, Gerhard For completeness, my sessionInfo: ``` R version 3.5.1 (2018-07-02) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.1 LTS Matrix products: default BLAS:

Re: [R] calculate quantiles of a custom function

2012-01-04 Thread Gerhard
<- function(x) { integrate(dmyspeaker,0,x)$value } D <- AbscontDistribution(d = dcustom, low = 0, up = 1, withStand = TRUE) qcustom <- function(x){ q(D)(x) } #### Best, Gerhard __ R-help@r-project.o

Re: [R] calculate quantiles of a custom function

2012-01-03 Thread Gerhard Schaden
Am Dienstag, 3. Januar 2012, 08:50:44 schrieb VictorDelgado: > VictorDelgado wrote > > > quantile(x) > > Correcting to > > quantile(q) > > - Dear Victor, thank you for your answer. Best, Gerhard > Victor Delgado > cedeplar.ufmg.br P.H.D. s

Re: [R] calculate quantiles of a custom function

2012-01-03 Thread Gerhard
um( myfunction(seq(0,1,by=0.001)))/ > sum(myfunction(seq(0,1,by=0.001)) ) ) Thanks a lot; now I now where I need to look for help before bothering you again. Best, Gerhard > > > I need to hand on the value to another function, and then I get an > > error > > message, because

[R] calculate quantiles of a custom function

2012-01-03 Thread Gerhard
any continous function treated in the docs, and applying the "quantile function" gives me an error (since it seems only to be defined on lists and atoms). Thank you in advance, Gerhard __ R-help@r-project.org mailing list https://stat.et

[R] axis(): disable prevention of overlapping tick labels for pgfSweave()

2009-05-22 Thread Gerhard Schön
ver"), R treats the LaTeX-formatting as long strings, therefore tries not to draw overlapping. Gerhard \documentclass{article} \usepackage{pgf} \begin{document} <>= plot(1:15, axes = FALSE, xlab = "") axis(1, at = 1:2, tick = FALSE, line = 0, labels = 1:2) axis(1, at = 1:7, t

Re: [R] r online

2009-03-24 Thread Gerhard Schön
try: http://bayes.math.montana.edu/Rweb/Rweb.general.html Gerhard Thomas Steiner schrieb am 24.03.2009 12:06: Hi, I'd like to execute simple commands and functions in R through a website, is there any service like this somewhere? I only found http://www.osvisions.com/r-online/ but it doe

Re: [R] Timer

2008-11-24 Thread Gerhard Schön
have a look at ?txtProgressBar. cheers, Gerhard Schön Hi, is there any function or package for timer? What I inted to do is to run procedure(/or function) every x seconds. (x > 10 seconds) for instance, visual basic provides : application.onTime method. Rather than utilizing loop, I want