Description Usage Arguments Details Value Methods (by class) Examples
View source: R/time_spline_data.R
Deprecated. Performing this analysis should be done by calling analyze_time_bins(test="boot_splines")
.
1 2 3 4 | analyze_boot_splines(data)
## S3 method for class 'boot_splines_data'
analyze_boot_splines(data)
|
data |
The output of the |
Estimates a confidence interval over the difference between means (within- or between-subjects)
from boot_splines_data
. Confidence intervals are derived from the alpha argument in
boot_splines_data
(e.g., alpha = .05, CI=(.025,.975); alpha=.01, CI=(.005,.0995))
A dataframe indicating means and CIs for each time-bin
boot_splines_data
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | data(word_recognition)
data <- make_eyetrackingr_data(word_recognition,
participant_column = "ParticipantName",
trial_column = "Trial",
time_column = "TimeFromTrialOnset",
trackloss_column = "TrackLoss",
aoi_columns = c('Animate','Inanimate'),
treat_non_aoi_looks_as_missing = TRUE )
response_window <- subset_by_window(data, window_start_time = 15500, window_end_time = 21000,
rezero = FALSE)
response_time <- make_time_sequence_data(response_window, time_bin_size = 500, aois = "Animate",
predictor_columns = "Sex",
summarize_by = "ParticipantName")
# bootstrap resample 500 smoothed splines from the dataset,
# comparing females versus females at an alpha of .05
df_bootstrapped <- make_boot_splines_data(response_time,
predictor_column = 'Sex',
within_subj = FALSE,
bs_samples = 500,
alpha = .05,
smoother = "smooth.spline")
# analyze the divergences that occurred
boot_splines_analysis <- analyze_boot_splines(df_bootstrapped)
summary(boot_splines_analysis)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.