Displaying 2 results from an estimated 2 matches for "ec25".
Did you mean:
ec2
2010 Dec 09
0
nnet for regression, mixed factors/numeric in data.frame
...than a question, but I
thought I'd post it since it cost some time to dig down to the issue and
maybe someone else could run into this.
I'm using the nnet function for a regression task. I'm inputting the
following data frame:
> 'data.frame': 4970 obs. of 11 variables:
$ EC25 : num 67.5 67.6 68 69 69.5 ...
$ YIELD07 : num 5.43 5.68 5.88 5.81 6.47 5.96 5.71 5.92 5.92 6.47
$ N3 : num 63 63 55 58 59 57 59 55 54 54 ...
$ N2 : num 45 44 41 42 44 43 46 47 46 43 ...
$ N1 : num 68 68 69 69 69 69 69 69 69 68 ...
$ REIP32 : num 725 725 725 725 725 ....
2011 Aug 26
1
Time Series data with data every half hour
...ving trouble with setting the frequency.
My R script is below:
> shavers=read.csv("shavers.csv")
> names(shavers)
[1] "agency_cd" "site_no" "datetime" "tz_cd" "Temp"
[6] "X04_00010_cd" "EC25" "X05_00095_cd" "DO"
"X06_00300_cd"
[11] "pH" "X07_00400_cd"
> as.POSIXct(shavers[1,3])
[1] "2011-04-27 EDT"
> as.POSIXct(shavers[nrow(shavers),3])
[1] "2011-08-25 23:00:00 EDT"
> temp=ts(sha...