Displaying 1 result from an estimated 1 matches for "parasiteb".
Did you mean:
parasite
2010 Aug 20
3
if-else function
...han
4 for any parasite the function should return a 1 else a 0. Later I
can loop the function over all plots.
Here I have a little subset of my data:
VariablePAR Plot1 Plot2
Plot3 Plot4
ParasiteA 3 1 1 4
ParasiteB 1 2 3 5
ParasiteC 2 1 1 3
ParasiteD 2 1 1 4
ParasiteE 4 1 1 1
The function should give a 1 for plots 1 and 4 and a 0 for p...