Re: [R] back tick names with predict function

2023-11-30 Thread Bert Gunter
"Thank you Rui. I didn't know about the check.names = FALSE argument. > Another good reminder to always read help, but I'm not sure I understood > what help to read in this case" ?data.frame , of course, which says: "check.names logical. If TRUE then the names of the variables in the data

Re: [R] back tick names with predict function

2023-11-30 Thread Robert Baer
Thank you Rui.  I didn't know about the check.names = FALSE argument.  Another good reminder to always read help, but I'm not sure I understood what help to read in this case.  Since your clue, I've discovered that a tibble-based strategy could also work. x = seq(min(cob_wt$`plant-density`),

Re: [R] Code editor for writing R code

2023-11-30 Thread Dr Eberhard W Lisse
Sublime Text. On all platforms. On 29/11/2023 17:57, Christofer Bogaso wrote: > Hi, > > Currently I use VS-Code to write codes in R. While it is very good, it > does not allow me to write Latex expressions in comments, which I am > willing to have to write corresponding mathematical expressions

Re: [R] back tick names with predict function

2023-11-30 Thread Rui Barradas
Às 17:57 de 30/11/2023, Rui Barradas escreveu: Às 17:38 de 30/11/2023, Robert Baer escreveu: I am having trouble using back ticks with the R extractor function 'predict' and an lm() model.  I'm trying too construct some nice vectors that can be used for plotting the two types of regression

Re: [R] back tick names with predict function

2023-11-30 Thread Rui Barradas
Às 17:38 de 30/11/2023, Robert Baer escreveu: I am having trouble using back ticks with the R extractor function 'predict' and an lm() model.  I'm trying too construct some nice vectors that can be used for plotting the two types of regression intervals.  I think it works with normal column

[R] back tick names with predict function

2023-11-30 Thread Robert Baer
I am having trouble using back ticks with the R extractor function 'predict' and an lm() model.  I'm trying too construct some nice vectors that can be used for plotting the two types of regression intervals.  I think it works with normal column heading names but it fails when I have "special"

Re: [R-es] PCA

2023-11-30 Thread Marcelino de la Cruz Rot
Hola, José: Ahí va un ejemplo: library(vegan) library(FD) # datos categóricos de ejemplo dataf <- data.frame(FA = factor(sample(letters[1:3], 10, rep=T)), FB = factor(sample(letters[1:3], 10, rep=T))) dataf # Obtén una matriz de distancia para tus datos (esta es una posibilidad) dataf.dist

[R-es] PCA

2023-11-30 Thread Jose Betancourt Bethencourt
-Estimados apreciaría recibir un script para el análisis de componentes principales de datos categóricos saludos José [[alternative HTML version deleted]] ___ R-help-es mailing list R-help-es@r-project.org

Re: [R] Code editor for writing R code

2023-11-30 Thread Ivan Krylov
В Wed, 29 Nov 2023 21:27:37 +0530 Christofer Bogaso пишет: > Does there exist any Code editor for R, that allows me to write Latex > in comments? While I cannot guarantee that you'll like it, may I suggest GNU Emacs? Its R support is provided by the ESS package , and