We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if
It seems like it would be nicer to have if as a row-wise operation.
That is, instead of:
d"generate :x = :SepalWidth + :PetalLength if :PetalLength .> 1.3" d"bysort :Species (:SepalLength) : generate :x = :SepalWidth + :PetalLength if :PetalLength .> 1.3" d"bysort :Species (:SepalLength) : egen :x = mean(:PetalWidth) if :SepalWidth .< 3.4"
have
d"generate :x = :SepalWidth + :PetalLength if :PetalLength > 1.3" d"bysort :Species (:SepalLength) : generate :x = :SepalWidth + :PetalLength if :PetalLength > 1.3" d"bysort :Species (:SepalLength) : egen :x = mean(:PetalWidth) if :SepalWidth < 3.4"
The text was updated successfully, but these errors were encountered:
Agreed.
Sorry, something went wrong.
I think it is possible to override all binary operators with their elementwise counterparts. There must be a macro for that.
No branches or pull requests
It seems like it would be nicer to have
if
as a row-wise operation.That is, instead of:
have
The text was updated successfully, but these errors were encountered: