Displaying 1 result from an estimated 1 matches for "bats_1994_ctd".
2011 Oct 20
1
stop R from rounding
...to be 10 digits long. As such:
Decimal.Year
1 1994.25997
2 1994.26020
However, R keeps rounding the digits. As such:
Decimal.Year
1 1994.260
2 1994.260
*Is there any way to stop this from happening?*
Here is how I created the data frame:
x <- read.table('bats_1994_CTD.txt')
colnames(x) <-
c('Cruise','Dec.Year','Lat.N','Long.W','Press','Depth','Temp','Sal','Oxy')
date <- subset(x,select=c(Dec.Year), (Depth<201) & (Depth>199))
datelist <- list(date$Dec.Year)
temp <- s...