NA in series
Posted: Mon Mar 13, 2017 9:10 am
Hey there,
I have a series that, on purpose, contains a couple of "NA"s.
I need to extract the numerical value from series A if series B assumes the smallest value. This value in turn should be assigned to a scalar. I though of something like this
However, I end up with the found NA in matrix error message. Any ideas how to proceed?
I have a series that, on purpose, contains a couple of "NA"s.
I need to extract the numerical value from series A if series B assumes the smallest value. This value in turn should be assigned to a scalar. I though of something like this
Code: Select all
if B=@minsby(B,identifier) then
scalar=A
endif