Displaying 20 results from an estimated 90 matches similar to: "Histogram with logarithmic scale"
2009 Mar 30
0
Problem in S4 object displaying from within a Java application using JRI
I am using JRI (Java R Interface) library in order to call R from within my
Java application. But since the "rmu1" and "rmu2" ,see the following code,
are objects of type S4 once i run the application the value of Null will be
returned for both of them. On this regard, i would appreciate it if anyone
can tell me how i am going to display and/ or convert these objects to Java
2001 Jul 19
3
Write a script
Dear R users,
I would like to write a script to launch R commands from a Unix prompt but I
do not have any idea how to do it. Can someone bring me help please?
Thanks in advance
Denis Choquet
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
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)
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
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
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
2011 Feb 03
3
coxph fails to survfit
I have a model with quant vars only and the error message does not make sense:
(mod1 <- coxph(Surv(time=strt,time2=stp,event=(resp==1))~ +incpost+I(amt/1e5)+rate+strata(termfac),
subset=dt<"2010-08-30", data=inc,method="efron"))
Call:
coxph(formula = Surv(time = strt, time2 = stp, event = (resp ==
1)) ~ +incpost + I(amt/1e+05) + rate + strata(termfac),
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
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
2007 Mar 08
2
Using logarithmic y-axis (density) in a histogram
Hi,
I am searching for a possibility to display a logarithimic y-axis in a histogram. With plot that's easy (e.g.
plot(1:10, log="y")
but for histograms this does not work the same way: I tried
hist(rnorm(1000), freq=FALSE, seq(-4, 4, .5), ylim=c(0.001, 0.5), log="y")
Which gives the expected histogram but also warnings for my log="y" command
2013 Feb 24
0
BA.plot with logarithmic axes (MethComp)
Dear R-helpers,
I am trying to plot a Bland-Altman-Plot using the BA.plot function from the
package MethComp. While there is a function to transform the values for
analysis as shown in the snippet below, I would like to have logarithmic axes
for display as well. The usual log = 'xy' does not work because of the
properties of the y-asxis (positive and negative values). I am sure that
2007 Mar 07
0
PeriodicalUpdater with Logarithmic decay
Greetings all,
So, I''ve finally found a place to play around with the
Ajax.PeriodicalUpdater. In looking at the API, I''m liking the decay
option -- not necessarily for my current purpose, but just to keep in
mind -- and I have a question: can the decay be a function which
returns an integer? Basically, why I''m looking for is a logarithmic
decay (where the system
2005 Jul 29
1
Errbar()-function, cap and logarithmic scaling
Hello!
If I use the errbar-function and have a logarithmic scale on the x-axis,
then the little horizontal bars at the end of the errbars (cap)
disappear. What can I do?
Thanks for helping!
Ute
2002 Apr 22
0
Problem with logarithmic axes labelling
Dear R-helpers!
Using logarithmic axes sometimes results in an odd labelling.
In some cases, only half of the axes do have labels. Hmmmm.
I've played around with par(lab=c(5,5,7)) but that didn't help.
An example:
---- begin example ----
x <- c(0.12, 0.3, 0.53, 1.1, 1.8, 2.6, 4.5)
y <- c(0.012, 0.021, 0.032, 0.055, 0.1, 0.2, 0.35)
plot(x, y,
log="xy",
2006 Dec 15
1
xyplot: logarithmic y-axis
This should be simple but I am struggling. I like to easily switch in xyplot
between a linear or logarithmic y-axis by setting a logical flag logY to
False or True. This switch changes the scales argument of xyplot. I found
out that the original two-dimentional data (Conc vs Time in my case) are
converted to log10(Conc) if log=TRUE in scales, but it appears that
functions like panel.curve need to