similar to: Help with Names

Displaying 20 results from an estimated 1000 matches similar to: "Help with Names"

2018 Mar 14
2
truncation/rounding bug with write.csv
I don't see the issue here. It would be helpful if people would report their sessionInfo() when reporting whether or not they see this issue. Mine is > sessionInfo() R version 3.4.3 (2017-11-30) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Arch Linux Matrix products: default BLAS/LAPACK: /usr/lib/libopenblas_haswellp-r0.2.20.so locale: [1] LC_CTYPE=en_US.UTF-8
2018 Mar 14
2
truncation/rounding bug with write.csv
To my surprise, I can confirm on Windows 10 using R 3.4.3 . As tail is not recognized by Windows cmd, I replaced with: system('powershell -nologo "& "Get-Content -Path temp.csv -Tail 1') The last line shows only 7 digits after the decimal, whereas the first have 15 digits after the decimal. I agree with Dirk though, 1.6Gb csv files are not the best way to work with
2018 Mar 14
2
truncation/rounding bug with write.csv
Hello, I have looked on https://www.r-project.org/bugs.html , but it seems that this is the only way to do it. The issue is that the precision used by write.csv is on consistant for big files. See the following code: First I create a large dataframe filled with random uniform values. Then I write it to .csv and print out the first and last lines. df = data.frame(replicate(100, runif(1000000,
2013 Apr 12
2
model frame and formula mismatch in model.matrix()
Hello everyone, I am trying to fit the following model All X. variables are continuous, while the conditions are categoricals. model <- lm(X2
2018 Mar 14
0
truncation/rounding bug with write.csv
My apologies for not including sessionInfo(), and I'm a bit angry at myself for that. Retrying in a fresh session of R, I get different results. More specifically, I get the expected result where accuracy is the same in the first and the last line. As I didn't include my sessionInfo() in my previous mail, I can't figure out why I now have a different result. So I'm positive
2009 Jun 24
2
change the height or scale of the y axis
Hallo, All, I have a question about changing the height or scale of the y axis. When I use following two R codes, I can get two plots. Please look at the y axes, the number of indices (x1, x2, ?) on the y axis in the first plot is smaller than that in the second plot, and hence the space between any two indices in the first plot is wider than that in the second plot. As the number of indices
2012 May 25
2
Query about creating time sequences
Hi All, I have a query about time based sequences. I know such questions have been asked a lot on forums, but I couldnt find the exact thing that I was looking for. I want to create a time-based sequence which will mimic the trading window AND would span multiple days. Something like below: "2011-01-03 09:15:00 IST" "2011-01-03 09:15:01 IST" .... .... .... "2011-01-03
2018 Mar 14
0
truncation/rounding bug with write.csv
What OS are you on? On Ubuntu 17.10 with R 3.4.3 all seems well (see below for your example, I just added a setwd()). [ That said, I long held a (apparently minority) view that csv is for all intends and purposes a less-than-ideal format. If you have that much data, you do generally not want to serialize it back and forth as that is slow, and may drop precision. The rds format is great for R
2009 Aug 24
0
R survival package error message - bug?!
Dear all, I have encountered a weird behaviour in R survival package which seems to me to be a bug. The weird behaviour happens when I am using 100 variables in the ridge function when calling coxph with following formula Surv(time = futime, event = fustat, type = "right") ~ ridge(X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13, X14, X15, X16, X17, X18, X19, X20, X21, X22,
2013 Apr 05
1
Accessing examplars in apcluster (apcluster package)
Hi, I was wondering how it was possible to access the actual cluster exemplars from the APResult class. Currently it only spits it out onto the terminal if you type the object but there is no other way to see which one is the examplar. Would appreciate any help. Thanks, Sachin [[alternative HTML version deleted]]
2018 Mar 14
0
truncation/rounding bug with write.csv
I ran this code in RStudio Server on a linux machine, but I don?t know the version offhand. I will try to get it tomorrow. Thanks. Thanks, Greg Michaelson www.datarobot.com 704-981-1118 > On Mar 14, 2018, at 4:47 PM, Joris Meys <jorismeys at gmail.com> wrote: > > To my surprise, I can confirm on Windows 10 using R 3.4.3 . As tail is not recognized by Windows cmd, I replaced
2011 Aug 20
2
a Question regarding glm for linear regression
Hello All, I have a question about glm in R. I would like to fit a model with glm function, I have a vector y (size n) which is my response variable and I have matrix X which is by size (n*f) where f is the number of features or columns. I have about 80 features, and when I fit a model using the following formula,? glmfit = glm(y ~ x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10 + x11 + x12 + x13
2004 May 11
1
calling data frames
Dear List, I've around 1000 *.txt files, I've generate with other software. I've now done the following code (below). My question is how can I automate this (with do.call () ?), so it could be done for all the *.txt files. Thanks in advance, Rog??rio names<- list.files() file <- "BLU_Var_%04d.txt" for(i in 1:1000){
2011 Jun 01
1
as.character limits length of result for formula
If you want a character representation of a long formula (or a formula with long names), you can use: as.character(my.formula) However restriction on length of an as.character result returns only the beginning of a long formula, and without comment. In most cases, the following expression provides the complete result: paste(my.formula[[2]], " ~ ",
2010 Mar 09
0
error with adaboost: replacement has 186 rows, data has 62
Hi, all, When running > AB.fit=adaboost(ylearn, xlearn, xtest, presel=0) I got the following error: Error in `[[<-.data.frame`(`*tmp*`, preds, value = c(4L, 6L, 6L, 6L, 3L, : replacement has 186 rows, data has 62 The data structure is attached below: [1] "ylearn" [1] 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 [40] 1 1 1 1 1 1 1 0
2005 Jun 06
1
Help package pls.pcr
Hello! I need help to use the package pls.pcr in R. I installed R in an IRIX 6.5, using the version of R 0.64.1 from sgifreeware(I didn't get to install the newest version using make). I need to use the package pls.pcr and when I give the command: # R R : Copyright 1999, The R Development Core Team Version 0.64.1 (May 8, 1999) R is free software and comes with ABSOLUTELY NO
2005 Jan 14
2
Porting from Linux to Windows
I intend to port an R project from Linux to Windows. It involves C code that is loaded via dyn.load(). I could manage to produce a 'dll' File using cygwin which seems to be o.k. Now, using dyn.load("pcr.dll") i get: Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "c:/cygwin/home/pingu/rt-pcr/pcr.dll": LoadLibrary
2008 Jul 01
1
Help in using PCR
Hi, Currently I have a dataset of 2400*408. And I would like to apply PCR method to study the any correlation between the tests. My current data is in data.frame and I have formed horizontal(1-407) to be the exact data, and (408) to be my results data(Yes and No) I have also binarized these Yes and No to 1 and -1s. However, when I refer to PCR manual on R, the example of yarn.pcr <-
2005 Jun 01
2
"mvr" function
Hello, I am trying to understand how to utilize the "mvr" function in the pls Package of R. I am utilizing the R "pls Package" document dated 18 May 2005 as guidance. My data set consists of a 12 x 12 data frame created from reading in a table of values. I have read the data in via the command: volumes <- read.table("THA_vol.txt", header = TRUE) and then
2017 Jul 19
2
spaghetti plot - urgent
Hi everyone, I?m trying to do a spaghetti plot and I know I?m doing all wrong, It must be. What I need: 15 subjects, each with measurements over 5 different times (t1, ..., t5), and the variable that I need to represent in the spaguetti plot is given by: PCR = b0 + b1 * ti + epsilon B0, - baseline of each subject B1 - trajectory of each subject over time (so multiply by t) Epsilon - error