Displaying 20 results from an estimated 100 matches similar to: "Add a density line to a cumulative histogram - second try"
2006 Jun 23
2
problem with hist() for 'times' objects from 'chron' package
Hello dear useRs and wizaRds,
I encountered the following problem using the hist() method for the
'times' classes
from package 'chron'. You should be able to recreate it using the code:
library(chron)
# pasted from chron help file (?chron)
dts <- dates(c("02/27/92", "02/27/92", "01/14/92", "02/28/92",
"02/01/92"))
class(dts)
2010 May 07
2
smooth line overlap with histogram
Hi r-users,
I would like to overlap a smooth line on the histogram. I tried using spline but it does not work.
sq <- seq(0,900,by=50)
sq.50 <- as.character(sq)
datobs <- sum_pos
## first, plot histogram
histo <- hist(datobs,breaks=sq,freq=F)
## extract counts from histogram and calculate the probability in
## each specified interval. Also check the length of the interval is
2007 Oct 29
1
SavePlot in the Batch mode
Hi R,
Does 'savePlot' will not work in the batch mode? I get the below error:
> x=c(1,2,3,4,5,6,7)
> hist(x)
> savePlot("D:\\Test\\histo",type="jpeg")
Error in savePlot("D:\\Test\\histo", type = "jpeg") :
can only copy from 'windows' devices
Execution halted
The same works in the interactive mode. What
2006 Aug 26
1
Problem on Histogtam
Dear all,
May be question seems trivial for most of the R
users, but really at least for me, this comes out to
be very problematic.
Suppose I have the following data:
> r
[1] -0.0008179960 -0.0277968529 -0.0105731583
-0.0254050262 0.0321847131 0.0328170674
[7] 0.0431894392 -0.0217614918 -0.0218366946
0.0048939739 -0.0012212499 0.0032533579
[13] -0.0081533269 -0.0098725606
2011 Jul 16
2
ecdf() to nls() - how to transform data?
Hi,
I am using ecdf-function and want to use the ecdf()-data-points for nls() as
data-parameter.
nls() expects 'list' or 'environment' as a data-type, knots(ecdf(mydata))
gives me 'numeric'.
What should I do now?
Thanks in advance - Jochen
Here is the code:
#################################################
# --- Fit ---
# Gumbel-Dist-Function, cumulative,
2012 Mar 29
1
histogram break width
Hi all,
I am generating histograms with the following R script :
#!/usr/bin/Rscript
out_file = "histo.png"
png(out_file)
scan("values.csv") -> myvalues
hist(myvalues, breaks = 50)
dev.off()
print(paste("Plot was saved in:", getwd()))
I want the histogram to have a larger number of breaks, but a smaller
break width, the idea is to make it appear smoother
2010 Feb 11
1
Sweve/cacheSweave
Hi there
I have a problem with using Sweave in combination with the option driver = cacheSweave.
Whichever code I try to run - when it comes to converting the tex file into pdf it comes up with the same errors (\csname \endcsname errors). Does anybody have an idea what it going wrong?
> Sweave("pgfSweave-example.Rnw",driver = cacheSweaveDriver)
Writing to file
2014 Nov 21
2
[LLVMdev] Using the unused "version" field in the bitcode wrapper (redux)
> Reading the bitcode reader while working on another issues I found
> that we already have a version in the bitcode itself (not the darwin
> wrapper) and it is used! It is stored with the
> bitc::MODULE_CODE_VERSION. It is used to select relative ids, which
> impacts the entire bitcode, and so it makes sense to be based on a
> version.
>
> If we ever have a new feature
2010 Jan 26
0
newb question: chron and hist()
Hi all, I'm just getting started in R so bear with my newbness.
I am trying to create a very simple histogram of logins by time, with data
coming in from a MYSQL query.
the raw data looks like this:
"id" "user_id" "experience_given" "created_at" "ip_aton"
"1" XXXXXXX 2445626 0 "2010-01-21 00:00:01" 1123632036
"2"
2001 Jul 13
1
Histogram with logarithmic scale
> My question is not about statistics but more obviously about an R command.
> I would like to plot an histogram with a logarithmic scale. I have
> searched through R documentation and have read about the "log" option.
> What matters is that it does not work with the hist() function. I'm
> working with R version 1.2.3 . Maybe the problem has been solved in R 1.3
> .
2014 Nov 25
2
[LLVMdev] Using the unused "version" field in the bitcode wrapper (redux)
On Mon, Nov 24, 2014 at 7:53 AM, Rafael Espíndola <
rafael.espindola at gmail.com> wrote:
> > Right, that version number is used to resolve *ambiguities* in how to
> > interpret some chunk of bitcode. It is not a generic bitcode version
> > scheme, because most bitcode format changes involve things like adding
> > new operands or opcodes, which are easily identified
2004 Aug 06
2
--dtx alone does nothing?
I'm running a:
for band in n w u
do
for quality in 0 1 2 3 4 5 6 7 8 9 10
do
for complexity in 3
do
for vad in "" "--vad"
do
for dtx in "" "--dtx"
do
echo speexenc -${band} --quality ${quality} --comp ${complexity} ${vad} ${dtx} input.${band}.wav
2005 May 03
1
Problem: R lässt sich nicht starten
Hallo,
ich schreibe einfach mal deutsch, und hoffe dass Du das auch verstehst
(if not write me back in English).
OS X 10.3.9
Ich habe R 2.1.0 installiert, und das Programm hat auch funktioniert.
Will wenig sp??ter wieder mit R arbeiten, es l??sst sich aber nicht mehr
starten. "Das Programm R wurde unerwartet beendet", w??hrend ich versuche
es durch Doppelklicken auf das R.app-symbol
2008 Jun 13
4
Sweave: looping over mixed R/LaTeX code
Dear guRus,
I would like to loop over a medium amount of Sweave code, including both R and LaTeX chunks. Is there any way to do so? As an illustration, can I create a .tex file like this using a loop within a .Rnw file, where the "1,2,3" comes from some iteration variable in R?
################################################
\documentclass{article}
\usepackage{Sweave}
\begin{document}
2000 Jun 03
5
Monty on holiday
Hi folks,
My wife and I are taking a long weekend to celibrate our anniversary. I won't
be around again until Wednesday to answer email or do anything else on Vorbis.
Yeah, I know, I usually answer my email once a month anyway (so likely no one
would notice me being gone), but just so folks know if anything really juicy
comes up :-)
I'll be merging my latest branch with mainline
2004 Aug 06
0
--dtx alone does nothing?
> So far, I've noticed that --dtx alone doesn't seem to do anything, but --vad does
> and the combination --dtx with --vad does more. The lone exception is for wide
> and ultra-wide coding at quality 0, --vad, alone, makes the file slightly larger.
> At all other sized the ordering is always: plain==--dtx, then --vad, then --vad
> with --dtx.
All you say look normal to me.
1999 Jun 08
3
histograms
> >>>>> "PD" == Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> writes:
>
> PD> "Venables, Bill (CMIS, Cleveland)" <Bill.Venables at cmis.CSIRO.AU>
> PD> writes:
> >> The fact that every elementary book on statistics does it this way
> >> does not make it correct. To be helpful, a histogram really
2004 Aug 06
2
--dtx alone does nothing?
> All you say look normal to me.
Okay, clarification requires less code to be written than a bug. :)
> > Does that makes sense? I would have thought that --dtx alone would have =
> doen it,
> > but maybe it needs perfect digital silence to work? Or only uses the voi=
> ce activation
> > to know when there's silence?
>
> DTX requires the VAD to know when
2014 Nov 25
2
[LLVMdev] Using the unused "version" field in the bitcode wrapper (redux)
On Mon, Nov 24, 2014 at 7:00 PM, Robinson, Paul <
Paul_Robinson at playstation.sony.com> wrote:
> It should report that the
> particular new feature is not support. In this case, something like
> "unknown 'g' flag in datalayout".
>
> Currently that would hit an llvm_unreachable(). How should we
> re-engineer this to provide sensible error recovery in
2014 Nov 06
2
[LLVMdev] Using the unused "version" field in the bitcode wrapper (redux)
On Tue, Nov 4, 2014 at 9:10 PM, Bruce Hoult <bruce at hoult.org> wrote:
> On Wed, Nov 5, 2014 at 2:30 PM, Sean Silva <chisophugis at gmail.com> wrote:
>
>> > Does Apple support library/middleware providers shipping bitcode instead
>>
>>> > of object code?
>>>
>>> No.
>>>
>>
>> Are there ever any plans to do so?