You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep running into an issue when trying to use stm's plot.estimateEffect function, similar to #16. The plot I am trying to create is the expected topic proportion over time. Here is the code I use:
The error I get is Error: object 'cdata' not found. I have also tried running plot.estimateEffect(russia_prep_10, covariate = 'party_id', topics = 4, method = 'pointestimate'), but the error I get instead is Error in `[.data.frame`(cdata, , names(prep$data)) : undefined columns selected
Here is a description of the variables I'm using:
party_id indicates the party of an American presidential administration
date indicates the day/month/year a president gave a speech
region indicates the geographical location where a president gave a speech (e.g., Europe, North America, East Asia, etc.)
speak_type indicates whether the speech was given by the president or one of their staff
speech_type indicates whether spoken remarks were given in a speech or an interview
Thanks!
The text was updated successfully, but these errors were encountered:
I keep running into an issue when trying to use stm's plot.estimateEffect function, similar to #16. The plot I am trying to create is the expected topic proportion over time. Here is the code I use:
The error I get is
Error: object 'cdata' not found
. I have also tried runningplot.estimateEffect(russia_prep_10, covariate = 'party_id', topics = 4, method = 'pointestimate')
, but the error I get instead isError in `[.data.frame`(cdata, , names(prep$data)) : undefined columns selected
Here is a description of the variables I'm using:
party_id
indicates the party of an American presidential administrationdate
indicates the day/month/year a president gave a speechregion
indicates the geographical location where a president gave a speech (e.g., Europe, North America, East Asia, etc.)speak_type
indicates whether the speech was given by the president or one of their staffspeech_type
indicates whether spoken remarks were given in a speech or an interviewThanks!
The text was updated successfully, but these errors were encountered: