Displaying 2 results from an estimated 2 matches for "yr_frac".
Did you mean:
rfrac
2011 Jan 21
2
Unexpected Gap in simple line plot
...gap even though there is data for the missing point.
Here is a snippet to show the problem.
## Strange plot results
link <- "http://processtrends.com/files/RClimate_CTS_latest.csv"
cts <- read.csv(link, header=T)
## Simple line plot - gap for no reason
plot(cts$yr_frac, cts$GISS, type="l", xlim=c(1982, 1983),xaxs="i",
yaxs="i")
## May, 1982 observation missing
## Add points to plot in red, to see if May shows up
points(cts$yr_frac, cts$GISS, type="p", col="red")
## yes, May shows up in points
## Look...
2012 Dec 13
2
More efficient use of reshape?
Hi all,
I have played a bit with the "reshape" package and function along with
"melt" and "cast", but I feel I still don't have a good handle on how to
use them efficiently. Below I have included a application of "reshape" that
is rather clunky and I'm hoping someone can offer advice on how to use
reshape (or melt/cast) more efficiently.
#For this