Displaying 20 results from an estimated 300 matches similar to: "Graphics and LaTeX documents with the same font - multiple y-axes"
2007 Sep 28
6
Graphics and LaTeX documents with the same font
Dear All,
I know how to export graphics as pdf files and then how to include
them in LaTeX documents. However, I do not know how to do in order to
have the text of the graphics written with the font selected for the
LaTeX document. Is that possible?
Thanks in advance,
Paul
2008 Mar 02
0
new to latex to pdf
Dear All,
I'm trying to teach myself latex along with the latex function in Hmisc
and have hit a roadblock that I can't seem to get around. I'd greatly
appreciate any pointers.
I'm running R 2.6.0 on Windows XP and have Miktex 2.7 installed.
I've reproduced the code below, taken from Frank Harrell's latexsummary
introduction. My question relates to getting a pdf
2012 Jun 06
0
randomForest Species Distribution Modelling
Hi,
I appologise if this is a rudimentary question and long winded but I just
wanted to let ye know where I'm comming from. I'm new to R and I'm trying to
use the 'randomForest' package to classify and predict. The Error message
that is troubling me is:
> pr<-predict(predictors,rf1, ext=ext)
Error in x[...] <- m : NAs are not allowed in subscripted assignments
In
2004 Oct 23
2
Puzzled at a trivial function using Hmisc::setps
I have done:
library(Hmisc)
mysetps <- function(f) {setps(filename=f, w=4.5)}
Now when I set about doing
mysetps("a")
blah
mysetps("b")
blah
etc.
Problem: I find that only one file "f.ps" gets created.
My intent had been to create "a.ps", "b.ps", etc., all using the
argument w=4.5 with the setps() function of Hmisc::setps.
2016 Aug 26
2
[PATCH] v2v: Use unitless methods for methods which don't change the internal state.
Methods in OCaml which don't take any parameters don't require the
dummy unit arg, ie writing:
method foo = ...
is fine. The reason you might need the unit arg is if you need to
create a closure from the method without calling it, for example if
you need to use the method in a callback.
In lablgtk2 the convention is to use unitless methods if either: the
method shouldn't be used
2004 Nov 11
6
scan or source a text file into a list
I've ported somebody else's rather cumbersome Matlab model to R for
colleagues that want a free build of the model with the same type of I/O.
The Matlab model reads a text file with the initial parameters specified as:
C:\Data\Carluc\Rport>more Params.R
# Number of years to simulate
nYears = 50;
# Initial year for graphing purposes
year0 = 1970;
# NPP/GPP ratio (cpp0 unitless)
fnr =
2009 Nov 10
3
NetCDF output in R
Dear CSAG R users,
I will be glad if someone can point out what I am doing wrong or not doing at all in this.
I am trying to write out netcdf file in R. I have 26 time step but only the first time step is written.
For example:
>library(ncdf)
>path <- '/home/work/'
>forecast <- open.ncdf(paste(path,'cam.1980.2005.nc',sep=""))
> fore <-
2009 Nov 10
3
NetCDF output in R
Dear CSAG R users,
I will be glad if someone can point out what I am doing wrong or not doing at all in this.
I am trying to write out netcdf file in R. I have 26 time step but only the first time step is written.
For example:
>library(ncdf)
>path <- '/home/work/'
>forecast <- open.ncdf(paste(path,'cam.1980.2005.nc',sep=""))
> fore <-
2006 Aug 24
5
xyplot tick marks and line thickness
Hello,
A made a xyplot using the lattice library in R (latest version).
The publisher of our paper has requested:
1. all tick marks should point inwards instead of outwards.
2. All lines should be thicker (lines, axes, boxes, etc. Everything). Lines is easy...I used: lwd=1.5 but what about the lines of the axes, and the lines that build up the plot itself?....?
Any
2013 Jan 22
3
density of hist(freq = FALSE) inversely affected by data magnitude
Hi,
I have a couple of observations, a question or two, and perhaps a
suggestion related to the plotting of density on the y-axis within the
hist() function when freq=FALSE. I was using the function and trying
to develop an intuitive understanding of what the density is telling
me. After reading through this fairly helpful post:
2006 Nov 13
1
handling time units--hours, minutes, days--from file times
Dear R-helpers,
I am trying to generalize my function for recording measurement times from
file times "mtime"--my intervals are minutes to hours over the course of
several days. I want to use hours as my units, and I have had trouble
dealing with time units in a general way. I have a simple solution for the
dealing with regular intervals, but I have not been able to handle irregular
2006 Nov 17
0
difftime for handling time units--hours, minutes, days--from file times
Thanks, Tim
To get the time difference in the proper units, it's as simple as this:
difftime(myfileinfo$mtime[2], myfileinfo$mtime[1], units="hours")
Cheers,
Warren
On 11/13/06, Tim Calkins <tcalkins@gmail.com> wrote:
> hardly the most efficient way to go, but consider using a substring
> function to extract the time bits from your data, then reading them as POSIX
2011 Sep 12
1
Problem in put.var.ncdf
Dear all,
I have a problem in writing a variable to a NetCDF-File.
My code works pretty well until the step put.var.ncdf():
# Get variables
#---------------------
data1 <- open.ncdf("PREC_me_03-1500.nc")
prec1 <- get.var.ncdf(data1,"PRECT")
dim.time <- get.var.ncdf(data1,"time2")
close.ncdf(data1)
# Calculation
#---------------------
spi24.me <-
2009 Nov 11
1
Floor1 doubts...
Hello,
I've read in a thread from this mailing list (
http://lists.xiph.org/pipermail/vorbis-dev/2009-September/020019.html) that
the usage of FLOOR1_fromdB_LOOKUP table is to convert Floor1 values from a
dB scale to a linear scale. In a dB scale, given a reference value, the
other dB values are obtained from it, normally dB_value = 10log(p1/p0),
where p0 is the reference value. Supposing p0
2007 Jan 17
2
libogg++ seeking w/o metric
Hi all,
I started out looking for a multi-stream format, which led naturally to
Ogg. I have been studying your web sites and code, and subscribed to
this list. Eventually we would like to have a multi-stream codec which
would have a discontinuous text component. In the meantime, I am working
on running the transport/en- de-capsulation on a separate thread, and
possibly with each codec on a
2002 Sep 13
6
Keyframe seeking in Ogg and spec
Folks have noticed that the documentation is semi-silent about how to
properly encode the granule position and interleave synchronization of
keyframe-based video. The primary reasons for this:
a) we at Xiph hadn't had to do it yet
b) there are several easy possibilities, and the longer we had to
think about it before mandating One True Spec, the better that spec
would likely be.
The
2015 May 20
2
Samba-4.1.18 romaing profile causes memory leak
Hi List,
I used samba-4.1.18 as domain controller and tried to use romaing profile.
I got memory leak when every account with profile path setting logout.
Every account with profile path setting eat almost 10mB memory so my samba
machine crash if there are many hundred account with profile setting in
domain.
Any option in smb.conf or operation can help ?
This is my reproduce setps:
1. create
2006 Dec 26
1
xyplot line colors
Hello,
I have a longitudinal data with about 30 subjects. I used xyplot() to plot
the longitudinal data. One problem is that xyplot() recycles the color of
auto.key so that every 7th subject has the same color (symbol if setps() was
used). Is there a way so that every subject will have a unique color or
symbol?
Thanks
Osman
--
Osman O. Al-Radi, MD, MSc, FRCSC
Fellow, Cardiovascular Surgery
2012 Jul 12
1
identifying local maxima
Dear R users,
I have created a Loess surface in R, in which x is relative longitude by
miles, y is relative latitude by miles, and z is population density at the
neighborhood level. The purpose is to identify some population centers in
the region. I'm wondering if there is a way to determine the coordinates
(x,y) of each center, so I can know exactly where they are.
Let me use the
2012 Aug 23
2
elevation map with R
I would like to plot a map of, say, California, showing the elevation areas.
I am sure there must be a source where I can find the dataset for the
elevation and maybe there's an implementation in R that allows me to map it.
Any ideas would be highly appreciated.
--
View this message in context: http://r.789695.n4.nabble.com/elevation-map-with-R-tp4641116.html
Sent from the R help mailing