powered by
is.gosummaries(x) "print"(x, ...) "["(x, i, ...) add_to_slot.gosummaries(x, slot, values)
add_to_slot.gosummaries allows to add values to specific slots in the gosummaries object
add_to_slot.gosummaries
data(gs_kmeans) # Add new title to the components gs_kmeans_new = add_to_slot.gosummaries(gs_kmeans, "Title", as.list(paste("K-means cluster", 1:length(gs_kmeans)))) print(gs_kmeans_new)
Run the code above in your browser using DataLab