Displaying 20 results from an estimated 200 matches similar to: "question of merging two dataframes"
2023 Jan 26
2
Resumen de R-help-es, Vol 167, Envío 10
Hola esta es una solución
library(data.table)
library(stringr)
dt <- data.table( V1a = sample(c("1","0"), 10, TRUE)
, V1b = sample(c("1","0"), 10, TRUE)
, V2a = sample(c("1","0"), 10, TRUE)
, V2b = sample(c("1","0"), 10, TRUE)
, V3a =
2012 Dec 14
2
Manipulation of longitudinal data by row
I have a dataset of the form below, consisting of one unique ID per
row, followed by a series of visit dates. At each visit there are
values for 3 dichotomous variables. Of the 8 different possible
combinations of the three variables, 4 are "abnormal" and the
remaining 4 are "normal". Everyone starts out abnormal, and then
either continues to be abnormal at subsequent visits,
2011 Jul 14
1
Repating a loop of lm function with different columns of database
Hi,
First let me thank you for the incredible help and resource that this forum is.
I am trying to compare the repeated measurement of more than 100 analytes that have been take in 70 subjects at 2 time points adjusted for the time difference of sample times(TimeDifferenceDays), therefore I wanted to do it with a function that allows me to do all at once. (131 is the column difference that
2023 Jan 27
0
Resumen de R-help-es, Vol 167, Envío 10
Hola:
Muchas gracias por responder. Lo pruebo.
Saludos.
On Fri, 27 Jan 2023 01:40:48 +0100
Carlos Ortega <cof en qualityexcellence.es> wrote:
> Hola,
>
> Otra alternativa...
>
> #--------------------
> > library(data.table)
> > library(tidytable)
> > library(stringi)
> >
> > df <- data.frame( V1a =
2023 Jan 28
0
Resumen de R-help-es, Vol 167, Envío 10
Hola, Carlos:
Gracias, funciona también a la perfección y muy ingeniosa la solución.
Disculpa si no te he respondido antes, pero hasta ahora no he podido privarlo.
Gracias por la ayuda y saludos.
On Fri, 27 Jan 2023 01:40:48 +0100
Carlos Ortega <cof en qualityexcellence.es> wrote:
> Hola,
>
> Otra alternativa...
>
> #--------------------
> > library(data.table)
2005 Jan 12
2
Inaccuracy in seq() function (PR#7503)
Full_Name: Vlad Stolin
Version: R 2.0.0
OS: Windows 2000
Submission from: (NULL) (204.128.232.211)
When generating the sequence using seq() function with non-integer numbers
result is somewhat unpredictable. Example:
> v1<-seq(1.60,1.90,.05)
> v2<-c(1.60,1.65,1.70,1.75,1.80,1.85,1.90)
> v1-v2
[1] 0.000000e+00 2.220446e-16 2.220446e-16 0.000000e+00 0.000000e+00
0.000000e+00
2023 Aug 10
2
Expresión en un objeto
Hola a todos:
Se me ha planteado un problema que no está ligado a ningún problema
concreto. Es más teórico.
Supongamos que tenemos tres variables:
V1 <- c (47, 71, 41, 23, 83, 152, 82, 8, 160, 18)
V2a <- c (NA, 36, 15, 5, 56, 18, NA, 5, NA, 5)
V2b <- c (37, NA, 15, NA, NA, NA, 90, NA, 161, NA)
Supongamos que tengo la expresión (que no puedo asignarlo a
2023 Aug 12
1
Expresión en un objeto
No tuve tiempo de mirarlo, pero, ¿es coherente lo que dice?
El vie, 11 ago 2023 a las 21:02, Griera-yandex (<griera en yandex.com>)
escribió:
> Muchas gracias, Manuel:
>
> Que bueno! No se me había ocurrido lo de GPT!
>
> Lo pruebo.
>
> Saludos.
>
> On Fri, 11 Aug 2023 18:15:18 +0200
> Manuel Mendoza <mmendoza en fulbrightmail.org> wrote:
>
> >
2023 Aug 11
1
Expresión en un objeto
Esta es la respuesta que te da ChatGPT-4:
Entiendo tu pregunta y, aunque no hay una función nativa en R que te
permita hacer exactamente lo que estás pidiendo, puedes lograr el mismo
resultado utilizando una función. Una función te permitiría encapsular la
lógica de la expresión que quieres reutilizar y luego llamar a esa función
donde sea necesario.
He aquí cómo podrías hacerlo:
V1 <-
2023 Aug 11
1
Expresión en un objeto
Muchas gracias, Manuel:
Que bueno! No se me había ocurrido lo de GPT!
Lo pruebo.
Saludos.
On Fri, 11 Aug 2023 18:15:18 +0200
Manuel Mendoza <mmendoza en fulbrightmail.org> wrote:
> Esta es la respuesta que te da ChatGPT-4:
>
> Entiendo tu pregunta y, aunque no hay una función nativa en R que te
> permita hacer exactamente lo que estás pidiendo, puedes lograr el mismo
>
2023 Aug 11
1
Expresión en un objeto
A ver... con que xfunc() esté preparada para tomar un parámetro de tipo "carácter" y evaluarlo, claro que se puede hacer...
Si el problema lo tienes en evaluar la expresión, la función "eval()" te lo hace.
Si no te he entendido bien, explícate más ?
Saludos
Isidro
-----Mensaje original-----
De: R-help-es <r-help-es-bounces en r-project.org> En nombre de Griera
Enviado
2010 Sep 27
1
bwplot superpose panel.points from another dataframe
Hi everybody,
using bwplot for producing panel boxplot with 3 dimensions
i want to add a mark on each boxplot representing one individual (on all its
dimensions)
till now, i didn't succeed getting the desired solution
I want as well to keep the median symbols as a line
Many thanks for your help
christophe
here is the tested code:
########################
library(lattice)
ex <-
2010 Oct 13
1
bwplot change whiskers position to percentile 5 and P95
Dear R-community,
Using bwplot, how can I put the whiskers at percentile 5 and percentile 95,
in place of the default position coef=1.5??
Using panel=panel.bwstrip, whiskerpos=0.05, from the package agsemisc gives
satisfaction, but changes the appearance of my boxplot and works with an old
version of R, what I don’t want, and I didn’t find the option in
box.umbrella parameters
Many thanks
2002 Oct 29
1
samba compiling error
Hello,
I have error on compiling time
I tried on HP-UX 11.00 system with gcc version 3.1 to compile samba source
Samba latest version source was dowloaded from www.us1.samba.org/samba/ftp
I attached log file with this error
thank you.
begin 600 samba_make.log.doc
M(R!M86ME#0HO=7-R+VQO8V%L+W-A;6)A+V)I;B(@+410241$25(](B]U<W(O
M;&]C86PO<V%M8F$O=F%R+VQO8VMS(B
2005 Jan 29
7
Sipura SPA-841 auto-answer support [patch]
Sipura has implemented auto-answer in version 0.9.5 of the SPA-841
firmware. However, it is implemented via the Call-Info header, which
Asterisk stable doesn't currently support.
The attached patch implments a quick hack to support the Call-Info
header from the Dial() application by way of setting the CALL_INFO
variable. For example, the following macro can be used to dial up a
single
2012 Mar 17
1
How to install sqldf to R with version 2.10?
Hi,
How to install sqldf to R with version 2.10? I used the R in the cluster of
university and there seems no way to update the R version to 2.14. However,
I do need sqldf. I tried to install and there is the problem of namespace.
How could I solve the problem of namespace and run sqldf on R with version
2.10? Thank you!
Best,
[[alternative HTML version deleted]]
2010 Aug 27
2
plot data by class tag
Hello to all,I have a data file as
Class V1 V2A -2.0 0.0A 0.9 0.7B 0.1 0.6C 4.1 0.4C 1.0 1.9B 1.1 0.5
I am plotting this data in R as V1 verses V2> temp<-read.table('temp.dat', header=T)> attach(temp)> plot (V1,V2, col='red')> text(x=V1, y=V2, labels=Class, pos=4)
But I want to change the 'plotting symbol' by the 'Class of the row' (which is
2001 Apr 04
1
Mesa with voodoo3
OK I downloaded and compiled Mesa 3.4.1, the gears demo runs at about 140
fps so thats not looking like real hw accel ;) I downloaded a prebuilt
gears from the dri webpage and I get 1300 fps even after I uninstalled my
Mesa because it did not work together with Quake3 (always told me no
hardware accel available) So I reverted to the libGL.so that came with my
X4.0.2 binary tars. My glide3 is
2002 Jul 10
0
*****SPAM***** ATTENTION! Well-Paid Job in the Internet!
SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: This mail is probably spam. The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM:
SPAM: Content analysis details: (6.7 hits, 5 required)
SPAM: Hit! (4.4 points) 'From' contains more than
2001 Nov 14
0
OPEN ssh pkg
Hi,
I have a few corrections for OPENssh-2.9p1 solaris packaging.
I use to configure:
setenv CFLAGS -I/opt/local/include
setenv LDFLAGS "-R/opt/JGMAzlib/lib -L/opt/JGMAzlib/lib"
./configure --prefix=/opt/OPENssh --with-tcp-wrappers --sysconfdir=/etc/opt/OPENssh --localstatedir=/var/opt/OPENssh --with-pid-dir=/var/opt/OPENssh/run --with-ssl-dir=/opt/OPENssl --with-ipv4-default