On Tue, Oct 27, 2020 at 6:04 PM Luigi Marongiu wrote:
>
> Hello,
> I am using e1071 to run support vector machine. I would like to plot
> the data with lattice and specifically show the hyperplanes created by
> the system.
> I can store the hyperplane as a contour in an object, and I can plot
> on
One addition to this thread:
I've just committed contourLines3d() to rgl (in version 0.102.28). It
will let you display contour lines of a function on any surface in a scene.
Duncan Murdoch
On 23/10/2020 2:30 p.m., Duncan Murdoch wrote:
Good to hear you've made such progress. Just a couple
Hi Hannah,
Without knowing how the data are organized and what each numeric
code means, it is a bit difficult. If it is assumed that each row in the
data frame(?) ipumsi_8_dta is a case (individual) and an individual may
have zero or more spouses, there would have to be more than one field for
Dear Varin,
I think the following code will solve your problem.
n <- 60
b <- runif(n, 0, 5)
a <- runif(n, 0, 5)
z1 <- data.frame(x0=1:57,
x1=rnorm(n*0.95,2,3))
z2 <- data.frame(x0=58:60,
x1=rnorm(n*0.05,2,9))
combined=rbind(z1,z2)
z=combined[,2]
y_model <-
On 27/10/2020 3:06 p.m., varin sacha via R-help wrote:
Dear R-experts,
Here below my R code. The warning message is not a problem to me but there is
an error message more problematic. I understand the error message but I don't
know if it is possible to correct the error and if yes, how to corr
Dear R experts,
Greetings from China! I'm Zhang in the College of Education, Zhejiang
University, and I am recently running a meta-analysis. Since research using the
randomized controlled trial (RCT) often dismissed reporting the correlation (r)
between multivariate outcomes, for instance, a s
Hello,
I need some help in creating a new variable. I need to create a 'couple
identifier', which gives a unique code for every couple/triple/... in a
household. So, I can identify couples. To do this, I should use 4 variables:
* SERIAL = a unique numeric code for each household
* PERNU
Hi,
a is of length 60.
b is of length 60.
z is of length 57.
What do you expect to have happen when you create y_model ? What
happens to those other 3 observations?
Sarah
On Tue, Oct 27, 2020 at 3:07 PM varin sacha via R-help
wrote:
>
> Dear R-experts,
>
> Here below my R code. The warning mes
Dear R-experts,
Here below my R code. The warning message is not a problem to me but there is
an error message more problematic. I understand the error message but I don't
know if it is possible to correct the error and if yes, how to correct it.
Many thanks.
n <- 60
b <- runif(n, 0, 5)
a <-
Hi: I think you're writing over the plots so only the last one exists.
Maybe try P = P + whatever but
I'm not sure if that's allowed with plots.
On Tue, Oct 27, 2020 at 8:34 AM Luigi Marongiu
wrote:
> Hello,
> I am using e1071 to run support vector machine. I would like to plot
> the data with
Hello,
I am using e1071 to run support vector machine. I would like to plot
the data with lattice and specifically show the hyperplanes created by
the system.
I can store the hyperplane as a contour in an object, and I can plot
one object at a time. Since there will be thousands of elements to
plot
Thank you!
On Mon, Oct 26, 2020 at 7:30 AM PIKAL Petr wrote:
>
> Hi
>
> Put fill outside aes
>
> p+geom_ribbon(aes(ymin = slope_1*x + intercept_1 - 1/w[2],
> ymax = slope_1*x + intercept_1 + 1/w[2]), fill = "blue", alpha=0.1)
>
> The "hole" is because you have two levels of data (red and blue). T
Hi
Above what you were suggested, your commands could be stored in .RHistory
and your data in .RData files if you end quit your session with save option
"yes". Either interactively or programmatically.
Cheers
Petr
> -Original Message-
> From: R-help On Behalf Of akshay kulkarni
> Sent:
13 matches
Mail list logo