Displaying 20 results from an estimated 200 matches similar to: "Manipulation of longitudinal data by row"
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 Jan 31
2
question of merging two dataframes
Suppose I have two data frames A and B
A has three variables and B also has three variables.
I would like to merge these two database but the requirement to merge
is that the value of the second column in database A is less than the
value of the second column in database B. Is there a R code to do
this? Thanks
Dataframe A: V1a V2a V3a
1 2 3 5
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
2007 Dec 17
2
[LLVMdev] Elsa and LLVM and LLVM submissions
Devang Patel wrote:
> On Dec 15, 2007, at 12:15 PM, Richard Pennington wrote:
>
>> I got the current version of LLVM via svn yesterday and modified my
>> code to
>> use the LLVMFoldingBuilder. Very nice!
>>
>> My question is this: I noticed that the folding builder doesn't fold
>> some
>> operations, e.g. casts. Is there some reason why? If
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
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
2012 Feb 26
10
Software Profili2 on Ubuntu by Wine
Hi
Greetings to all
Is my first post in this forum
sorry for my english
Many compliment to all developers for great work in Wine
Profili2 is the most famous Windows software for designe airfoil profile for RC airplane models.
Some times ago I have installed it in ubuntu 10.10 by Wine(1.3.5) with success
This software use an mdb file
First I have installed Profili download in this web site
2012 Nov 28
0
[LLVMdev] [cfe-dev] RFC: A Great Renaming of Things (or: Let's Repaint ALL the Bikesheds!)
Hi there.
What about repainting the top-level bike-shed - the build system itself?
I've got a framework called "v3c" in SourceForge that has a top-level
makefile.
From that makefile you can just do "make" to build it with debug
information,
"make release" for a release build,
"make -j7 distcheck" to throw a few cores at the build,
"make -j7 git
2012 Nov 27
3
[LLVMdev] [cfe-dev] RFC: A Great Renaming of Things (or: Let's Repaint ALL the Bikesheds!)
On Nov 24, 2012, at 1:02 AM, Tinco Andringa <mail at tinco.nl> wrote:
> Hi,
>
> I think it's an awesome idea to make sure all names are logical. It is
> an essential feature of a good API to have logical naming :)
>
>> I really dislike that all the files and classes in the MC library
>> start with MC. This is c++, not c :(
>
> On a similar note, all
2002 Oct 30
4
PDF printer using ps2pdf ?
Hi,
Is it possible to set up a printer in samba
that will use ps2pdf converter to create pdf documents when printing on it ?
Best Regards
Steph
2012 Nov 14
2
[LLVMdev] unable to interface with target machine
Hi there.
Sorry in advance if this is a silly question.
I've got a test program in my v3c-storyboard project
http://sourceforge.net/projects/v3c-storyboard/
that generates LLVM assembly for a hello world program.
If I try
clang -o hello-world hello-world.ll
I get "error: unable to interface with target machine".
But if I
llvm-as -o hello-world.bc hello-world.ll
2012 Nov 15
0
[LLVMdev] unable to interface with target machine
On 14/11/12 22:11, Philip Ashmore wrote:
> Hi there.
>
> Sorry in advance if this is a silly question.
>
> I've got a test program in my v3c-storyboard project
> http://sourceforge.net/projects/v3c-storyboard/
> that generates LLVM assembly for a hello world program.
>
> If I try
>
> clang -o hello-world hello-world.ll
>
> I get