Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

2 results for “from:Denis Kazakevich”

Equivalent to Stata egen tag
Denis Kazakevich · Jan 16, 2011 · r-help

What are the R equivalents to the Stata command egen tag and egen count? egen station_week_tag = tag(station week) Thank you

Equivalent to Stata egen tag
Denis Kazakevich · Jan 23, 2011 · r-help

Dear David Thank you for your e-mail I believe that equivalent to Stata egen tag is simply df$tag <- df[!duplicated(df[c("station","week")]),] I am not sure about egen count It might be something like aggregate(station...

Can't find what you're looking for? Try searching with Google .