Hi Chishti,
Try this:
dim(x)[2]
length(dn)
>From your error message, the two will be different. They should be the
same. A wild guess is that the offending line of code should be:
dimnames[2]<-1:dn
Jim
On Tue, Jun 21, 2022 at 11:10 PM Muhammad Zubair Chishti
wrote:
>
> Hi, Dear Professor,
> W
Hi, you should post a reproducible example if you want to have an answer.
This error is generated when you try to copy an object in another of the
wrong size.
> a <- data.frame(A=1:2)
> dimnames(a)
[[1]]
[1] "1" "2"
[[2]]
[1] "A"
> dn <- list(c("3", "4"), c("B", "D"))
> dimnames(a) <- dn
Err
Hi
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of RAHUL
> 14BCE0064
> Sent: Monday, March 20, 2017 12:24 PM
> To: r-help@r-project.org
> Subject: [R] A request
>
> Hello there!!
>
> Could somebody please go
Hello there!!
Could somebody please go through the question (
http://stats.stackexchange.com/questions/268323/string-kernels-in-r)?
In short I need the reference to the algorithms used for string kernels in
Kernlab package in R.
Thank you.
Regards:
Rahul
[[alternative HTML version del
Hello dear R members.
I just came across this website:
http://giladlotan.org/viz/iranelection/
Here what it is about:
> ReTweet Revolution is a visual exploration of the most popular conversation
> threads that were passed amongst Twitter users at the time of the events
> following the Iranian e
5 matches
Mail list logo