search for: benjaminneal

Displaying 2 results from an estimated 2 matches for "benjaminneal".

2012 Apr 21
3
Splitting a dataframe by character vector
...thank you for any responses. I apologize for asking such a simple question, but I wrote this out exactly as found it in an exactly similar question, which indicated this should work. Now I am confused! Thank you for any assistance. Ben Neal # Load data from CSV file Cover = read.csv ("/Users/benjaminneal/Documents/1110_Panama/Transect series /1210_BocasTransectSummary.csv", header=T) # Divide dataframe by Site names Site1 <- subset(Cover, Site = "PtaCaracol") PS The csv loads fine, gives normal summary stats, and does not seem to be the issue. I thought...
2012 May 03
1
Simple plot loop
...ter Plot(MONTH, Data2[2] . . . it also does not plot. Should this not call the second column? Thank you very much for any comments. I know this is simple, but I appreciate any assistance. Cheers, Ben ######################################### # LOAD DATA FROM CSV library(zoo) setwd("/Users/benjaminneal/Documents/All Panama/1110_Panama/CNAT_Segmenting") Data = read.csv("120503_CNAT_Summary.csv", header=T) #fill in missing data from last observation Data2 <- na.locf(Data) attach(Data2) # PLOT ALL ON ONE CHART plot(MONTH,T102, type="o", ann="False", ylim=c(1,...