[R] Categorize subjects using PCA

2017-01-26 Thread Dr.Vinay Pitchika
Hello everyone, I have been analyzing dietary pattern data obtained via FFQ. We performed Principal Component Analysis and decided to extract 3 dimensions (healthy, unhealthy and mixed diet) and to adjust this in linear regression model along with various other variables. However, our

[R] How to stop Kaplan-Meier curve at a time point

2013-11-20 Thread Dr.Vinay Pitchika
Hello R users I have a question with Kaplan-Meier Curve with respect to my research. We have done a retrospective study on fillings in the tooth and their survival in relation to the many influencing factors. We had a long follow-up time (upto 8yrs for some variables). However, we decided to stop