Scatterplots with density and correlations [closed] - r

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Is it possible to create correlation matrix in ggplot2 package that will include histograms and scatterplots of included variables?
I'm looking for something similar to the following graph generated with the gpairs() function from the YaleToolkit package.

Related

What is the R code for Nested minimization to work out an estimate for c^((k)) in a non linear threshold regression model [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 days ago.
Improve this question
〖〖rx〗(t+12)〗^((k))= α_1 + 〖α_2〗^((k) ) 1(zt≤c^((k) ))+〖β_1〗^((k)) 〖s_t〗^((k))+ 〖β_2〗^((k)) 〖s_t〗^((k)) 1(zt≤c^((k) ))+〖ε(t+12)〗^((k)), That is the regression model
I cant figure out exactly how to input the correct R code for this model using nested minimisation technique

Plotting Location data in R [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Can anyone please tell me how to plot location data in the R language?
Suppose I have data "Date-time" with X and Y coordinates (latitude and Longitude) as mentioned below;I am trying to do in R language.
Date: 2016-02-25 17:21:09.147,
Location (2.39, 48.71)
To visualise your 3D data, you can use plot3d and combine it with datetick to format the time axes.

r auto arima excluding (0,0,0) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
For the auto.arima function in forecast package of R, is there a way to let the function omit a model of arima(0,0,0), as I simply assume there must be some correlation within the dataset.
You could try looking at the help for the function
auto.arima(). Check the arguments start.p, start.q,
d,max.d

R: Vector Group by Defined group [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have a vector c("A","B","C",......) and a list list(c("A"),c("B","C"))
I want to get a vector c(1,2,2....)
Is there any function in some basic packages?
we can use merge
merge(stack(setNames(lst, seq_along(lst))), data.frame(values=v1))$ind

Generalized gamma random data generation [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How to generate random data (synthetic data) from a generalized gamma distribution with three parameters (scale, shape and shape)?. Using Matlab or R.
https://en.wikipedia.org/wiki/Generalized_gamma_distribution
Have a look at the VGAM::gengamma function.
See http://www.inside-r.org/packages/cran/vgam/docs/gengamma
Or flexsurv::GenGamma
see http://artax.karlin.mff.cuni.cz/r-help/library/flexsurv/html/GenGamma.html

Resources