menu
bartleby
search
close search
Hit Return to see all results

Hello I need help importing data into r markdown. Thank you!!!

Question

Hello I need help importing data into r markdown. Thank you!!!

check_circleAnswer

To import the csv file, use the below code:

read.csv("file name.csv", header = TRUE, sep=",")

file name is the name of the file which is in working directory.

header = TRUE means the file contains the column names

sep="," means the file is comma separated. 

Now to import the txt file, use the ...

Want to see the full answer?

See Solution

Check out a sample Q&A here.

Want to see this answer and more?

Our solutions are written by experts, many with advanced degrees, and available 24/7

See Solution
Tagged in

Math

Statistics

Related Statistics Q&A

Find answers to questions asked by student like you

Show more Q&A add
question_answer

Q: You are the foreman of the Bar-S cattle ranch in Colorado. A neighboring ranch has calves for sale, ...

A: Note: We are authorized to answer 3 sub parts at a time, since you have not mentioned which subparts...

question_answer

Q: Directions: Draw the normal curve and shade in the specific region. Show formulas used and the subst...

A: A.Margin of error (E):The margin of error for proportion p is given by,

question_answer

Q: A study was conducted to see whether participants would ignore a sign that said, "Elevator may stick...

A: Explanation:Here, the experimenter controls the presence/absence of the confederates, as its effect ...

question_answer

Q: what would be the mean and standard deviation of each chart!! I am having trouble calculating this. ...

A: Calculation: Mean:Before mean:Control: (5 + 1 + 2)/3 = 2.67. [(Before Stephanie + Before Brenda + Be...

question_answer

Q: What does it mean when two variables are described as “positively correlated”?

A: In statistical analysis to measure the relation between two bivariate data, then if the change of a ...

question_answer

Q: A. A population has a mean of 6.9 and standard deviation of 2.6. Find the value that has 80% of the ...

A: Given Population mean = 6.9Standard deviation = 2.6The Z score with the area left to it close to 0.8...

question_answer

Q: 2.) Two distinct fair dice are rolled at the same time and the number of dots appearing on both are ...

A: Probability that the sum is 3It is possible only in following combinations:Dice one has 1 dice and d...

question_answer

Q: Thirty five percent of adults Americans are regular voters.  A random sample of 250 adults in a medi...

A: Confidence interval:The (1-α) % confidence interval for proportion p is given by,

question_answer

Q: Assume that a populatio of thousands of people whose responses were used to develop the anxiety test...

A: Hey, since there multiple subparts posted, we will answer first three subparts. If you want any spec...

Sorry about that. What wasn’t helpful?