Hi I have a problem with
# Place Factor Value
#1 place1 fac1 10
#2 place1 fac2 20
#3 place1 fac3 30
#4 place1 fac5 50
#5 place2 fac1 40
#6 place2 fac2 50
#7 place2 fac3 60
#8 place2 fac4 60
I want to make this data to
# Factor place1 place2
#1 fac1 10 40
#2 fac2 20 50
#3 fac3 30 60
#4 fac4 0 60
#5 fac5 50 0
I tried to use
read.zoo(data,index='Factor',split='Place)
but it doesn't work.
with this error message
Error in read.zoo(c, index = "SIGUN", split = "MCLASSNAME") : index has 2420 bad entries at data rows: 1 2 3 4 ...