Hi
You are quite close. With slight modification of your code:
par(mfrow = c(2, 1))
par(cex = 0.6)
par(mar = c(0, 0, 0, 0), oma = c(4, 4, 0.5, 0.5))
par(tcl = -0.25)
par(mgp = c(2, 0.6, 0))
plot(BUD~YEAR, type="o", ann=F, axes=F, pch=19, ylim=c(60,100),data=g1)
axis(4, las=2)
mtext("Bud Break (J
Hi, Bert:
Yes, I studied the functions you suggested, but I didn't get to adapt it to
my example whose reproducible code I sent in my first email.
Here it is the code of the functions I studies:
## par
par(mfrow = c(2, 3))
par(cex = 0.6)
par(mar = c(3, 3, 0, 0), oma = c(1, 1, 1, 1))
for (i in 1:6
1. Did you study the functions (esp. ?layout) to which I referred you?
2. Show us your code! -- "to no avail" is meaningless!
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom Co
I'm trying to recreate a graph similar to the last one found on this link:
https://sites.ualberta.ca/~lkgray/uploads/7/3/6/2/7362679/6c_-_line_plots_with_error_bars.pdf
The difference is that I want budbreak on the top, and the temperatures at
the bottom.
I tried to set par before each graph and
See
?layout
?split.screen
?par (the mfrow and mfcol values)
depending exactly on what you want to do and how you want to do it.
Essentially, these all allow you to make separate plots at different
regions of the device.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is tha
Dear friends,
I have the following dataframe:
YEAR <- c(1996 , 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 )
T_MAR <- c(2.8, 6.5, 5.4,2.4, 4, 4.1, 3, 4.4, 4.5)
T_APR <- c(5.7, 7.8, 7.7, 4.6, 4.7, 6.2,5.7, 5.9, 7)
T_MAY <- c(7, 8.8, 10, 6, 5.5, 7.6, 8.5, 7.3, 10.2)
BUD <- c(87, 98, 93, 85, 89,
1. A mess, because you failed to read and follow the posting guide:
This is a **plain text** mailing list, which means that html can get
mangled, as you have demonstrated.
2. And wrong list: the r-sig-mixed-models list is where this would be
more suitable.
Cheers,
Bert
Bert Gunter
"The trouble
The R list does not recognize .csv files so your attachment got stripped. It is
picky that way. Tacking .txt to the end might trick it into preserving the
attachment.
Dataset <- read.table()
created a data.frame called Dataset so the second command was redundant.
Probably better would be read.
Hello,
Another way of getting dates, of class 'Date', is to paste a day "01"
into what the op has.
To the op:
1) Your attachment didn't come through, R-Help doesn't accept the
extension .csv, use .txt
2) When you read your data in using function read.csv the result already
is a data.frame so
A couple thoughts:
1. converting factors into dates often requires that they be converted to
character first.
2. you don't really have dates; you have just months and years
3. therefore perhaps the as.yearmon() function in the zoo package could help
library(zoo)
my.factor <- factor("Feb 2017")
Hi Mogjib,
Does the following solve your issue?
> setwd(WD)
On Sat, Jun 17, 2017 at 7:26 AM, Mogjib Salek wrote:
> Hi all,
>
> I am learning R by "doing". And this is my first post.
>
> I want to use R: 1- to fetch a DNA sequence from a databank (see bellow)
> and 2- store it as FASTA file.
Hi,I have tumor growth curve data for a bunch of different mice in various
groups. I want to compare the growth curves of the different groups to see if
timing of drug delivery changed tumor growth.I am trying to run a mixed models
with repeated measures over time with each mouse as a random eff
Dear all,
I am using the "rq.fit.hogg" function from the "quantreg" package. I have
two problems with it.
First (less importantly), it gives an error at its default values with
error message "Error in if (n2 != length(r)) stop("R and r of incompatible
dimension") : argument is of length zero". I
Dear all,
Hope you are doing great. I have a .csv file that I read into R, the .csv
file consistss of two fields (TransitDate and CargoTons).
The TransitDate I formatted from Excel in the fashion mmm-yy (e.g.:
Apr-2013). However R does not recognize the field TransitDate as a date
field.
Here is
14 matches
Mail list logo