The following file names were used in a camera trap study. The S number represents the site, P is the plot within a site, C is the camera number within the plot, the first string of numbers is the YearMonthDay and the second string of numbers is the HourMinuteSecond.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 1DE: Each of the following files in the Chapter.06 folder of your downloadable student files has syntax...
icon
Related questions
Question

** R CODE**.

The following file names were used in a camera trap study. The S number represents the site, P is
the plot within a site, C is the camera number within the plot, the first string of numbers is the
YearMonthDay and the second string of numbers is the HourMinuteSecond.
file.names
c( 'S123.P2.C10_20120621_213422.jpg',
くー
'S10. P1.C1_20120622_050148.jpg',
'S187. P2.C2_20120702_023501.jpg')
Produce a data frame with columns corresponding to the site , plot , camera
year ,
month , day , hour , minute , and second for these three file names. So we want to produce
code that will create the data frame:
Site Plot Camera Year Month Day Hour Minute Second
S123
P2
C10 2012
06
21
21
34
22
S10
P1
C1 2012
06
22
05
01
48
S187
P2
C2 2012
07
02
02
35
01
Transcribed Image Text:The following file names were used in a camera trap study. The S number represents the site, P is the plot within a site, C is the camera number within the plot, the first string of numbers is the YearMonthDay and the second string of numbers is the HourMinuteSecond. file.names c( 'S123.P2.C10_20120621_213422.jpg', くー 'S10. P1.C1_20120622_050148.jpg', 'S187. P2.C2_20120702_023501.jpg') Produce a data frame with columns corresponding to the site , plot , camera year , month , day , hour , minute , and second for these three file names. So we want to produce code that will create the data frame: Site Plot Camera Year Month Day Hour Minute Second S123 P2 C10 2012 06 21 21 34 22 S10 P1 C1 2012 06 22 05 01 48 S187 P2 C2 2012 07 02 02 35 01
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning