Displaying 2 results from an estimated 2 matches for "myear".
Did you mean:
year
2008 Oct 29
1
Subsetting data in a loop
...trying to divide a data frame into multiple data frames based on the year collected, and stored in a list with each new data frame labeled with "year X" where X is the year the data was collected. When I run my current code I get nine error messages stating
"In one_year[name] <- myear : number of items to replace is not a multiple of replacement length"What I have so far is:
Below is my code, the data frame mydat, and what I would like the final product to look like. I would appreciate any help or suggestions on what I am doing wrong.
Thanks,
Tim
one_year<-list()
f...
2009 Oct 22
1
twoord.plot y lab size
I am using twoord.plot and my Y axis units on the left y overlap. I tried
using cex.axis in my par command but that only adjusted the x units, not the
y. cex.axis in twoord.plot did not help. How do I adjust Y units in the
twoord.plot?
example:
twoord.plot (lx=myear, ly=z, rx=myear, ry=sta,xlim=c(1985,2010),
xlab="Year",ylab="Individuals",
rylab="# Stations")
--
Jacob Kasper
http://twitter.com/Protect_Oceans
66°04' N
23°07' W
Coastal & Marine Management Master's Student
University Centre of the Westfjords
Sundst...