Displaying 1 result from an estimated 1 matches for "tullstorp".
Did you mean:
fullstop
2008 Mar 06
1
switch with a single character
...er S or N...
> switch("East",West=1,East=2) # Correct
[1] 2
> switch("E",W=1,E=2) # Not so correct
[1] 1
> switch("E",E=1,W=2) # Even stranger
[1] "E"
> switch("S",N=1,S=-1) # Correct
[1] -1
Kind regards, Henrik
--
Henrik Andersson
Tullstorp 2526
28195 Vankiva
Sweden
Tel: +46 451 19149
Mobil: +46 763 406779