Displaying 20 results from an estimated 10000 matches similar to: "Editing figure without re-running the plotting code?"
2008 Sep 02
3
boxplot - label outliers
Hi All-
I have 24 boxplots on one graph. I do not have the whiskers extending
to the outliers, but I would like to label the maximum value of each
outlier above the whiskers. I have the stats but am having trouble
figuring out how to label the whiskers.
Any suggestions would be great!
sherri
2008 Sep 04
3
adding NA to "subset"
Hi All-
I have a data set (spdco2)
> spdco2
[,1] [,2] [,3]
[1,] 1 5.4 382.4212
[2,] 2 5.1 383.0315
[3,] 3 4.8 383.9520
[4,] 4 4.7 384.4376
[5,] 5 4.7 384.5929
[6,] 6 4.4 384.8864
[7,] 7 4.1 385.2156
[8,] 8 3.8 385.2919
[9,] 9 3.7 385.5925
[10,] 10 3.9 385.6801
I am subsetting it to output when [,2] is >= 4.7 .
2011 Feb 10
1
Multi-page plots (Trellis)
Dear All -
I would like to make multi-page plots, but my plots are writing over one
another - thus leaving just the last plot. Here is what I am doing:
pollutionRose(temp, "nox", type="hour")
update(trellis.last.object(), layout =c(3,3,3) )
I would like 24 plots with 9 plots/page (the last page would not have 9
plots)
Is there any way to "force" layout to make 3
2009 Feb 26
3
windows vs. linux code
Dear All-
I have been given some Rcode that was written using a Linux OS, but I
use Windows-based R. The person that is giving it to me said that it
needs to run on a Linux system. Does anyone have any insight and/or can
verify this. I haven't yet obtained the code, so I haven't been able to
try it yet.
cheers-
sherri
2010 Jun 16
1
multiple plots without for loops
Dear All-
I am trying to plot over one hundred figures. I do not want to save
them, just walk through them to take a look. If I run the code as it
is below, then the plots just rapidly run through. I tried adding a
new device, but I reached the device number limit. I have gone through
the online manuals, done google searches and the R Site help pages and
haven't found anything to
2012 Aug 27
1
total CPU time in Matlab - what is the equivalent in R?
I am trying to compare the speed of my R code with that reported by the
authors of a reference paper who used Matlab. The authors of the paper
state "Total CPU time for the algorithm was 10 s for the ...on a modest
mobile 2.2 GHz Pentium processor running MATLAB v.6".
I am using proc.time (similar to the example shown in ?proc.time) to
determine the speed of my R code. Could someone
2008 Aug 08
2
aggregate
Dear All-
I have a dataset that is comprised of the following:
doy yr mon day hr hgt1 hgt2 hgt3 co21 co22 co23 sig1 sig2 sig3 dif flag
244.02083 2005 09 01 00 2.6 9.5 17.8 375.665 373.737 373.227 3.698 1.107
0.963 -0.509 PRE
244.0625 2005 09 01 01 2.6 9.5 17.8 393.66 384.773 379.466 15.336 11.033
5.76 -5.307 PRE
244.10417 2005 09 01 02 2.6 9.5 17.8 411.162 397.866 387.755 6.835 5.61
6.728
2008 Dec 21
2
data format issue
Dear all-
I have a dataset (see a sample below - but the whole dataset is June
2005 - June 2008). The "LST" format is "YYMMDDHHmm" and I would like to
get the hourly average of the "mph" for the summer months (spanning all
years). I have been trying to use "aggregate" but am not having much
success at all! any thoughts would be greatly appreciated.
2011 Jul 04
1
wavelets
I'm new to the topic of wavelets. When I tried to use the mra function in the
wavelets package, the data is not getting compressed. eg. if the original
data has 500 values , the output data also has the same.
However in MATLAB, depending on the level of decompositon, the data gets
compressed.
How do I implement this in R?
--
View this message in context:
2008 Apr 14
1
boxplot tick locations
hi all-
i am creating a boxplot and would like to shift the x-axis tick marks
(named 1:23) so that the ticks are in between the boxes and not centered
in the middle of the boxes. i have searched the help files and google
and have not found what i am looking for.
does anyone know how to do this?
thanks!
s.heck
University of Colorado, Boulder
2012 Oct 14
1
Is there any R package that contains Rusboost based on Adaboost.m2?
Hi,
I have been searching everywhere for an implementation of those algorithms,
but I have only observed them in Matlab and on the literature.
I noticed a package called 'ada' in CRAN but it is not for multi class. I
would be happy with just Adaboost.m2, Smoteboost over adaboost.m2 or any
other combination that could account for imbalanced multiclass
classification problems.
Thanks!
2012 Jul 02
1
Undocumented behavior around daylight savings time?
Apologies for the intrusion. I am a lurker on list.
I have been working to convert a digitized signal from a matlab file into R
for analysis and other applications. R.matlab is working fine, and it is
easy to convert the matlab date-time number (days since year 0) into R
date-time numbers (seconds since 1970-01-01).
Unfortunately, when I cast the R date-time number into POSIXct format it
seems
2011 Apr 28
1
visualizing bootstrapped dendrogram
I want to classify bipolar neurons in human cochleas and have data of the
following structure:
Vol_Nuc Vol_Soma
1 186.23 731.96
2 204.58 4370.96
3 539.98 7344.86
4 477.71 6939.28
5 421.22 5588.53
6 276.61 1017.05
7 392.28 6392.32
8 424.43 6190.13
9 256.41 3850.51
10 249.17 3118.14
11 276.97 3037.29
12 295.30 3703.76
13 314.43 5265.97
14 301.15 5781.73
I
2009 Apr 10
2
Plot legend
Dear All-
I am trying to create a legend where the first 9 terms are represented as pch=16 in one column (which I am able to do); but, I would like the last two terms in that column to be 'lines" (which are black and red - just as it looks like in the plot). I have read through many help pages and searched the help listserv, but haven't figured this one out yet. Does anyone have
2013 Apr 20
2
Editing data sheet issue with write.table append
I'm running R 2.15.2 on Max OS X 10.6.8
If I write a simple file
Data1<-1
DF<-data.frame(Data1)
colnames(DF)<-"Col1"
and write to a csv file
write.table(DF,file="Data.csv",sep=",",row.names=FALSE,col.names=TRUE)
I can then append to it no problem
Data2<-2
Data3<-4
DF2<-data.frame(Data2)
DF3<-data.frame(Data3)
2009 Jan 04
1
POSIXct and chron issues with tz
Dear All-
I am trying to merge two data files - they have different date formats
and different times zones. I need to match up the date/time of the
datasets and then invoke a conditional statement, such as: if dataC$mph
is >= 12 then keep dataM$co23 for the corresponding time/date stamp.
snippets of data files:
*dataC.txt*
LST in mph Deg DegF DegF2 % volts Deg
2012 Apr 23
2
.rda vs. .RData
Are they the same with .RData being the newer format?? Thanks,
...Tao
2013 Oct 10
1
Rcpp and mclapply
Dear all,
I have an R script that uses Rcpp, and I have been trying to parallelize
it using mclapply (I tried with the multicore and the parallel library)
Sometimes (not always, interestingly), the CPU use for each core drops,
usually so that the total over all cores reaches 100%, i.e., as fast as if
using just one single core fully. I tried my code directly from within
emacs, and also using a
2013 Oct 12
1
lmerTest
Hi,
I'm trying to user lmer function from lmerTest package because, if I
understood correectly, it allows to make better inference than lmer method
from lme4 package. However, whatever I do I keep getting this error:
Error in lme4::lFormula(formula = mark ~ ssCount + sTime+ : rank of X =
1660 < ncol(X) = 1895
any ideas what could be a problem?
thanks,
Srecko
[[alternative HTML
2012 Nov 11
2
Cropping a matrix by rows
Hello r-help,
I've been banging my head against the computer in an attempt to learn how
to divide my matrix into segments by rows. I want to be able to return each
segment as a newly named object. I've tried looking at the apply functions
and creating a for loop but brain no work. Here's the basic starting
objects that I believe would be needed to separate the matrix.
mat <-