Re: [R] Plot link points

2009-01-10 Thread Roy Mendelssohn
Look at: http://geography.uoregon.edu/geogr/topics/maps.htm -Roy On Jan 10, 2009, at 1:48 AM, Jim Lemon wrote: Kitty Lee wrote: Hi. This may be a straight-forward question... I have a time series from 1950 to 2000 (by year) with missing values. Sometimes only a year has value and the adjace

Re: [R] Plot link points

2009-01-10 Thread gledson picharski
try to use xyplot of latice package. If you have a data.frame called data, whit coluns called year and x, you could do something like: require(lattice) xyplot(x~year,data, type = "a", auto.key = list(space = "right", points = FALSE, lines = TRUE)) __

Re: [R] Plot link points

2009-01-10 Thread Jim Lemon
Kitty Lee wrote: Hi. This may be a straight-forward question... I have a time series from 1950 to 2000 (by year) with missing values. Sometimes only a year has value and the adjacent years have missing data, e.g. 1950 2.7 1951 1952 1953 3.4 1954 1955 1956 2.9 1957 3.6 1958 2.7 When I use

[R] Plot link points

2009-01-10 Thread Kitty Lee
Hi. This may be a straight-forward question... I have a time series from 1950 to 2000 (by year) with missing values. Sometimes only a year has value and the adjacent years have missing data, e.g. 1950 2.7 1951 1952 1953 3.4 1954 1955 1956 2.9 1957 3.6 1958 2.7 When I use plot (type='l'), the