I'm trying to analyze a observation pollination network in excel or csv file using frame2webs, but the code always gives an error not reading 'x' column...
I’m not sure what you mean by frame2 webs, but this is the way I analyse two-mode pollination networks using bipartite. I hope I’m not stating the obvious! Errors can occur if the matrix in the excel or text file is not set up correctly. In excel, set the matrix up so that plants are listed in rows and flower visitors are listed in columns. No extra spaces are permitted after or before species names. Species names should be as: Iris.atropupurea, so separate with a full stop. The left hand top cell in the workbook next to the first species name of flower visitor and the first plant species should remain blank. No empty columns or additional worksheets are permitted when saving the file. Convert to a text file (tab delimited csv) and then call up bipartite in R.
Thank u Stella! I followed your directions and the problem isn't with the matrix. The frame2webs is a function from bipartite package to convert excel table of observations into 2 mode matrix.
Thank u. You're correct the problem is with the code. I don't know how to write frame2webs properly...appears an error in data.frame. I'm more or less a beginner in R, so there's too much coding I don't know how to apply, even by following the examples in help.
so did you get a result? The key aspect is that frame2webs makes either an array or a list that also has sub groups. So you need to specify them. ie f2w