In R Script, for instance in usage of;
regression=lm(a~b)
As known, result of linear model regression can be summarized by
summarize(regression)
In this sample regression variable is a vector which have sub variables an it can be retrieve calling regression['subvariable name'] or regression[subvar number].
I couldn't retrieve the p-value of this model. It's shown in summary output but it couldn't extract from vector.
Calling in names() function breaks down subvariables but some of subvariable have nested values. So i couldn't find them one by one.
Is there any way?