Pretty simple: I'm trying to create a sequence of crosstabs. I thought all I needed was a for-loop and xtabs, but that hasn't worked out. Say I have ...
Pretty simple: I'm trying to create a sequence of crosstabs. I thought all I needed was a for-loop and xtabs, but that hasn't worked out. Say I have ...
I have data as follows: I get the following error: How should I make sure that mean_val_by_var is read as the variable name mean_val_by_cat? ...
I'm having issues with loading my data. If anyone can take a look, that'd be much appreciated! Code Error code: not sure why this is happening? ...
I have a dataframe in R: I am trying to convert this into table with restaurant and Overall as columns and sex as a row with Freq filled in as value ...
I have a dataframe with 10 columns for different demographic variables, and 38 columns for responses to 38 different questions from survey participant ...
I have data of class xtabs in R that looks like bellow: The function that I am trying to use is Nelson.Siegel from package YieldCurve. The input ...
I want to prepare xtabs for different stations. But it is giving me overall table across stations. I have used the following code This is giving me ...