similar to: Acceso a la opcion demo()

Displaying 20 results from an estimated 1000 matches similar to: "Acceso a la opcion demo()"

2017 Apr 17
2
Matriz como producto de vectores.
Buenas tengo una matriz de contingencia de 5x4 donde en la última fila y última columna tengo las frecuencias marginales, en función de estas quiero sacar las esperadas, pero cuando hago por ejemplo el producto,, Esperadas<-Estrategia["Suma",]*Estrategia[,"Suma_e"] E1 E2 E3 E4 Suma 5550 14160 52650 89600 20720 Warning message: In Estrategia["Suma", ]
2011 Nov 08
3
Consulta sobre mensaje de error al aplicar un Filtro.
Hola Estimdos, Quería consultar por si alguien sabe que puede estar pasando con la aplicación de un filtro. Arroja el siguiente mensaje: *Mensajes de aviso perdidos In TransAcProv$idDepartamento == filtro2 : longitud de objeto mayor no es múltiplo de la longitud de uno menor* Este es el filtro: *filtro2 <- c (450, 30 , 449, 862 , 452)* Y se aplica sobre este data frame: *TransAcDepto
2013 Apr 29
3
rbinding some elements from a list and obtain another list
Hi everybody, I have a list, where every element of this list is a data frame. An example: Mylist<-list(A=data.frame, B=data.frame, C=data.frame, D=data.frame) I want to rbind some elements of this list. As an example: Output<-list(AB=data.frame, CD=data.frame) Where AB=rbind(A,B) CD=rbind(C,D) I’ve tried: f<-function(x){ for (i in
2011 May 19
2
Error en Rattle
Saludos colegas. Estoy utilizando el entorno rattle para probar algunas tareas de minería de datos sobre un dataset. Sucede que desde hace unos días cuando intento utilizar rattle me lanza el siguiente error: *> rattle() Error en ret[i, ] <- c(pkgs[i], lib, desc) : número de items para para sustituir no es un múltiplo de la longitud del reemplazo* Llevo algún tiempo intentando
2014 Jan 20
3
Creación de un bucle con test Kruskal Wallis
Hola. Llevo poco tiempo con R y estoy atascado en un problemilla, a ver si podéis ayudarme. Estoy trabajando con una base de datos sobre personalidad en diferentes especies de aves. Esta base tiene datos de más de 7000 individuos y me gustaría crear un bucle mediante el cual realizar un test de Kruskal Wallis por cada especie (quiero ver si los comportamientos son consistentes dentro de cada
2017 Aug 29
1
BUG: HMTL-based help.search() on vignettes may generate error (with PATCH)
REPRODUCIBLE EXAMPLE: With the R.rsp package installed, the following search, which gives a hit: options(help_type = "html") help.search("rsp") generates: Error in if (nchar(Outfile)) Outfile else File : argument is not interpretable as logical in the browser (e.g. http://127.0.0.1:30410/doc/html/Search?results=1). Another example is
2008 Nov 14
2
[RFC][patch 0/7] Enable PCIE-AER support for XEN
Following 7 patches are for PCIE AER (Advanced Error Reporting) support for XEN. --------------------------------------------------------------------------- Patches 1~4 back port from Linux Kernel which enables kernel support to AER. Those patches enable DOM0 PCIE error handling capability. When a device sends a PCIE error message to the root port, it will trigger an interrupt. The irq handler
2019 Feb 14
1
Proposed function file.backup
Dear R Core: In the kutils package, I wrote a function that is so handy that I would like to ask you put it in R itself. file.backup() will look at a file, find its last modification time, and create a new backup with a name that appends YYYYMMDD-HHMM to the file name. So now, whenever I worry that running write.csv or saving a graph might destroy something valuable, I use an idiom like fn
2013 May 15
2
error de lectura
Buenos días Al leer el fichero esudbp.csv personas <-read.table("esudb11p.csv", header=TRUE, sep=",") Me da el siguiente error: Mensajes de aviso perdidos In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : número de items leídos no es múltiplo del número de columnas No entiendo por qué no puede leer este cuarto fichero, si es igual que
2010 Nov 27
1
How to remove a package.
Hi folks, library(AER) data() I found the datasets of AER package. But I couldn't remove AER with: either detach("package:AER") or detach("package:AER", unload = TRUE) data() still found "car" there. What will be the correct way to remove it? TIA Besides:- I couldn't find EcDat > library(EcDat) Error in library(EcDat) : there is no package
2020 May 13
3
Sometimes commands do not terminate after upgrading to R 4.0 and Ubuntu 20.04
I have upgraded R (from 3.6 to 4.0) and RStudio (from 1.1 to 1.2.5) a few days ago, and Ubuntu from 18.04 to 20.04 yesterday. Since then, R sometimes never terminates when executing certain commands: ivreg (from package AER), summary (of a logit regression) and logitmfx (from package mfx). Sometimes these commands run fine, but most of the time I have to kill the process because R won't
2023 Jul 05
1
textual analysis - transforming several pdf to txt - naming the files
convertpdf2txt <- function(dirpath){ files <- list.files(dirpath, pattern = "Consoli.*\\.pdf$", full.names = TRUE) files <- chartr("\\", "/", files) x <- lapply(files, function(x){ pdftools::pdf_text(x) %>% paste0(collapse = " ") %>% stringr::str_squish() }) new_names <-
2011 Jun 26
1
bwplot questions: box order, axis breaks, and multiple y-axis labels
Hi all, I used bwplot in lattice to create a 6-panel boxplot grouped by a conditioning variable (param) that displays concentration (conc) in response to treatment (trtmnt). Here is the functional part of my code followed by my three questions: library(lattice); ww<-read.csv(file="c:/Rdata/lattice_boxplot_prep.csv",header=TRUE,sep=","); attach(ww);
2008 Feb 27
1
Bug in help(). (PR#10859)
There appears to be a bug in help() when there are multiple packages attached containing functions with the same name, and offline=TRUE. Example: library(mgcv) library(gam) If one simply does: help(gam) # No ``offline=TRUE'' then the following message appears: Help on topic 'gam' was found in the following packages: Package Library mgcv
2020 Oct 21
1
how do I remove entries in data frame from a vector
Hello, To remove the file extension it's much easier to use base R filename <- tools::file_path_sans_ext(basename(celFiles)) Hope this helps, Rui Barradas ?s 22:41 de 21/10/20, Rui Barradas escreveu: > Hello, > > This is probably because basename keeps the file extension, try instead > > > filename <- sub("(^[^\\.]*)\\..+$", "\\1",
2017 Jan 30
2
NIC Stability Problems Under Xen 4.4 / CentOS 6 / Linux 3.18
On 01/30/2017 04:17 PM, Adi Pircalabu wrote: > On 28/01/17 05:21, Kevin Stange wrote: >> On 01/27/2017 06:08 AM, Karel Hendrych wrote: >>> Have you tried to eliminate all power management features all over? >> >> I've been trying to find and disable all power management features but >> having relatively little luck with that solving the problems. Stabbing
2013 Oct 19
2
ivreg with fixed effect in R?
I want to estimate the following fixed effect model: y_i,t = alpha_i + beta_1 x1_t + beta_2 x2_i,tx2_i,t = gamma_i + gamma_1 x1_t + gamma_2 Z1_i + gamma_3 Z2_i I can use ivreg from AER to do the iv regression. fm <- ivreg(y_i,t ~ x1_t + x2_i,t | x1_t + Z1_i + Z2_i, data = DataSet) But, I'm not sure how can I add the fixed effects. Thanks! [[alternative HTML
2012 Nov 29
1
instrumental variables regression using ivreg (AER) or tsls (sem)
Dear friends, I am trying to understand and implement instrumental variables regression using R. I found a small (simple) example here which purportedly illustrates the mechanics (using 2-stage least-squares): http://www.r-bloggers.com/a-simple-instrumental-variables-problem/ Basically, here are the R commands (reproducible example) from that site: # ------ begin R library(AER)
2010 Jun 03
1
mlogit and weights
Hello, I can't figure out why using and not using weights in mlogit yields identical results. My motivation is for the case when an "observation" or "individual" represents a number of individuals. For example, library(mlogit) library(AER) data("TravelMode", package = "AER") TM <- mlogit.data(TravelMode, choice = "choice", shape =
2011 Jul 06
2
wgcna
Hi, I'm running a tutorial ("Meta-analyses of data from two (or more) microarray data sets"), which use wgcna package. I have an error in the function modulePreservation (it is below). I'm using R2.13 Can you help me? Do you know, what is happens? Thanks Raquel multiExpr = list(A = list(data=t(badea)),B = list(data=t(mayo))) # two independent datasets (dim = 13447 x 36) mp =