1 Answer

0 votes
by

Subset() is used to select the variables and observations and sample() function is used to  generate  a random sample of the size n from a dataset.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Feb 25, 2020 in R Language by rahuljain1
+2 votes
asked Jul 28, 2019 in R Language by Aarav2017
0 votes
asked Feb 26, 2020 in R Language by rahuljain1
0 votes
asked Feb 25, 2020 in R Language by rahuljain1
0 votes
asked Feb 25, 2020 in R Language by rahuljain1
...