If I have R data like:
> European204cad.prs.basic$coefficients
age_diabetes_diagnosis Sex SCOREZ
0.05807447 0.27131656 0.33191227
PCA1 PCA2
32.81616512 -21.6415698
How can I access SCOREZ
programmatically?
I tried
> European204cad.prs.basic$coefficients$SCOREZ
Error in European204cad.prs.basic$coefficients$SCOREZ :
$ operator is invalid for atomic vectors
But as you can see, it's wrong
I've tried other potential splits (maybe "element access" is better?), like @
, or [
but none work.
I don't know the correct search terms.
How can I access the value of 0.3319 programmatically?