I am new to R so please apolozige if I should use wrong terms etc.
Let's say I investigated married couples as subjects, and (amongst other) tested if their amount of consumed alcohol is correlated to each other. For this, I assed amount of alcohol consumed every day for a year, for both wife and husband in diffrent couples. I then assessed the cross-correlations (ccf function in R) for each couple.
I now have a vector containing cross-correlations coefficient (at lag 0) between the wife's amount of consumed alcohol and the husband's amount of consumed alcohol for each of the tested couples:
 0.15  0.03  0.17  -0.33
... and so on (total of 200 subjects).
I now want to test, if these correlations are significantly greater than 0, using a t-test. Does this make sense? If yes, how can I do this in R?