Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Dear all , Thank you for the replies. The idea of plotting back on top of the grid was the right direction and after browsing and browsing I found a tip in the R archive ([R] How to get a grid...
Dear all, I am using kernlab to implement an SVM analysis. The model I am building has the syntax: `ksvm(<y> ~ <x>, data = <dataframe>, type = "C-svc", kernel = "rbfdot", kpar = "automatic", C = <k>, prob.model = TRUE)` Here, I can use...
Hello, I have a data frame with a string column. All data that are neither "POS" nor "NEG" should've replaced by an NA. How can I implement that (even with extra libraries)? My attempts actually wipe out POS and...
Hello, I have a vector that contains some elements with concatenated values, such as: ``` > vect [1] "name_1" [2] "name_2" [3] "name_3\nsurname_3" [4] "some other text\netc" ``` How can I create a new vector where each...
Hello,' I have seen from this link https://cran.r-project.org/web/packages/rcdk/vignettes/using-rcdk.html that there is a way to draw chemical structures using R via rcdk package. I tried to draw a simple structure...
Dear all, i would like to convert a list onto a data frame object. Is there an easy way of doing it? I know I should use unlist() but I am not sure about the implementation for the addition of...
sorry, it was easier than expected: just add `lwd` to the main cal. sorry I could not stop the message before checking... On Wed, Nov 17, 2021 at 10:31 AM Luigi Marongiu <marongiu.luigi at gmail.com> wrote: > > Hello...
Hello, it is possible to select the columns of a dataframe in sequence with: ``` for(i in 1:ncol(df)) { df[ , i] } # or for(i in 1:ncol(df)) { df[ i] } ``` And change all values with, for instance: ``` for(i...
Hello, I have a dataframe with 3 values and that I would like to plot with contour: ``` > head(df) Y X Z 1 0.0008094667 50 1 2 0.0012360955 50 1 3 0.0016627243 50 1 4 0.0020893531...
Thank you. ``` raws <- c("field_1", "field_2", "field_3") paste0("['", paste0(raws, collapse="', '"), "']") ``` gave the most fitting option... On Fri, Jun 10, 2022 at 12:31 PM Rasmus Liland <jral at posteo.no> wrote: > > Hello ... > > raws <- c("field_1...
Awesome, thanks! On Wed, Nov 10, 2021 at 10:33 PM Rasmus Liland <jral at posteo.no> wrote: > > Dear Luigi, > > Yes, from the named list of dataframes, > you access the demographic table like > that. > > You can remove dput() now, I...
Thank you! better than dim() anyway. Best regards Luigi On Thu, Sep 2, 2021 at 1:31 PM Rui Barradas <ruipbarradas at sapo.pt> wrote: > > Hello, > > Not perfect but works for data.frames: > > > header_str <- function(x){ > capture.output(str...
Thank you! It solved it! On Sun, Jul 31, 2022 at 3:38 PM Ivan Krylov <krylov.r00t at gmail.com> wrote: > > On Sun, 31 Jul 2022 15:26:14 +0200 > Luigi Marongiu <marongiu.luigi at gmail.com> wrote: > > > but...
Thank you On Thu, May 26, 2022 at 12:38 PM Ivan Krylov <krylov.r00t at gmail.com> wrote: > > ? Thu, 26 May 2022 12:30:12 +0200 > Luigi Marongiu <marongiu.luigi at gmail.com> ?????: > > > > Error in forest.meta(m10, sortvar...
Got it, thanks! On Tue, Dec 14, 2021 at 11:59 AM Ivan Krylov <krylov.r00t at gmail.com> wrote: > > On Tue, 14 Dec 2021 11:54:08 +0100 > Luigi Marongiu <marongiu.luigi at gmail.com> wrote: > > > "9/29/2021...
Hello, I have selected a subset of a dataframe with the vector syntax (if this is the name): ``` > df[(df$Y>0.2) & (df$X<10),] Y X 10 0.2200642 1.591589 13 0.2941828 1.485951 ``` How can...
Dear all, I am trying to upgrade from ubuntu 19 to 20 but I got some R stuff that stop the process: ``` $ apt list --upgradable Listing... Done r-cran-kernsmooth/xenial 2.23-15-3xenial0 amd64 [upgradable from: 2.23...
Dear all, I have a large dataframe where one of the records in a column must have been wrongly formatted, in particular i think is missing a closing ". When I try to show only that column's value I get...
Hello, I would like to recursively select the columns of a dataframe by strong the names of the dataframe in a vector and extracting one element of the vector at a time. This I can do with, for instance: ``` vect...
Hello, I would like to define a color range to custom color some plot, specifically made in ggplot2 (but also for normal plots). I have been trying to use RColorBrewer but I don't get any value out of this...
Can't find what you're looking for? Try searching with Google .