Displaying 17 results from an estimated 17 matches similar to: "newb question: chron and hist()"
2011 Sep 08
5
General help - online statistics courses?
I understand this isn't a r specific question. I'm switching departments to
work with the analytics team at my company as a "service" side manager to
better incorporate the analytics process into product design / production.
We're an online gaming company.
As I'm going through tools like R, rapidminer, tableau, I was also thinking
that I should get some formal training
2010 Mar 05
3
how to make this sequence: 1,2,3,4,5,4,3,2,1
I'm just beginning R, with book Using R for Introductory Statistics, and one
of the early questions has me baffled. The question is, create the
sequence: 1,2,3,4,5,4,3,2,1 using seq() and rep().
Now, as a programmer, I am punching myself to not be able to figure it out..
I mean, as simple as a for loop, but using seq, I am stumped. I would think
c(1:5, 4:1) would be the brute force method
2011 Jul 14
2
Add a density line to a cumulative histogram - second try
Hi list,
this is my second try for first post on this list (I tried to post via email
and nothing appeared in my email-inbox, so now I try to use the
nabble-web-interface) - I hope that you will only have to read one post in
your inbox! Okay, my question ...
I was able to plot a histogram and add the density()-line to this plot.
I was able to plot a cumulative form of this histogram.
Yet, I was
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)
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
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
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
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
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.
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
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
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
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
> .
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
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
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