Monday, March 27, 2023

How to Import Data as CSV into R

0
There are a few different ways to import data into R. We will cover two ways in this post, downloading a file from the...

How to use the Apply function in R

0
Previously we showed you how to write a loop in R. Very often it's a better idea to use the apply function in R...
r programming

How to: Create column names in R / R Studio

0
If you want to create your own headers there is an easy way to do that. You can use the optional col.names argument to...

Fix: sudo: port: command not found

6
I'm trying to setup Python 2.7 and SciPy and hit a major roadblock. I kept getting sudo: port: command not found On Mac OSX, I'm...
r programming

R Programming: Example of how to write a function in R

0
What is a function? A function allows you to create a program that has a set of instructions that you use repeatedly or contains...
histogram in r

Histogram in R: How to example using NFL QB data

0
A histogram in R is very useful to use when you want to see more detail on all of the data within your data...
r programming

How to run a cross table in R

0
Running a cross table, or cross tab, in R is useful for a number of applications for data research. In the example below, we...
r programming

How to program a For Loop in R

1
Just apply! What does that even mean? Well, some R programmers will tell you to use the apply function (lapply or sapply) to loop....
r programming

How to learn R programming

0
If you've wanted to learn R programming but didn't know where to start there is a great R packaged called Swirl that teaches you...
data science

Error: Cannot change working directory in R Studio

1
I had initially set it to be setwd(“Users/myname/datascience”) make sure you have the initial / so it is this: setwd("/Users/charliecraine/datascience") another method is that under the Files...
Help Us Help You :)
Sometimes we have Good Things to Share, so signup now. What do you have to lose?
We respect your time. We won't bug you with nonsense.