Displaying 20 results from an estimated 900 matches similar to: "Query on R plot : Unequispaced label on x-axis"
2011 Oct 20
1
R code Error : Hybrid Censored Weibull Distribution
Dear Sir/madam,
I'm getting a problem with a R-code which calculate Fisher Information
Matrix for Hybrid Censored Weibull Distribution. My problem is that:
when I take weibull(scale=1,shape=2) { i.e shape>1} I got my desired
result but when I take weibull(scale=1,shape=0.5) { i.e shape<1} it gives
error : Error in integrate(int2, lower = 0, upper = t) : the integral is
probably
2012 Mar 23
2
R Error : DATA to MATRIX
Dear Sir/Madam,
I'm getting a problem with a R-code which converts a data frame to a matrix.
It first generate a (m^(n-m) * m) matrix A and then regenerate another
matrix B having less dimension than A which satisfy some condition. Now I
wish to assign each row of B to a vector as individual.
My problem is when I set any choice of (n,m) except m=1 it works fine but
setting m=1 I got the
2013 Jul 20
2
Different x-axis scales using c() in latticeExtra
Hi,
I would like to combine multiple xyplots into a single, multipanel
display. Using R 3.0.1 in Ubuntu, I have used c() from latticeExtra
to combine three plots, but the x-axis for two plots are on a log
scale and the other is on a normal scale. I also have included
equispace.log=FALSE to clean up the tick labels. However, when I try
all of these, the x-axis scale of the first panel is used
2010 May 18
1
lattice::panel.levelplot.raster too picky with unequal spacing
Dear all,
I got a couple of warnings using panel.levelplot.raster,
In panel.levelplot.raster(..., interpolate = TRUE) :
'y' values are not equispaced; output will be wrong
although I was quite sure my data were equally spaced (indeed, I
created them with seq()). A closer look at the source code reveals
that the function tests for exact uniformity in grid spacing,
if
2015 Feb 26
2
como eliminar los nombres de las series en el grafico
Estimada comunidad, estoy haciendo un grafico con la funcion xYplot
(paquete Hmisc) para agregar barras de error a los puntos del grafico.
Pero pasa algo que no me gusta: aparece el nombre de las series en el
grafico.
Alguien sabe como puedo eliminarlas ? no quiero usar ggplot porque ya
tengo hechos todos los graficos con lattice.
Aqui el codigo que uso y los datos (estan separados por tab, no
2018 Nov 04
1
trivial typo in src/library/stats/man/ts.Rd
"vector[s]" should be plural in line 54 ...
cheers
Ben Bolker
----
Index: ts.Rd
===================================================================
--- ts.Rd (revision 75540)
+++ ts.Rd (working copy)
@@ -54,7 +54,7 @@
}
\details{
The function \code{ts} is used to create time-series objects. These
- are vector or matrices with class of \code{"ts"} (and additional
2010 Nov 03
1
NFFT on a Zoo?
I have an irregular time series in a Zoo object, and I've been unable to
find any way to do an FFT on it. More precisely, I'd like to do an NFFT
(non-equispaced / non-uniform time FFT) on the data.
The data is timestamped samples from a cheap self-logging
accelerometer. The data is weakly regular, with the following
characteristics:
- short gaps every ~20ms
- large gaps every ~200ms
2009 May 13
4
plotting a grid with color on a map
Hi all,
I have posted similar questions regarding this topic, but I just can't seem
to get over the hump and find a straightforward way to do this. I have
attached my file as a reference.
Basically, the attached file is a 5 degree by 5 degree grid of the the world
(2592 cells), most of them are NA's. I just want to be able to plot this
grid over a world map and color code the cells. For
2014 Nov 06
2
diferentes escalas en el X de un grafico con varios paneles
Estimados, tengo el siguiente problema:
Tengo que graficar la concentracion de un metabolito en algunas muestras
contra la concentracion del solvente con que fue extraido. Las
concentraciones varian desde cero (para un control) hasta varios miles
de unidades de concentracion (miliMolar).
Para que se puedan diferenciar los puntos en el eje X, se ha usado una
escala logaritmica. Hasta ahi todo
2005 Nov 13
1
correlating irregular time series
I have some time stamped events that are supposed to be unrelated.
I have plotted them and that assumption does not appear to be valid.
http://metrak.com/tmp/sevents.png is a plot showing three sets of events
over time. For the purpose of this exercise, the Y value is irrelevant.
The series are not sampled at the same time and are not equispaced
(just events in a log file).
The plot is
2010 Aug 31
0
rpart - interpretation of results of tree on survival data
Hi All,
I am fitting a tree to censored survival data using the rpart package and
wanted to better understand the results.
I am trying to interpret the output from the tree. I am interested in
understanding what "yval" is for a survival tree. I see in the output of
summary, the phrase "estimated rate". The estimated rate is 1 for the entire
tree, and more of less for each
2008 Dec 06
1
Kaplan-Meier function from survfit
Hi All,
Please pardon me if I am missing something obvious here. How do I get
the Kaplan-Meier estimate function that is created by survfit and
plotted by the code.
fit <- survfit(Surv(time, status) , data=aml)
plot(fit)
That is, I need a function that will give me the survival estimate at
a given time: \hat{S}(t).
Thanks in advance.
Ritwik Sinha
ritwik.sinha at gmail.com | +12033042111 |
2013 Nov 27
1
Conditional error bars
How can I condition any error bar function that use the arrows() function,
such as 'CI.plot' (see example below) or 'error.bars', to draw only upper
error bar (upper CI) if the bar value (mean) is positive and the lower
error bar (lower CI) if bar value is negative?
CI.plot <- function(mean, se,length, ylim=c(-5, max(CI.H)), ...) {
CI.H <- mean+se
CI.L <- mean-se
2006 Nov 26
1
problem loading package Hmisc
Hi,
I installed the package Hmisc with the command
install.packages("Hmisc") without errors. When I try to load the
library with command library(Hmisc) I get the error
> library(Hmisc)
Error in library(Hmisc) : there is no package called 'Hmisc'
> version
_
platform i386-pc-linux-gnu
arch i386
os linux-gnu
system i386,
2023 Jan 16
1
Error: Mailbox INBOX: file_dotlock_create in directory /var/mail failed: Permission denied
Hi All,
We are running Round cube on top of dovecot and postfix as our email
echo system. Main problem we are facing is that, roundcube loads really
slow for big inboxes (~5000 emails). I found that, while it loads, imap
process goes high in terms of CPU utilization(~90%). I asked it in some
roundcube support group, They believe that it is related to dovecot not
roundcube. Can you shed any
2006 Mar 27
2
A plotting question - how to get error bars?
Dear R list,
Can anyone help with a plotting question? I'm trying to display some data
on a plot and I've almost got the format I need (see code below), but 2
things I can't get:
1. How to get "Jan","Feb","Mar" on the x=axis instead of 1:3?
2. How to get "T"s on the end of my error bars like you have in standard
scientific plots?
Any comments
2007 Oct 23
1
How to avoid the NaN errors in dnbinom?
Hi, The code below is giving me this error message:
Error in while (err > eps) { : missing value where TRUE/FALSE needed
In addition: Warning messages:
1: In dnbinom(x, size, prob, log) : NaNs produced
2: In dnbinom(x, size, prob, log) : NaNs produced
I know from the help files that for dnbinom "Invalid size or prob will
result in return value NaN, with a warning", but I am not able
2003 Jul 12
2
help with bivariate density plot question
Dear R users:
I have a dataset with two variables (>20000 observations, two samples from same subject) and I used "kernSur" from library(Genkern) to
get a estimated bivariate density and corresponding plots as follows:
new.data.normal<-data.normal[!is.na(data.normal[,2]),]
x<-new.data.normal[,2]
y<-new.data.normal[,3]
op <- KernSur(x,y, xgridsize=50, ygridsize=50,
2000 Dec 15
1
resolution of windows metafiles
I am having trouble getting smooth-appearing curves in figures produced as
windows metafiles using R (R-1.1.1 on Windows 98). When I import them into
a word processor (either MS Word 97, or WordPerfect 9.0), the figures
appear only slightly bumpy on screen, but when printed, there is a clear
jaggedness reminiscent of aliasing. Is there a fix for this (if the answer
is "upgrade to 1.2",
2008 Feb 15
3
lineplot.CI problem
Hi List,
I have a problem plotting data using the lineplot.CI command in the sciplot package.
I want to plot the data of 2 experimental cases using different lines (traces). Time is on the X-axis. The tricky thing is that the data collection in the second case started later than for the first case. This is to say: the first n data points for the second case are missing.
So far so good. However,