Skip to content
Permalink
Browse files

use readOGR rather than readShapeSpatial

  • Loading branch information...
dill committed Mar 16, 2017
1 parent 4065d54 commit b79a1cded47075f43aae67b10452535c6fc8545a
Showing with 5 additions and 5 deletions.
  1. BIN data/dolphins.RData
  2. +5 −5 support/makedata.R
BIN -4.23 KB (97%) data/dolphins.RData
Binary file not shown.
@@ -6,12 +6,12 @@ library(plyr)
options(stringsAsFactors=FALSE)


obs<-read.csv("../data/csv/mexico-observation.csv",header=FALSE)
seg<-read.csv("../data/csv/mexico-segment.csv",header=FALSE)
obs <- read.csv("../data/csv/mexico-observation.csv", header=FALSE)
seg <- read.csv("../data/csv/mexico-segment.csv", header=FALSE)
#tran<-read.csv("../data/csv/mexico-transect.csv",header=FALSE)
pred <- readShapeSpatial("../data/DProject/Dolphins.dat/Predict")
pred.d <- read.table("../data/csv/mexico-pred.txt",skip=5)
survey.area <- readShapeSpatial("../data/DProject/Dolphins.dat/Study_Ar")
pred <- readOGR(dsn="../data/DProject/Dolphins.dat/Predict.shp")
pred.d <- read.table("../data/csv/mexico-pred.txt", skip=5)
survey.area <- readOGR(dsn="../data/DProject/Dolphins.dat/Study_Ar.shp")

# proj 4 string
# using http://spatialreference.org/ref/esri/north-america-lambert-conformal-conic/

0 comments on commit b79a1cd

Please sign in to comment.
You can’t perform that action at this time.