Displaying 8 results from an estimated 8 matches for "strightforward".
Did you mean:
straightforward
2011 Feb 17
1
censoring symbols on survfit plot
Hi, when ploting Kaplan-Meier estimate curves as below, the censoring symbols
(crosses) to not change thickness along the lines
plot(survfit(surv ~ I(x>=cut.off) ),lty=c(1,2), lwd=2)
is there any strightforward way to make it happen? thanks
robert
--
View this message in context: http://r.789695.n4.nabble.com/censoring-symbols-on-survfit-plot-tp3311283p3311283.html
Sent from the R help mailing list archive at Nabble.com.
2011 Oct 14
1
date and time
...t;
which correspond to my starting point in time domain.
Now I need to produce series over, 5 sec epochs up to end point, say:
[1] "2008-04-12"
[1] "23:00:00"
So something like
2008-04-11 22:00:00
2008-04-11 22:00:05
2008-04-11 22:00:10
.
.
.
2008-04-12 23:00:00
Is there any strightforward way to do it? Any suggestions?
Best, robert
--
View this message in context: http://r.789695.n4.nabble.com/date-and-time-tp3905358p3905358.html
Sent from the R help mailing list archive at Nabble.com.
2009 Sep 09
1
change character to factor in data frame
...; "3.1" ...
$ Petal.Length: num 1.4 1.4 1.3 1.5 1.4 1.7 1.4 1.5 1.4 1.5 ...
$ Petal.Width : num 0.2 0.2 0.2 0.2 0.2 0.4 0.3 0.2 0.2 0.1 ...
$ Species : chr "setosa" "setosa" "setosa" "setosa" ...
I hoped that backwards conversion would be strightforward but...
irisf[,index]<-sapply(irisf[,index], as.factor)
str(irisf)
'data.frame': 150 obs. of 5 variables:
$ Sepal.Length: num 5.1 4.9 4.7 4.6 5 5.4 4.6 5 4.4 4.9 ...
$ Sepal.Width : chr "3.5" "3" "3.2" "3.1" ...
$ Petal.Length: num 1.4 1.4...
2009 Apr 01
1
Fwd: 'for Loop'
Hello,
A nice guy call Jun Shen was helping me out with this, but I require a bit more help. Below is my data set or list called 'test'. I'm trying to calculate the %RSD for each pair of index and keep it in cronological order if you can imagine a 3rd column with 'date' beside index.
Result Index
1 0.2901 17
2 0.2928 17
3 0.2913 18
4 0.2893 18
5
2004 Mar 03
4
How to read Excel file and access the data item?
In R, How to read Excel file and access the data item?
Thank you.
---------------------------------
[[alternative HTML version deleted]]
2007 May 14
3
x axis problems
I have been searching for the R manual, unable to solve my problem.
Questions
1) How can I put the x axis at the top of the plot?
2) I am plotting data from a CTD. I want to add series sal, obs and fluo
at the same plot by using points(sal,deepth) ets. The data have
different values so I want to use multiple x axis (4) with different
scaling. How can I do that?
2002 Jun 11
5
Different y-axes
Hi All,
I have checked everything I could find abot graphics, but still cannot
solve the problem.
Are there any ways to make a graph that plots two lines and two
different y-axes, each of them has a scale that is related to the
respective line. For example, y1 has a range 1:50 and y1 ranges 0:1. The
x-axe is the same for both.
Thank you in advance.
---
Gregor Gawron
2018 May 30
4
par(mfrow=c(3,4)) problem
Hi all;
I need to put 12 different plot2 into the same matrix. So my array for the
matrix will be par(mfrow=c(3,4)). I am running ggplot2 to produce my 12
plots. For some reason, par(mfrow=c(3,4)) did not turn out 3*4 matrix.
my basic R codes for each plot is
par(mfrow=c(3,4))
library(ggplot2)
p <- ggplot(a, aes(x=Genotypes, y=Plant_hight, size=Plant_hight,
color=Showing_rate)) +
.
.
Best