[R] scan problems -- what can "what" be?
Christopher Fonnesbeck
chris at fisher.forestry.uga.edu
Sun Dec 8 23:28:03 CET 2002
Hello,
I am trying to import a list of "structure" objects into R (data for BUGS,
actually), but am having little success. In the help file for scan there
dies not seem to be a list of valid values for the "what" keyword. Can
anyone provide me with one? I have pasted in a sample input file that I am
trying to import below this message. I have tried
what=list(structure,structure,structure) and variations thereof.
Also, is there an easy way of searching the mailing list archives, so that
I dont have to bother the list with silly questions like this one?
Thanks,
cjf
list(
move_n = structure(.Data=c(0.984,0.016, 0.000,
0.081, 0.904, 0.015,
0.000, 0.026, 0.974,
0.974, 0.026, 0.000,
0.052, 0.930, 0.018,
0.000, 0.014, 0.986), .Dim=c(3,3,2)),
move_s = structure(.Data=c(0.506, 0.214, 0.280,
0.048, 0.689, 0.263,
0.002, 0.914, 0.084,
0.451, 0.262, 0.287,
0.062, 0.686, 0.252,
0.002, 0.890, 0.108), .Dim=c(3,3,2)),
fidel = structure(.Data=c(0.890, 0.055, 0.055,
0.065, 0.870, 0.065,
0.060, 0.060, 0.880,
0.88, 0.06, 0.06,
0.07, 0.86, 0.07,
0.075, 0.075, 0.85),.Dim=c(3,3,2))
)
--
Christopher J. Fonnesbeck GA Coop. Fish & Wildlife Research Unit
chris at fisher.forestry.uga.edu University of Georgia
More information about the R-help
mailing list