Displaying 1 result from an estimated 1 matches for "janfilter".
Did you mean:
avfilter
2008 Sep 04
1
Plotting using 'if' statements
...anuary':
> plot(January[3(>0):4])
Error: unexpected '>' in "plot(January[3(>"
After a few variations on this, I thought I'd try making a new object which includes all values from the third column of January>0 (to plot in a separate step) as follows:
> JanFilter <- January[3]>0
No error here. However, when I display the 'values' of JanFilter, it shows that instead of keeping the numerical values, the above operation simply displays the results of the logical test:
> head(JanFilter)
Value
[1,]...