Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you create a pca model in r?



How can you create a pca model in r?..

Answer / Karan Singh Tatwal

In R, you can create a PCA model using the prcomp() function. Here's an example: nn```rndata <- data.frame(x = c(1, 2, 3, 4, 5), y = c(2, 3, 4, 5, 6))npca_model <- prcomp(data)n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

Give examples of “select” and “filter” functions from “dplyr” package.

1 Answers  


What will be the output of log (-5.8) when executed on r console?

1 Answers  


How to create vectors in r?

1 Answers  


What packages are used for data mining in r?

1 Answers  


How would you check the distribution of a categorical variable in r?

1 Answers  


How would you rename the columns of a dataframe?

1 Answers  


Explain what is pdv?

1 Answers  


Explain what is with () and by () function in r is used for?

1 Answers  


What is length function in r?

1 Answers  


Why should you adopt R programming language?

1 Answers  


What is scan() in r?

1 Answers  


What do you understand by a workspace in r programming language?

1 Answers  


Categories