136 Answered Questions for the topic R

R

03/19/19

How to make execution pause, sleep, wait for X seconds in R?

How do you pause an R script for a specified number of seconds or miliseconds? In many languages, there is a `sleep` function, but `?sleep` references a data set. And `?pause` and `?wait` don't... more
R

03/19/19

Count number of rows within each group?

I have a dataframe and I would like to count the number of rows within each group. I reguarly use the `aggregate` function to sum data as follows: df2

Are statistical programming languages like R/SAS considered functional or procedural?

I still don't understand the difference after reading [this][1] [1]:... more
R

03/18/19

Where does R store packages?

The `install.packages()` function in R is the automatic unzipping utility that gets and install packages in R.1. How do I find out what directory R has chosen to store packages?2. How can I change... more
R

03/18/19

Remove all special characters from a string in R?

How to remove all special characters in a given string in R and replace each special character with space ?
R

03/18/19

How to save a data.frame in R?

I made a data.frame in R that is not very big, but it takes quite some time to build. I would to save it as a file, which I can than again open in R?
R

03/18/19

Using R to list all files with a specified extension?

I'm very new to R and am working on updating an R script to iterate through a series of .dbf tables created using ArcGIS and produce a series of graphs.I have a directory, C:\\Scratch, that will... more
R

03/18/19

What are the different data types in R?

R

03/15/19

Append value to empty vector in R?

I'm trying to learn R and I can't figure out how to append to a list.If this were Python I would . . . #Python vector = [] values = ['a','b','c','d','e','f','g'] for i in... more
R

11/27/18

Is 42 a prime Or a composite

02/22/14

write the following in the polar form

Write the following in the polar form reiθ, -pie<0≤piea)πi r=θ=b)-2√2- 5ir=θ=c) (1-i)(-√(3)+i))r=θ=d)(√(2)-5i))2r=θ=e)(-5+√(2i))/(5+3i)r=θ=f) -√7(1+i)/ √(3) +ir=θ=

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.