SlideShare a Scribd company logo
1 of 1
Download to read offline
2. Splitting and combining strings a. Split the "veggies* string into three strings, the first and
second and third favorites. Save the resulting as * *eggies.list*, and display it. Verify using R
conmands that vegies.list is in fact a list. Show how you access your second favorite veggie in
this list. { r } b. Now use a single R command to split the "VeggiesandFruits" vector into a list of
two elements, with each entry containing three strings. Show how you access your second
favorite fruit in this list.

More Related Content

More from Tim7rdMartinm

2- Use integration by distribution (no points will be given for other.pdf
2- Use integration by distribution (no points will be given for other.pdf2- Use integration by distribution (no points will be given for other.pdf
2- Use integration by distribution (no points will be given for other.pdfTim7rdMartinm
 
2- There are two variants of an X-linked gene in a population- neither.pdf
2- There are two variants of an X-linked gene in a population- neither.pdf2- There are two variants of an X-linked gene in a population- neither.pdf
2- There are two variants of an X-linked gene in a population- neither.pdfTim7rdMartinm
 
2- T or F The purpose of test validation is to demonstrate that a proc.pdf
2- T or F The purpose of test validation is to demonstrate that a proc.pdf2- T or F The purpose of test validation is to demonstrate that a proc.pdf
2- T or F The purpose of test validation is to demonstrate that a proc.pdfTim7rdMartinm
 
2- Problem 5-03 (Finding the Required Interest Rate) Your parents will.pdf
2- Problem 5-03 (Finding the Required Interest Rate) Your parents will.pdf2- Problem 5-03 (Finding the Required Interest Rate) Your parents will.pdf
2- Problem 5-03 (Finding the Required Interest Rate) Your parents will.pdfTim7rdMartinm
 
2- Let X denote the lifetime of a light bulb- Assume that X has a expo.pdf
2- Let X denote the lifetime of a light bulb- Assume that X has a expo.pdf2- Let X denote the lifetime of a light bulb- Assume that X has a expo.pdf
2- Let X denote the lifetime of a light bulb- Assume that X has a expo.pdfTim7rdMartinm
 
2- Simplify the Boolean function in r-SOP and list all the prime impli.pdf
2- Simplify the Boolean function in r-SOP and list all the prime impli.pdf2- Simplify the Boolean function in r-SOP and list all the prime impli.pdf
2- Simplify the Boolean function in r-SOP and list all the prime impli.pdfTim7rdMartinm
 
2- Max and Ruby are partners in a business sharing profit and loss in.pdf
2- Max and Ruby are partners in a business sharing profit and loss in.pdf2- Max and Ruby are partners in a business sharing profit and loss in.pdf
2- Max and Ruby are partners in a business sharing profit and loss in.pdfTim7rdMartinm
 
12-B Reflective Short-Answer Exercises You are assisting residents in.pdf
12-B Reflective Short-Answer Exercises You are assisting residents in.pdf12-B Reflective Short-Answer Exercises You are assisting residents in.pdf
12-B Reflective Short-Answer Exercises You are assisting residents in.pdfTim7rdMartinm
 
13- A pure oulture A- is sherino- B- is a population of identicat celt.pdf
13- A pure oulture A- is sherino- B- is a population of identicat celt.pdf13- A pure oulture A- is sherino- B- is a population of identicat celt.pdf
13- A pure oulture A- is sherino- B- is a population of identicat celt.pdfTim7rdMartinm
 
13- (10 pts-) Explain and give examples of the four broad classificati.pdf
13- (10 pts-) Explain and give examples of the four broad classificati.pdf13- (10 pts-) Explain and give examples of the four broad classificati.pdf
13- (10 pts-) Explain and give examples of the four broad classificati.pdfTim7rdMartinm
 
13- A coin is tossed 4 times- Find the probability that the 5 th toss.pdf
13- A coin is tossed 4 times- Find the probability that the 5 th toss.pdf13- A coin is tossed 4 times- Find the probability that the 5 th toss.pdf
13- A coin is tossed 4 times- Find the probability that the 5 th toss.pdfTim7rdMartinm
 
12- Two events A and B are if the fact that A occurs does not affect t.pdf
12- Two events A and B are if the fact that A occurs does not affect t.pdf12- Two events A and B are if the fact that A occurs does not affect t.pdf
12- Two events A and B are if the fact that A occurs does not affect t.pdfTim7rdMartinm
 
12- Increase in the aggregate demand and long-run aggregate supply cur.pdf
12- Increase in the aggregate demand and long-run aggregate supply cur.pdf12- Increase in the aggregate demand and long-run aggregate supply cur.pdf
12- Increase in the aggregate demand and long-run aggregate supply cur.pdfTim7rdMartinm
 
111111111111 - IIIIIIIIIIII 11111111111 1-113-1The following balances.pdf
111111111111 - IIIIIIIIIIII 11111111111 1-113-1The following balances.pdf111111111111 - IIIIIIIIIIII 11111111111 1-113-1The following balances.pdf
111111111111 - IIIIIIIIIIII 11111111111 1-113-1The following balances.pdfTim7rdMartinm
 
12- A hungry yeast cell lands in a vat of grape juice and begins to fe.pdf
12- A hungry yeast cell lands in a vat of grape juice and begins to fe.pdf12- A hungry yeast cell lands in a vat of grape juice and begins to fe.pdf
12- A hungry yeast cell lands in a vat of grape juice and begins to fe.pdfTim7rdMartinm
 
12- 10 797 11 6 8 11 10 10 8(11 12 The gos contidence inderval is 0lou.pdf
12- 10 797 11 6 8 11 10 10 8(11 12 The gos contidence inderval is 0lou.pdf12- 10 797 11 6 8 11 10 10 8(11 12 The gos contidence inderval is 0lou.pdf
12- 10 797 11 6 8 11 10 10 8(11 12 The gos contidence inderval is 0lou.pdfTim7rdMartinm
 
11- Which stage of the Four Stages for Learning Any New Skill is based.pdf
11- Which stage of the Four Stages for Learning Any New Skill is based.pdf11- Which stage of the Four Stages for Learning Any New Skill is based.pdf
11- Which stage of the Four Stages for Learning Any New Skill is based.pdfTim7rdMartinm
 
11- Listed below are the members of the palliative care team- What are.pdf
11- Listed below are the members of the palliative care team- What are.pdf11- Listed below are the members of the palliative care team- What are.pdf
11- Listed below are the members of the palliative care team- What are.pdfTim7rdMartinm
 
109 11 4 15 5 2 10 - Choose- superior colliculus genu of the corpus ca.pdf
109 11 4 15 5 2 10 - Choose- superior colliculus genu of the corpus ca.pdf109 11 4 15 5 2 10 - Choose- superior colliculus genu of the corpus ca.pdf
109 11 4 15 5 2 10 - Choose- superior colliculus genu of the corpus ca.pdfTim7rdMartinm
 

More from Tim7rdMartinm (20)

2- Use integration by distribution (no points will be given for other.pdf
2- Use integration by distribution (no points will be given for other.pdf2- Use integration by distribution (no points will be given for other.pdf
2- Use integration by distribution (no points will be given for other.pdf
 
2- There are two variants of an X-linked gene in a population- neither.pdf
2- There are two variants of an X-linked gene in a population- neither.pdf2- There are two variants of an X-linked gene in a population- neither.pdf
2- There are two variants of an X-linked gene in a population- neither.pdf
 
2- T or F The purpose of test validation is to demonstrate that a proc.pdf
2- T or F The purpose of test validation is to demonstrate that a proc.pdf2- T or F The purpose of test validation is to demonstrate that a proc.pdf
2- T or F The purpose of test validation is to demonstrate that a proc.pdf
 
2- Problem 5-03 (Finding the Required Interest Rate) Your parents will.pdf
2- Problem 5-03 (Finding the Required Interest Rate) Your parents will.pdf2- Problem 5-03 (Finding the Required Interest Rate) Your parents will.pdf
2- Problem 5-03 (Finding the Required Interest Rate) Your parents will.pdf
 
2- Let X denote the lifetime of a light bulb- Assume that X has a expo.pdf
2- Let X denote the lifetime of a light bulb- Assume that X has a expo.pdf2- Let X denote the lifetime of a light bulb- Assume that X has a expo.pdf
2- Let X denote the lifetime of a light bulb- Assume that X has a expo.pdf
 
2- Simplify the Boolean function in r-SOP and list all the prime impli.pdf
2- Simplify the Boolean function in r-SOP and list all the prime impli.pdf2- Simplify the Boolean function in r-SOP and list all the prime impli.pdf
2- Simplify the Boolean function in r-SOP and list all the prime impli.pdf
 
2- Max and Ruby are partners in a business sharing profit and loss in.pdf
2- Max and Ruby are partners in a business sharing profit and loss in.pdf2- Max and Ruby are partners in a business sharing profit and loss in.pdf
2- Max and Ruby are partners in a business sharing profit and loss in.pdf
 
12-B Reflective Short-Answer Exercises You are assisting residents in.pdf
12-B Reflective Short-Answer Exercises You are assisting residents in.pdf12-B Reflective Short-Answer Exercises You are assisting residents in.pdf
12-B Reflective Short-Answer Exercises You are assisting residents in.pdf
 
13- A pure oulture A- is sherino- B- is a population of identicat celt.pdf
13- A pure oulture A- is sherino- B- is a population of identicat celt.pdf13- A pure oulture A- is sherino- B- is a population of identicat celt.pdf
13- A pure oulture A- is sherino- B- is a population of identicat celt.pdf
 
13- (10 pts-) Explain and give examples of the four broad classificati.pdf
13- (10 pts-) Explain and give examples of the four broad classificati.pdf13- (10 pts-) Explain and give examples of the four broad classificati.pdf
13- (10 pts-) Explain and give examples of the four broad classificati.pdf
 
13- A coin is tossed 4 times- Find the probability that the 5 th toss.pdf
13- A coin is tossed 4 times- Find the probability that the 5 th toss.pdf13- A coin is tossed 4 times- Find the probability that the 5 th toss.pdf
13- A coin is tossed 4 times- Find the probability that the 5 th toss.pdf
 
12- Two events A and B are if the fact that A occurs does not affect t.pdf
12- Two events A and B are if the fact that A occurs does not affect t.pdf12- Two events A and B are if the fact that A occurs does not affect t.pdf
12- Two events A and B are if the fact that A occurs does not affect t.pdf
 
12- Increase in the aggregate demand and long-run aggregate supply cur.pdf
12- Increase in the aggregate demand and long-run aggregate supply cur.pdf12- Increase in the aggregate demand and long-run aggregate supply cur.pdf
12- Increase in the aggregate demand and long-run aggregate supply cur.pdf
 
111111111111 - IIIIIIIIIIII 11111111111 1-113-1The following balances.pdf
111111111111 - IIIIIIIIIIII 11111111111 1-113-1The following balances.pdf111111111111 - IIIIIIIIIIII 11111111111 1-113-1The following balances.pdf
111111111111 - IIIIIIIIIIII 11111111111 1-113-1The following balances.pdf
 
12- A hungry yeast cell lands in a vat of grape juice and begins to fe.pdf
12- A hungry yeast cell lands in a vat of grape juice and begins to fe.pdf12- A hungry yeast cell lands in a vat of grape juice and begins to fe.pdf
12- A hungry yeast cell lands in a vat of grape juice and begins to fe.pdf
 
12- 10 797 11 6 8 11 10 10 8(11 12 The gos contidence inderval is 0lou.pdf
12- 10 797 11 6 8 11 10 10 8(11 12 The gos contidence inderval is 0lou.pdf12- 10 797 11 6 8 11 10 10 8(11 12 The gos contidence inderval is 0lou.pdf
12- 10 797 11 6 8 11 10 10 8(11 12 The gos contidence inderval is 0lou.pdf
 
11.pdf
11.pdf11.pdf
11.pdf
 
11- Which stage of the Four Stages for Learning Any New Skill is based.pdf
11- Which stage of the Four Stages for Learning Any New Skill is based.pdf11- Which stage of the Four Stages for Learning Any New Skill is based.pdf
11- Which stage of the Four Stages for Learning Any New Skill is based.pdf
 
11- Listed below are the members of the palliative care team- What are.pdf
11- Listed below are the members of the palliative care team- What are.pdf11- Listed below are the members of the palliative care team- What are.pdf
11- Listed below are the members of the palliative care team- What are.pdf
 
109 11 4 15 5 2 10 - Choose- superior colliculus genu of the corpus ca.pdf
109 11 4 15 5 2 10 - Choose- superior colliculus genu of the corpus ca.pdf109 11 4 15 5 2 10 - Choose- superior colliculus genu of the corpus ca.pdf
109 11 4 15 5 2 10 - Choose- superior colliculus genu of the corpus ca.pdf
 

Recently uploaded

Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Recently uploaded (20)

Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

2- Splitting and combining strings a- Split the -veggies- string into.pdf

  • 1. 2. Splitting and combining strings a. Split the "veggies* string into three strings, the first and second and third favorites. Save the resulting as * *eggies.list*, and display it. Verify using R conmands that vegies.list is in fact a list. Show how you access your second favorite veggie in this list. { r } b. Now use a single R command to split the "VeggiesandFruits" vector into a list of two elements, with each entry containing three strings. Show how you access your second favorite fruit in this list.