Hi Bogdan,
The way I do this is the following: I have different R versions installed,
and then I downloaded and use Rswitch to change between versions. You just
open it, select the version you want, and R will open in that version
directly. It works with R and Rstudio in a MacOS HighSierra, althou
Hello, Jun,
try
split(df, f = factor(df$C, exclude = NULL))
For more info see ?factor, of course.
Regards -- Gerrit
-
Dr. Gerrit Eichner Mathematical Institute, Room 212
gerrit.eich...@math.uni-giessen.de
Dear list,
Say I have a data frame with NA in the variable which I want to use as a
sorting variable for splitting the data frame.
df <- data.frame(A=1:10, B=c(rep(99,5), rep(100,5)), C=c(rep(NA,3),
rep(1,3), rep(2,4)))
split(df, f=df[c('C')], drop=FALSE), I got the output as follows. I was
hopi
R-Help
When I run the cspade function from the arulesSequences package...
s1 <- cspade(trans_matrix, parameter = list(support = 0.3), control =
list(verbose = TRUE))
#s1 <- cspade(trans_matrix, parameter = list(support = 0.3), control =
list(verbose = TRUE), tmpdir = "C:\\Temp")
I rece
Dear all,
if you could help me please with a solution to a simple question :
i believe that my ubuntu machine automatically installed R 3.6.0 : when i
type : > R. it says :
R version 3.6.0 (2019-04-26) -- "Planting of a Tree"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform
On 22/05/2019 8:57 p.m., Abby Spurdle wrote:
> I'd like to be able to access the windows clipboard from R under Cygwin.
> Is this supported in any way? Thanks
Hi Ed
You can access the Windows clipboard under Cygwin.
I ran R within Cygwin.
I was able to use read.table (file="clipboard") for b
Dear all,
I am using kernlab to implement an SVM analysis. The model I am
building has the syntax:
`ksvm( ~ , data = , type = "C-svc", kernel =
"rbfdot", kpar = "automatic", C = , prob.model = TRUE)`
Here, I can use different values of `k` to give different costs to the
model. Each time I give a
7 matches
Mail list logo