bars
Suggest contacting the maintainer
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2350
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Luigi
Marongiu
Sent: Tuesday, 22 October 2019 01:44
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2350
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of peter dalgaard
Sent: Sunday, 14 July 2019 02:15
To: Duncan Murdoch
Cc: r-help@r-project.org; Steven
Subject: Re: [R
p2, size = 10, col = "blue")
points3d(p3, size = 10, col = "green")
axes3d(c('x', 'y', 'z'))
title3d(xlab = "x", ylab = "y", zlab = "z", line = 1.7)
aspect3d(1,1,1)
highlevel()
Regards
Duncan
Dun
02Inf 0 1
Draft-5.088e+00Inf 0 1
TOTALCOST-1.708e-04Inf 0 1
BUNKER -6.712e-03Inf 0 1
CHARTERVALUE 2.524e-04Inf 0 1
dty2018 2.215e+00Inf 0 1
--
Hi
Here is the caveat
If you want to repeat it with loess? or panel loess something else that is
not groups aware (I have not checked to see if it has been up dated) have a
look at
https://stat.ethz.ch/pipermail/r-help/2010-August/250050.html
Regards
Duncan Mackay
Duncan Mackay
Department of
Sorry my fingers slipped and hit the send button.
One further thing is that I do not know why distribute.type = TRUE for cloud
did not work
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2350
-Original Message-
From: Duncan Mackay
Hi all
I know it is a bit late but I have been on other things.
This is a custom solution as it requires manual tweeking for further use in
getting the letter positioning
As cloud is fairly rigid I made a duplicate dataset and reduced the x and y
values by 0.1 as a trial.
Will need tweeking po
Hi
If you do not require the zeros to the right in the scientific notation
x
[1] 5.2e-01 1.7e-01 3.0e-02 1.0e-20
zapsmall(x)
[1] 0.52 0.17 0.03 0.00
Then use format, formatC or sprintf for character conversions
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
ountry_ID)))
summary(fitord)
Στις Δευ, 6 Αυγ 2018 στις 7:29 π.μ., ο/η Duncan Mackay
έγραψε:
Hi
Please read the geepack manual carefully.
GEE ordinal regression is not simple.
You need to format your data and do not use sample as a storage name. It is
the name of a function
dta is st
ave to see which is best for you
Many do not offer a method for ordinal or multinomial GEE.
One further question to ask population specific or subject specific ie to
GEE or not to GEE
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
A
ot(x,y, ...)
panel.text(-1, 2, paste("Group", 1:9)[which.packet()])
}
)
I have put over 60 panels on an A4 page.
You may have to put an if statement for the group names if they overlap
data.
Space is a premium - you can reduce the right margin similar to th
had a different name than
ASExtras. Is it the Splus distributed package name?
There is an asremlPlus package that is still valid
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2350
-Original Message-
From: R-help [mailto:r-h
- c(2,2)
apm
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2350
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Paul Murrell
Sent: Friday, 27 April 2018 11:28
To: Rolf Turner
Cc: r-hel
Hi
You may need to make a custom function for yscale.components; I think there
is an example in the help guides
Also have a look at
https://stat.ethz.ch/pipermail/r-help/2007-June/134524.html
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
but principle is the same.
you can use packet.number or which.packet if needed to make it simpler
use par.settings to do colours lines etc as well as spacing.
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2350
-Original Messa
type="p",
col="black",
cex=2,
pch=17)
box(lwd=3)
Saves typing by using options
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2350
-Original Message-
From: R-help [mailto:r-help-
Hi Luigi
will this do
barchart(
D ~ A|E,
DF,
groups = C,
stack = TRUE,
horizontal = F,
main = "Comparison of test results",
xlab = "Count",
col = c("yellow", "orange"),
par.settings = list(
strip.background = list(col="light grey"),
superpose.po
_key,
# scales = list(x = list(at = sdate, labels = format(sdate, "%b-%y"))),
xlab="Date",
panel = function(x, y, ...) {
panel.grid(h = -1, v = 0, lwd=1, lty=3, col="grey")
panel.abline(v=dat$dDate, lwd=1, lty=3, col="grey")
,
Q2= newddat$Q95,
lower = newdat$lower,
upper = newdat$upper,
subscripts = TRUE,
panel = function(x,y, Q2, upper, lower, subscripts, ...){
panel.xyplot(x,y, type="smooth")
panel.xyplot(Q2, upper, lty=2, col="re
+1000 Duncan Mackay
wrote:
> Hi
>
> I just had to do something similar in windows with \"{u}. Try Unicode
symbol
> - see ?plotmath
>
> ggplot(data, aes(x=X)) + geom_line(aes(y = Z), size=0.43) +
> xlab(expression(atop(top,bold(Age~"\u00e4"
>
&
Hi
I just had to do something similar in windows with \"{u}. Try Unicode symbol
- see ?plotmath
ggplot(data, aes(x=X)) + geom_line(aes(y = Z), size=0.43) +
xlab(expression(atop(top,bold(Age~"\u00e4"
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
Un
t;)
# make ID a factor
dat3 <- dat1
xyplot(y ~ time, data=dat3, groups=id, aspect = "fill", type = c("p", "l"),
xlab = "Time", ylab = "Y")
# ordered + ID a factor
dat4 <- dat3
dat4<-dat[order(dat4$id, dat4$time),]
xyplot(y ~ time, data=dat4,
rep"))), .Names = c("dim", "dimnames")), row.names = c(NA,
-32L), class = "data.frame")
str(df2)
library(lattice)
library(laticeExtra)
# This is as per normal
xyplot(x~d|paste(a,b)*c, data = df2)
# Increase strip height to use atop later on for 2 lines of text/pan
leturquoise", "grey"))),
scales = list(alternating = FALSE, x=list(draw=FALSE)),
key = list(
space = "top",
columns = 3,
text = list(c("Blank", "Negative", "Positive"), col="black"),
recta
Hi Luigi
see
?strip.custom
too late to do any more
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of
lwd = 2,
angle = 90, code = 3)
}
panel.xyplot(x, y, ...)
}
)
) )
panel.superpose avoids the needs for subscripts
Used dotplot as I could not get into panel.stripplot easily
made dot.lie white
)
Adding:
Depending on preferences for cluster (run) and target the new columns could
be changed to suit.
With "duplication" pch and col, rather than arguments themselves can be
adjusted to suit in par.settings which makes doing the key easier
Regards
Duncan
-Original Me
Hi Liugi
Here are some ideas quickly
4 panels diagonals are blank
mdata = my.data
mdata$ct <- paste(target, "Run", rep(1:2, each = 6))
mdata$typeT <- paste(mdata$target,mdata$type)
dotplot(
value ~ type|ct,
mdata2,
groups = typeT,
par.settings = list(strip.background = list(col="paletur
it = "inches",
angle = 90,
code = 3)
}
)
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From
, 5 January 2017 07:06
To: Duncan Mackay
Cc: R
Subject: Re: [R] Sweave: Incorporating warnings into a Sweave output chunck
Dear Duncan,
I'd recommend to switch from Sweave to knitr. Knitr has more options for
handling warnings and errors than Sweave.
Best regards,
ir. Th
<- svydesign(ids = ~Patient, data = hw.dat)Warning in
svydesign.default(ids = ~Patient, data = hwd) :
No weights or probabilities supplied, assuming equal probability
\end{Sinput}
I think that there also needs to be an argument about closing connections
somewhere in the code.
Regards
Duncan
Hi
Is this the output from Excel?
If so format it in Excel for a date format not a date-time format .
Depending how the dates were inputted into Excel and the Excel setup a date
may not be a date format.
There are no rules with microsoft formatting so beware!
Regards
Duncan
Duncan Mackay
t;, 0.25,0.25)
popViewport(0)
Regards
Duncan
-Original Message-
From: Marc Girondot [mailto:marc_...@yahoo.fr]
Sent: Friday, 30 December 2016 08:46
To: Duncan Mackay; w...@caa.columbia.edu; R-help Mailing List
Subject: Re: [R] \n and italic() in legend()
Hi,
Thanks a lot to Duncan Mackay
Hi Marc
Try atop
plot(1, 1)
v1 <- expression(atop(italic("p")*"-value","based on "*italic("t")*"-test"))
legend("topright", legend=v1, y.intersp = 3, bty="n")
Regards
Duncan
Duncan Mackay
Department of Agronomy and
actor = 5,
legend = list(right = list(fun = XY04.fmG))
)
Duncan
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan
Mackay
Sent: Thursday, 29 December 2016 18:21
To: R
Subject: Re: [R] How to overlay lines and rectangles in lattice plot key
Hi
nt instead of 2 or 3.
The OP needs to change the format and fix the heights of the rectangles etc.
I also fixed the colour vectors had j instead of k
Duncan
-Original Message-
From: Duncan Mackay [mailto:dulca...@bigpond.com]
Sent: Thursday, 29 December 2016 16:17
To: R
Subject: RE: [R]
al.Length + Sepal.Width ~ Petal.Length + Petal.Width,
iris,
type = c("p", "r"),
jitter.x = TRUE,
jitter.y = TRUE,
factor = 5,
legend = list(right = list(fun = XY04.fmG))
)
Have a look at https://stat.ethz.ch/pipermail/r-help/2005-April/069459.html
and the follo
"data.frame", row.names = c(NA, -396L
))
Regards
Duncan
-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: Monday, 19 December 2016 13:47
To: Duncan Mackay
Cc: R
Subject: Re: [R] data manipulation
> On Dec 18, 2016, at 5:39 PM, Duncan Mackay wrote
Hi David
Thanks for the info.
As a test I am attaching it anyway
Regards
Duncan
-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: Monday, 19 December 2016 05:36
To: Duncan Mackay
Cc: R
Subject: Re: [R] data manipulation
> On Dec 17, 2016, at 7:57
Hi
Coming late to the discussion - I deleted the original message
I found that I have a cbe.dat that I downloaded some years ago from
cowpertwaite's site .
And have attached it
If it does not get through will do a dput as the file is only 7K
Regards
Duncan
Duncan Mackay
Departme
of is using viewports
? grid::viewports
If it is base graphics then ? layout may fix it
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help
Hi Ben
A bit kludgy but it works. Further refinement by eye
print(vol_p, position = c(0,0,1,0.5), more = TRUE)
print(xy_p, position = c(0.14,0.5,0.86,1), more = FALSE)
I do not know if viewports will be any better
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
ngs
change overtime.
There are some words on how information is passed to the key in ?xyplot
You either have to set trellis.par.set() or use the par.settings arguments
For older versions things may be slightly different.
If in a hurry I try the easiest but if that fails on the first g
have to set trellis.par.set() or use the par.settings arguments
For older versions things may be slightly different.
If in a hurry I try the easiest but if that fails on the first go I just use
key = list(text = ... etc
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
Unive
Hi
Try
barchart(name ~ age, data = boy.age, scales = list(y = list(alternating =
FALSE, at = 1:4, labels = rep("",4
see ?lattice::xyplot for details
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email:
rtly determined by your future requirements of which
I am not qualified.
Regards
Duncan
From: Marna Wagley [mailto:marna.wag...@gmail.com]
Sent: Friday, 14 October 2016 03:13
To: Duncan Mackay
Subject: Re: [R] can we visualize water flows with 3d in R?
Hi Duncan,
Thank you v
tude effect
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Marna Wagley
Sent: Wednesday, 12 October 2
lications/jse/v18n3/zhou.pdf for examples
also have a look at the grid.clip function
Regards
Duncan Mackay
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-he
ol = c("red","blue","green"))),
panel = function(x, y, ..., groups) {
panel.superpose(x, y, ..., groups, panel = panel.points)
panel.superpose(x, y, ..., groups, panel = panel.loess)
panel.xyplot(x,y, ty
panel = panel.superpose,
panel.groups = function(x, y, type, col,group.number,avg, ...) {
# plot daily values
panel.xyplot(x, y, col = "grey80", type = "h") # delete if
necessary
# plot average
pane
]
Sent: Friday, 29 July 2016 11:49
To: Duncan Mackay
Cc: R
Subject: Re: [R] font size in graphs...can R read Windows settings?
The trouble is getting the figs to look right for different users who happen to
have different display settings. Nearly all my users will be on MS Windows,
and, for
2016 09:22
To: Duncan Mackay
Cc: R
Subject: Re: [R] font size in graphs...can R read Windows settings?
Thanks, Duncan. This is close to what I was looking for. But I'm not using
lattice. And the fontsize$text and fontsize$points are independent of display
settings in Windows (screen resol
ot;),
border = c("red","blue"))),
type = "b")
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-projec
quot;red","blue"),
border =
c("red","blue"))),
stack=TRUE, layout=c(4,1),
auto.key=list(title="Survived", text=levels(Titan$Survived),
rectangles=TRUE, points=FALSE, columns=
<- 10 / nchar(txt)
grid.text(txt, 0.5, 0.5, gp = gpar(cex = cex.cor))
}
splom(iris[1:4], groups = iris$Species, pch = 16,
lower.panel = function(...) {
panel.xyplot(...)
panel.loess(..., col = 1, lwd = 3)
},
upper.panel = panel.corval2)
Regards
Duncan
ou seem to be making this way more difficult than you should.
Though I didn't get any closer to an understanding of which.panel, the
question I asked was simply answered by
panel.custom(factor.levels = )
Thanks to
d = list(col = "transparent")
),
par.strip.text = list(cex = 0.65) )
)
If you want to change the order of the factors assign the factor levels to a
vector and order accordingly
Regards
Duncan
Duncan Mackay
Department of Agronomy and S
),tick=TRUE)
> axis(1, at = thickticks, labels=FALSE, las = 1,lwd.ticks=2)
> dev.off()
All the above work for me on Win 7 32
platform i386-w64-mingw32
arch i386
os mingw32
system
ot;])
without further work cex will not work as it is in par settings
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Beh
s[1:3])),
xlab = "")
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Ivan
Calandra
Sent: Thursday
for one way with grid package, other ways may be using lattice and
lattice::draw.key
I' m a bit rusty on the actual workings
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Me
Forgot to send to list
-Original Message-
From: Duncan Mackay [mailto:dulca...@bigpond.com]
Sent: Sunday, 17 May 2015 10:49
To: R
Subject: RE: [R] dotplot
if this is using lattice panel.dotplot gives the clues
The vertical lines are inserted by panel abline.
You can make your own
type = "b",
lty = 2,
panel = mypanel
))
Regards
Duncan
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan
Mackay
Sent: Tuesday, 16 February 2016 15:16
To: R
Subject: Re: [R] Condition layer across panels i
Sorry forgot to reply to list.
In addition (untested) modifying demo(lattice::intervals) to suit may help
Duncan
-Original Message-
From: Duncan Mackay [mailto:dulca...@bigpond.com]
Sent: Tuesday, 16 February 2016 12:12
To: 'Jeff Stevens'
Subject: RE: [R] Condition layer acr
Fig}
\end{center}
\end{figure}
\end{document}
If this is an example for a larger document then have a look at the latex
hyperref package
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
---
Hi
What version of JAGS are you using
JAGS 4.0.0 is current
library(rjags)
Loading required package: coda
Linked to JAGS 4.0.0
Loaded modules: basemod,bugs
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac
}
) ## xyplot
You may want to look into the zoo package as it has several date grouping
functions.
untested
z.tom <- aggregate(rainfall ~ year +month, z, mean, na.rm = T)
xyplot(rainfall ~ month, z.tom, groups = year,
scales = ... ,
panel = panel.superpose
Another package to do ordinal regression is VGAM
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Bob
Duncan
From: Luigi Marongiu [mailto:marongiu.lu...@gmail.com]
Sent: Sunday, 20 December 2015 20:35
To: Duncan Mackay
Subject: RE: [R] introduce axis break lattice plot multipanel
thank you duncan,
but in that case the scale of the two panel would be different. i think ill
keep it as it
Hi Luigi
I suppose a cheats way out would be to put
scales = list(alternating = FALSE,
x = list(relation = "free") ),
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@north
)),
auto.key = T,
layout=c(4,1))
If you use auto.key things get a bit tricky and need values from
trellis.par.set() ie par.settings within xyplot
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@
Forgot to send to list
-Original Message-
From: Duncan Mackay [mailto:dulca...@bigpond.com]
Sent: Thursday, 8 October 2015 08:44
To: 'Szumiloski, John'
Subject: RE: [R] [lattice::xyplot] Using (panel:.)abline with
panel.superpose?
Hi John
I only got grid lines on your # c
n the panel function on
their own line
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Naresh
Gurbu
nction from library(zoo) after converting year month day to a
date format with as.Date
and go on from there
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From:
forgot to send to list
From: Duncan Mackay [mailto:dulca...@bigpond.com]
Sent: Tuesday, 15 September 2015 01:47
To: 'Christine Lee'
Subject: RE: 回覆︰ [R] adding a line across plots in xy plot with panel.abline
Hi
If your panel function was like this (just adding to plot the p
l = function(x, y, ...){
panel.xyplot(x,y, ...)
panel.abline(h=1,lty=2,lwd=3)
}
)
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
Fro
I forgot to put a line about latticeExtra's doubleYScale
library(latticeExtra)
? doubleYScale
Duncan
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan
Mackay
Sent: Sunday, 13 September 2015 00:56
To: R
Subject: Re: [R] Adding a second Y axis
Hi
see https://stat.ethz.ch/pipermail/r-help/2007-June/134524.html
to get you started. Its toolate or too early here
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message
Hi Luigi
add strip.custom argument
barchart(test ~ count|assay, df,
groups = res,
stack = TRUE,
main = "Comparison of test results",
xlab = "Count",
col = c("yellow", "blue"),
strip= strip.custom(factor.levels = c("molecular
test","serological test"),
of ?xyplot
and ?panel.xyplot
Regards
Duncan
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Sumitrajit
Dhar
Sent:
superpose.symbol = list(cex = rep(2, 2),
col=c("grey","black"),
pch = rep(16,2))),
type="p",
xlab=list("Month",cex=1.5),
ylab=list("Abundance",cex=1.5),
Duncan
-Original Message-
From: Christine Lee [mailto:leptostra...@yahoo.com]
Sent: Wednesday, 19 August 2015 00:26
To: R; Duncan Mackay
Subject: RE: [R] date format in xyplot
Thank you Duncan,
I have tried the scales function. It ends up with 2015-09-15, which is
acceptable. It is far much
e2[1]+12), by = "months", length = 3))), "%m-%d") ) ),
xlab=list("Month",cex=1.5),
ylab=list("Abundance",cex=1.5),
cex=2,
pch=c(16,16,21),
col=c("Black","Grey","Black")
)
par.settings is confin
llines( seq(5,60,5), xy.pre, col = "blue")
} else {
xy.pre <- predict(xy.nls, newdata = list(time =
seq(5,60,5)))
print(xy.pre)
llines( seq(5,60,5), xy.pre, col = "magenta")
}
I'm not upto date with some of the latticeExtra functions so cannot really
comment otherwise.
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help
ot;], format = "%d/%m/%Y"),
as.Date(SampleData[,"date"], format = "%m/%d/%Y")) )),
origin = as.Date("1970-01-01"))
Beware of the American format in months jan feb mar oct nov -- will need more
conditions to be imposed
Regar
ength(ColorsRYB[,1])
ColorsRYBhex=rep(0, LenCol)
for(i in 1: LenCol)
{
ColorsRYBhex[i]=rgb(ColorsRYB[i,1]/255,ColorsRYB[i,2]/255,ColorsRYB[i,3]/255)
}
pie(rep(1, LenCol), col = ColorsRYBhex)
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidal
etter to save the value and use it.
If you are having problems start from the beginning with a minimal script eg
xyplot(min.temp + max.temp ~ day, data = SeatacWeather,
as.table = T,
layout = ...,
groups = ...)
and build up from there. Its amazing what you find ou
::arm
lrm::rms
if you want to do GEE that is another matter.
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On
e[3], 45),
rep(col.name[4], 45),
rep(col.name[5], 45),
rep(col.name[6], 45)
)
COL <- rep(CO,2)
new.data <- cbind(my.data, ROW, COL)
head(new.data, 200)
useOuterStrips(
xyplot(Rn ~ Cycle | Well,
data = my.data,
groups = Well,
ylab= "Y axis&qu
that ?gridRect and ?gridText from library(grid)
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Luigi
: Saturday, 4 July 2015 01:58
To: Duncan Mackay
Subject: Re: [R] Lattice: set col = "black" for box.rectangle and
box.umbrella
On Fri, 3 Jul 2015, Duncan Mackay wrote:
> My settings are
>
> par.settings = list(fontsize = list(text = 10.5,
>
ot;,
cex = 0.7,
pch = 20)
),
This gives a red line instead of the large dot: it avoids "bulls-eyes"
across the panel when there are a lot of factors
Regards
Duncan
Duncan Mackay
Department of Agronomy and Soi
I am not sure that changing the aspect ratio by using
levelplot(plotMatrix[,,2],
aspect = 1/0.6,
...)
will do the job as I seem to remember doing something like that when first
looking at your problem. There were unwanted side effects
using grid.arrange is the
,,1],colorkey=F,xlab="",ylab=""),levelplot(plotMatrix[1:3,,2],colorkey=F,xlab="",ylab=""))
just using the defaults. have not got time to explore further
you may have to annotate groups by grid.text with or without trellis.focus
Duncan Mackay
Department of A
k","grey","grey")),
lines = list(lwd = c(2,1,2),
lty = c(1,1,1),
col = c("black","black","grey80")),
space = "bottom"
gpar call for line ending
lwd = 5,
col = 2)
Duncan
Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On
ant to add lines
this may cause trouble for you
dotplot(val ~ lot, tmp,
col.line = "transparent",
ylab = "values", xlab="lot", scales=list(rot=30), aspect=1,
pch=tmp$sybm, col=tmp$color)
Regards
Duncan
Duncan Mackay
Department of Agronomy an
Duncan
-Original Message-
From: John Kane [mailto:jrkrid...@inbox.com]
Sent: Thursday, 7 May 2015 01:34
To: Duncan Mackay; R
Subject: Re: [R] lm model exported from R to excel
And for those of us who know close to nothing about HTML I found just now
that under a basic print.xtable commmand
-Original Message-
From: Livia Maria Vestergaard [mailto:lves...@student.sdu.dk]
Sent: Wednesday, 6 May 2015 22:37
To: Duncan Mackay; R
Subject: SV: [R] lm model exported from R to excel
Hi Duncan
Thank you so much - it worked :)
Best
Livia
Fra
1 - 100 of 397 matches
Mail list logo