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

2018-11-13 Thread Gerhard Burger
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: /usr

Re: [R] calculate quantiles of a custom function

2012-01-04 Thread Gerhard
) { 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.org mailing list https://stat.ethz.ch

[R] calculate quantiles of a custom function

2012-01-03 Thread Gerhard
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.ethz.ch/mailman

Re: [R] calculate quantiles of a custom function

2012-01-03 Thread Gerhard
In this instance you could also probably use 'cumsum' (which is just doing the numerical integration by hand plot(cumsum( 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

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. student www.fjp.mg.gov.br reseacher -- View this message

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

2009-05-22 Thread Gerhard Schön
-formatting as long strings, therefore tries not to draw overlapping. Gerhard \documentclass{article} \usepackage{pgf} \begin{document} Test, echo = FALSE, fig = TRUE, pgf = TRUE= plot(1:15, axes = FALSE, xlab = ) axis(1, at = 1:2, tick = FALSE, line = 0, labels = 1:2) axis(1, at = 1:7, tick

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 does

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