how to write the output of a loop in R
1
0
Entering edit mode
6.9 years ago
mms140130 ▴ 60

No need for the question I have solved it by myself. There was no answer thank you

R • 1.4k views
ADD COMMENT
0
Entering edit mode

Could you please post few lines from your input data?

ADD REPLY
0
Entering edit mode

Deleted for no answer :)

ADD REPLY
0
Entering edit mode

You could have posted your own answer, it might have helped someone in the future.

ADD REPLY
0
Entering edit mode
6.9 years ago
alpha_Qncx2K ▴ 10

This should give the output you are looking for:

Had to create some random data.frames, and assume some definitions of pca, otherwise lm was giving NAs.

Original problem: https://github.com/alphaCTzo7G/biostars/blob/master/biostars_backup.r

Potential solution: https://github.com/alphaCTzo7G/biostars/blob/master/biostars_clean.r

ADD COMMENT
0
Entering edit mode

This is my question but I have deleted it how come you know the question?

ADD REPLY

Login before adding your answer.

Traffic: 2716 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6