# NOT RUN {
# preparing a new dataframe
df <- cbind.data.frame(
x = 1:5,
y = 1,
p.value = c(0.1, 0.5, 0.00001, 0.05, 0.01)
)
# dataframe with significance column
signif_column(data = df, p = p.value)
# }
Run the code above in your browser using DataCamp Workspace