I am trying to run function
growth<- function(x){
cor.test(df3$H1, x, method = "spearman", exact = FALSE)
}
v1<-map_dfr(df3, growth)
where str(df3) shows all to be numerical. When I run this however it says
Error: All columns in a tibble must be vectors.
x ColumnH1is ahtestobject.
x Columnlaz_12is ahtestobject.
x Columnwaz_12is ahtestobject.
x Columnhcz_12is ahtestobject.
x Columnmaz_12is ahtestobject.
x ... and 4 more problems.