r/R_Programming • • Sep 22 '15

Limit of file size for truncate in R

Thumbnail
stackoverflow.com
1 Upvotes

r/R_Programming • • Sep 21 '15

Psych package

1 Upvotes

I am using the psych package to calculate alpha for a scale of several items. However, I can only get the output to show 2 decimal places for alpha, and I need 3 decimal places. Using alpha(x, digits=3) is not working. Any advice?


r/R_Programming • • Sep 19 '15

I want interactive sliders... on a 3d graph. Any ideas?

1 Upvotes

I've tried 'manipulate' and I can get a slider with it's little 'gear' to pop it up on a regular plot - but not on plot3d.

I've tried learning shiny and I'm not really understanding how to use the plotOutput to change the very nature of the plot which it is putting out...

Ideas?


r/R_Programming • • Sep 07 '15

Sample Datasets

1 Upvotes

Hi, guys!

I'm trying to get used to using R, and other than volcano (the built-in dataset), are there other premade practice datasets that I can use? Thanks!


r/R_Programming • • Aug 17 '15

DataJoy: ambiente para programação em R ( CLoud) [Portuguese]

Thumbnail
adinf.com.br
1 Upvotes

r/R_Programming • • Jul 27 '15

GIS/Mapping how-to in RStudio?

1 Upvotes

Can anyone show me in a basic, easy-to-follow steps how to map different colored points on a state map of Florida in RStudio? Is there an easy package out there for an R n00b like me?

Thanks!


r/R_Programming • • Jan 20 '12

Object Oriented Programming in R

Thumbnail bryer.org
1 Upvotes

r/R_Programming • • Jan 18 '12

Credit rating by country with R and googleVis

Thumbnail
lamages.blogspot.com
1 Upvotes

r/R_Programming • • Jan 17 '12

[R] Quantitative Finance & Technical Trading

Thumbnail quantf.com
1 Upvotes

r/R_Programming • • Jan 05 '12

Adding multiple ellipses into scatterplot! How?

1 Upvotes

I have to make a scatterplot graph with multiple point groups plotted into one. The thing I want to do is to draw a range ellipse around each group (I have 6 groups). It's basically a DCA ordination diagram.

The code for plotting the graph is:

library(lattice) xyplot(X1~X2, groups=classes, pch=1:6)

I hope this makes any sense!


r/R_Programming • • Oct 02 '11

An example in R: Stacked Bar Graph

Thumbnail
imgur.com
1 Upvotes

r/R_Programming • • Aug 10 '10

Revolution Analytics - Commercial Software & Support for the R Statistics Language

Thumbnail
revolutionanalytics.com
1 Upvotes

r/R_Programming • • Aug 10 '10

R wikipedia link

Thumbnail
en.wikipedia.org
1 Upvotes

r/R_Programming • • Feb 22 '18

Fat Genuine Pigs Going Throught Tight Mazes

Thumbnail
youtu.be
0 Upvotes

r/R_Programming • • Nov 25 '17

Subsetting Problem

0 Upvotes

Hi everyone,

New to this subreddit. I'm in a Big Data class in school and we're using R. So far, so good, but I'm running into an issue with subsetting.

Our project is to create graphs based on a large csv which shows website traffic data from our school. We are supposed to use only the United States, but the data shows many other countries.

I thought I subsetted the data correctly, and when I do summary() it shows how I want it to - by filtering out all the other countries.

Within this data are regions - aka states. I would like to use R to make a barplot that shows only "regions" of the United States. To do this, I used the subset I created, however, the plot shows ALL countries and regions, which gets super cluttered!

Here's an example of what I did:

America <- webtest[webtest$Country=="United States", ] 

barplot(table(webtest),
    col = rainbow(3),
    ylab = "Count",
    xlab = "State",
    ylim= c(0,50000),
    main = "Barplot of Frequency of States",
    las = 2)

Any help would be much appreciated. Thanks!

Edit: Sample data

Focus	   Country	   Region	    City	   Datehour	Entrances	Visitors
Admissions	Pakistan	(not set)	Islamabad	2012112500	1	1
Admissions	Pakistan	(not set)	Islamabad	2012112500	0	1
Admissions	Singapore	(not set)	Singapore	2012112500	1	1
Admissions	USA  	    California	Concord	    2012112500	0	1
Admissions	USA  	    California	Concord	    2012112500	0	1
Admissions	USA  	    California	Concord	    2012112500	0	1

r/R_Programming • • Sep 20 '17

Minimax Regret Problems

0 Upvotes

I'm new to R Programming and i need help with solving savage/minimax regret problems in R.


r/R_Programming • • Apr 26 '16

Notation Help

0 Upvotes

I've come across these notations in R before, but I don't know how it works. the characteristics are simple. in the first case, it's some expression/subset in square brackets, and directly outside those square brackets, there is a parentheses with a number. So, for instance:

addup[1] where addup is clearly a list.

in the second it's the opposite. For instance: object <- as.list(substitute(list(...)))[-1L]

In abstract terms, what exactly does these notations mean/do?

thanks!


r/R_Programming • • Apr 14 '16

Automated pricing models for free

Thumbnail
customerinsightleader.com
0 Upvotes

r/R_Programming • • Mar 05 '16

Help on selecting a Validation Model for a retail dataset.

0 Upvotes

Link to the retail dataset: http://fimi.ua.ac.be/data/retail.dat

Things I know: -Divide the data into 3 subsets-training (60%), validation(20%) and testing(20%) dataset -Apply the model on the training dataset -Test the model on the testing dataset

Things I need help in: -What model to apply on this dataset and how- what is the R code -What is the validation dataset used for -Where do I find related help about this online

I'd really appreciate help on this since this is for an important assignment and I'm very confused.


r/R_Programming • • Feb 19 '16

Interpreter to use for R

0 Upvotes

Hello all,

I'm planning on learning R and I wanted to know what interpreter you would all suggest to use? I know there are a few different ones but I didn't know which ones you all would suggest.


r/R_Programming • • Feb 01 '16

What procedures can you use to calculate raw or unstandardized regression coefficients in r/matlab?

0 Upvotes

r/R_Programming • • Nov 29 '15

Issues with Pie Graph in R-Studio

0 Upvotes

Hi -

I am new to R-Programming and have an assignment due Monday morning for school. It is a rudimentary Pie Graph, but I have so many variables at such close intervals that the names are overlapping in the Plot Print Out. Is there a way to seperate them or color code in a manner that pulls the names away from the graph and illustrates it in a color coordinated 'Key' away from the pie chart itself? I am really struggling here and any help would be greatly appreciated. Please forgive the basic skills on display, but this is what I have so far:

attach(FL_ORGANIZATION_FILE) [1] 257657 24 names(FL_ORGANIZATION_FILE) "INTEREST_TYPE" Class(INTEREST_TYPE) "factor" table(INTEREST_TYPE) INTEREST_TYPE count <- table(INTEREST_TYPE) table(INTEREST_TYPE)/37 percent <- table(INTEREST_TYPE)/37 pie(percent, main="Types of EPA Approved Organizations Operating in Florida") box()


r/R_Programming • • Sep 19 '18

Need help to write a program

0 Upvotes

If anyone can help me figure out how to: Create two vectors. To define the first vector (named even) with all the even numbers between 200 and 225. To define the second vector (named odd) with all the odd numbers between 200 and 225.

Define a data frame with these two vectors and find the mean of both the vectors in the dataframe (mean$even)

and finally create a vector in the dataframe with the values from 225-238 and find the summary of the dataframe.

Really confused by all this, i'm still learning.


r/R_Programming • • Apr 08 '18

Linear Mixed Effects project

0 Upvotes

I'm looking for a data set that lends itself to linear mixed effect analysis. Does anyone know some good places to find one?


r/R_Programming • • Feb 21 '18

Hey

0 Upvotes

What’s new