Displaying 3 results from an estimated 3 matches for "codeboats".
2014 Jul 09
3
error com un archivo
...Bx$Time<-paste(DBx$Time, ":00",
sep="")} #NOT necessary for Monicap and Univerest_50
DBx$Time<-times(DBx$Time) #Works for Monicap AND UNIVEREST_50 ONLY
DBx$Boat<-gsub("^\\s+|\\s+$", "", DBx$Boat)
#Read file with boat codes and gears
codeBoats<- read.csv("CODES_2002-2010New.csv",
sep=",",header=TRUE) #Laptop
codeBoats$CODIGO<-gsub("^\\s+|\\s+$", "", codeBoats$CODIGO)
#Assigning a Fishing license based on Boat and Year
DBx$gear<-codeBoats$Lic[match(paste(DBx$Boat,DBx$Year),...
2014 Jun 04
2
error de incompatible methods
...Date")
#Formatting date and time variables
DBx$Date<-strptime(DBx$Date, "%d-%m-%Y") ###Monicap use ;
other use Y
DBx$Year<-as.POSIXlt(DBx$Date)$year+1900
DBx$Boat<-gsub("^\\s+|\\s+$", "", DBx$Boat)
#Read file with boat codes and gears
codeBoats<- read.csv("CODES_2002-2010New.csv",
sep=",",header=TRUE) #Laptop
codeBoats$CODIGO<-gsub("^\\s+|\\s+$", "", codeBoats$CODIGO)
#Assigning a Fishing license based on Boat and Year
DBx$gear<-codeBoats$Lic[match(paste(DBx$Boat,DBx$Year),...
2014 Jun 03
3
error de incompatible methods
Hola!!
Estoy intentando ejecutar un script com horas, al principio ejecute estos
comandos
DBx$Date<-strptime(DBx$Date, "%d-%m-%Y") ###Monicap use ; other
use Y
DBx$Year<-as.POSIXlt(DBx$Date)$year+1900
if(filename!="monicap_50.csv") {DBx$Time<-paste(DBx$Time, ":00", sep="")}
Pero me daba el error de que mi base de datos tenia las