Questions tagged as 'plot'

1
answer

Quadratic Curve Estimation Minima Square using R

I have a quadratic model that I want to run a simple multivariate regression using Minimal Ordinary Squares. This is my code: df<-data.frame(rnorm(50),rnorm(50)) x_Square<-df[,2]^2 data<-cbind(df,x_Square) names(data)<-c("y","x"...
asked by 05.10.2016 / 03:42
1
answer

How to erase axis title in graphics in R?

I'm doing multiple regressions for the same X variable and plotting joins using the command par(mfrow) on R . But I want to put only one title on the X axis at the end of all my graphics. I already know how to put the title, however...
asked by 02.04.2015 / 00:14
2
answers

Connecting points to the regression line in 3d

This is the 3d version of this other question. Consider the following data: Income2<-structure(list(X = 1:30, Education = c(21.5862068965517, 18.2758620689655, 12.0689655172414, 17.0344827586207, 19.9310344827586, 18.2758620689655, 1...
asked by 06.04.2014 / 05:19
1
answer

How to transform density scatter plot?

I'd like to know how to transform a scatter plot into a datum plot in the region, for example, where there are few dots, the region's color will be light, where there are many dots the color of the region will be darker. Thanks!     
asked by 05.02.2016 / 21:53
1
answer

Graph of the Conditional Densities of a Linear Regression

I have this date frame with two columns: Y and X. data=structure(list(Y = c(NA, -1.793, -0.642, 1.189, -0.823, -1.715, 1.623, 0.964, 0.395, -3.736, -0.47, 2.366, 0.634, -0.701, -1.692, 0.155, 2.502, -2.292, 1.967, -2.326, -1.476, 1.4...
asked by 15.11.2016 / 23:08
1
answer

use of Sys.sleep

I can not make a peer-to-peer graph, the R% with% of the graph then stays in the count of plot , does anyone help me? n=1 Cn=6.45 x<-3 t<- seq(1,20) for (i in 1:21) { flux = round(Cn*sin(n*pi*x / 5)*exp(-(pi^2*n^2/25)*...
asked by 07.11.2016 / 22:20
1
answer

Using function to make a subset and plot with only 1 command (R)

My dataFrame calls EWMA_SD252 3561 obs. of 102 variables (daily volatilities of 100 shares since 2000), follows a sample: Data IBOV ABEV3 AEDU3 ALLL3 3000 2012-02-09 16.88756 15.00696 33.46089 25.04788 3001 2012-02-...
asked by 22.05.2014 / 01:00
1
answer

How to remove legend on plot?

How can I remove the caption that is automatically generated in the plot function of the drc package? plot(curva5r, ylab= "Dose (%)", xlab = "Dose (g.e.a. de glyphosate ha-1)") Note that the caption stays on top of the p...
asked by 12.02.2018 / 18:46
2
answers

Plot hourly time series on a defined scale

I have a time series serial record, and I'm having trouble plotting on an appropriate scale. Here's an example: #Gerar sinal v1 v1=sin(seq(from=0, to=3*2*pi, length=11060)) #Gerar sinal v2 v2=sin(seq(from=0, to=5*2*pi, length=11060)) #G...
asked by 23.11.2017 / 14:22
1
answer

How to add margins and text to the plot?

I would like to know how to remove the rows of the graph margins in the R itself (ex: image 1) and add the value of the correlation of the modeled curve to the coefficient of determination (R²). library(drc) S.alba.m1 <- drm(D...
asked by 12.02.2018 / 22:26