Displaying 7 results from an estimated 7 matches for "prueba1".
Did you mean:
prueba
2020 Sep 10
5
aplicar codigo
Hola:
Como dice Carlos, algo así, por ejemplo:
transforma <- function(df) sapply(df, function(x)
ifelse(x%in%c("x1","x2","x3"),
"prueba1",ifelse(x%in%c("x4","x5","x6"),"prueba2",x)))
> transforma(df1)
col1
[1,] "prueba1"
[2,] "prueba1"
[3,] "x11"
[4,] "prueba1"
[5,] "x33"
[6,] "prueba1"
[7,] "prueb...
2020 Sep 10
2
aplicar codigo
...#39;,'x2', 'x4','x6', 'x5')
>
> df1<-data.frame(col1)
> df2<-data.frame(col2)
> df3<-data.frame(col3)
>
> transforma <- function(df) sapply(df, function(x)
> ifelse(x%in%c("x1","x2","x3"),
> "prueba12",ifelse(x%in%c("x4","x5","x6"),"prueba2",x)))
>
> transforma(df1)
> col1
> [1,] "prueba12"
> [2,] "prueba12"
> [3,] "2"
> [4,] "prueba12"
> [5,] "4"
> [6,] "prueba12"...
2020 Sep 10
3
aplicar codigo
...'x2', 'x11', 'x1','x33', 'x1','x4', 'x5', 'x35', 'x1','x2', 'x4')
df1<-data.frame(col1)
attach(df1)
df1$transformacion<-ifelse(col1 == "x1"|col1 == "x2"| col1 == "x3", "prueba1",
ifelse(col1 == "x4"|col1 == "x5"| col1 == "x6", "prueba2", col1))
detach(df1)
df1
pero ahora en vez de un df tengo varios
col2 <- c('x12', 'x4', 'x6', 'x771','x4', 'x2')
c...
2018 Mar 04
2
problema con shiny
Carlos el código es el ejemplo de shiny:
#
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
#setwd("C:/curso 2017-18/curso R/shiny/prueba1")
library(shiny)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Old Faithful Geyser Data"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
sliderInput("bins"...
2012 Jan 18
3
make shortcuts wine program with multiple wine versions
...xec=env WINEPREFIX="/home/david/.example" /home/david/wine-1.3.24/bin/wine-1.3.24 '/home/david/.areslinux/dosdevices/c:/Archivos de programa/Ares Linux 0.9/executable.exe'
Icon=1ACF_executable.0
Terminal=false
Type=Application
Categories=Application
StartupNotify=false
Name[es_ES]=Prueba1
it is running correctly. but when i use it in other pc, ever i need replace "user" I tried with $USER, $HOME and no work. I need other way.
I need to make shortcuts wine program with multiple wine versions with anyone.
other information:
I use the option of wine "install multiple...
2018 Mar 05
2
problema con shiny
...Carlos el código es el ejemplo de shiny:
#
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
#setwd("C:/curso 2017-18/curso R/shiny/prueba1")
library(shiny)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
titlePanel("Old Faithful Geyser Data"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
sliderInput("bins"...
2018 Mar 04
4
problema con shiny
Estimados compañeros tengo un problema con shiny. Es un problema local de mi ordenador, porque en otro va si problemas pero no consigo saber ¿cómo arreglarlo?. He instalado incluso la nueva versión de Rstudio. Os explico:
1) lanzo el programa app.R, el ejemplo de shiny e intenta mostrar los resultados pero si hago: print(environment(show)) da como resultado
Error in func(fname, ...) : app.R did