Displaying 20 results from an estimated 200 matches similar to: "Question about error of "non-numeric argument to binary operator""
2005 Mar 23
1
Error in unitrootTest (fSeries)
Hello, I am getting the following error message from unitrootTest.
Do you have any clue of what could be wrong.
Details: AMD64 (x86_64) Gentoo Linux system.
library(fSeries)
kmodel <- list(ar=c(.3,0,0,0,0.7,-.4*.7),d=1)
x=armaSim(nobs,model=kmodel)
unitrootTest(x,trend="c",statistic="t",method="adf",lags=2)
Error in file(file, "r") : unable to open
2010 Jun 08
2
problem with if else statement
Dear colleagues,
What did I not understand ?
->my intention
I want to create a new variable:
In plain language:
If someone is taking anithypertensive treatment (med.hyper==1)
table(med.hyper)
med.hyper
0 1
472 97
I want to subtract 5 mmHg (rr.dia.2m-5) from the measured diastolic
blood pressure (rr.dia.2m)
if not treated - the value of the measured diastolic blood pressure
should
2012 Dec 25
1
Blazer_usb Permissions problem: Input/output error
Merry Christmas to you all and best wishes!
I ran into exactly the same problem as described.
OS: FreeBSD 9.0-Rel
UPS: Eaton E-Series NV 600H
NUT: from Ports, nut-2.6.5_1
driver: blazer_usb
I am sure the problem is not permission-related as it occurs even when
the driver runs as root.
My tested recipe for USB permissions is:
1. run usbconfig to find where the device is connected. In my case:
2012 Nov 21
6
Scaling values 0-255 -> -1 , 1 - how can this be done?
I have a dataframe in which I have values 0-255, I wish to transpose them such that:
if value > 127.5 value = 1
if value < 127.5 value = -1
I did something similar using the "binarize" function of the biclust package, this transforms my dataframe to 0 and 1 values, but I wish
to use -1 and 1 and looking for a way in R to do this.
Brian
2013 Aug 30
3
Memory usage bar plot
Hi,
I haven't tried the code yet. Is there a way to parse this data
using R and create bar plots so that each program's 'RAM used' figures are
grouped together.
So 'uuidd' bars will be together. The data will have about 50 sets. So if
there are 100 processes each will have about 50 bars.
What is the recommended way to graph these big barplots ? I am looking
2008 Aug 04
2
Howto Smooth a Curve Created with the Point Function
Hi all,
I have this figure:
http://docs.google.com/Doc?id=df5zfsj4_103rjt2v4d5
created with the following steps:
> x
[1] 90.4 57.8 77.0 103.7 55.4 217.5 68.1 85.3 152.0 113.0 97.1 89.9
[13] 68.1 83.7 77.4 34.5 104.9 170.3 88.6 88.1 108.8 77.4 85.6 82.7
[25] 81.3 108.0 49.5 71.0 85.7 99.3 203.5 275.9 51.1 84.8 16.5 72.6
[37] 160.5 158.3 136.7 140.0 98.4 116.1
2011 Nov 11
2
Estimating IRT models by using nlme() function
Hi,
I have a question about estimating IRT models by using nlme, not just rasch
model, but also other models.
Behavior Research Methods
<http://www.springerlink.com/content/1554-351x/> Volume
37, Number 2 <http://www.springerlink.com/content/1554-351x/37/2/>, 202-218,
DOI: 10.3758/BF03192688
Using SAS PROC NLMIXED to fit item response theory models (2005). Ching-Fan
2007 Aug 08
1
Mustek PowerMust 1000AV USB feedbacks
Hello,
It looks like the nut-upsuser list is momentarily down. That's why I
send it to nut-upsdev list too.
I have recently bought a mustek Powermust 1000VA USB (sadly not the USB
P version). I have done some tests with the latest nut 2.2.0 megatec and
megatec_usb drivers. Here are my feedbacks.
It works quite well but is extremely noisy in battery mode (and that
is not the noise of the
2007 Aug 08
1
Mustek PowerMust 1000AV USB feedbacks
Hello,
It looks like the nut-upsuser list is momentarily down. That's why I
send it to nut-upsdev list too.
I have recently bought a mustek Powermust 1000VA USB (sadly not the USB
P version). I have done some tests with the latest nut 2.2.0 megatec and
megatec_usb drivers. Here are my feedbacks.
It works quite well but is extremely noisy in battery mode (and that
is not the noise of the
2002 Oct 30
1
Error in Fields TPS function {svd ...} again
Thanks for all the helpful responses. I include the data file and the
syntax file for reference. Again, if I use the fields function, as is, I
get the message:
Error in svd(tempM) : error 159 in dsvdc
using traceback, I get:
> traceback()
4: stop(paste("error ", z$info, " in dsvdc"))
3: svd(tempM)
2: Krig(x, Y, cov.function = rad.cov, m = m, decomp = decomp,
2011 Aug 25
2
Using write.table i have a table with two columns i would like to save it as an excel file
Using write.table i would like to save data as an excel file to a folder. I
am not too sure how to write the file path or what to name the file. I would
appreciate any feedback.
> write.table(x, file = "", append = FALSE, quote = TRUE, sep = " ",
+ eol = "\n", na = "NA", dec = ".", row.names = TRUE,
+ col.names =
2006 Oct 19
1
Problem Reading from .txt
I apologize that I've asked a similar question before, but being new to
R I don't think I did a very good job of formating the question.
I've included a text file since the date set is somewhat large.
What I have is a huge string of numbers in a text file. The numbers are
all separated by comma's and the groups are separated by a semicolon.
What I would like to do is read each
2019 May 23
2
writing Unicode text to the Windows clipboard
Hello,
I'm interested in moving text from and to the clipboard that cannot
necessarily be represented in the native encoding. So, really, this is
about Windows.
I can successfully read from the clipboard by specifying the format that
corresponds to unicode text.
From R >=2.7.0, it seems you should also be able to write unicode text
to the Windows clipboard.
2008 Jan 24
0
readClipboard() from spreadsheet to data.frame with column names?
This code opens a CSV file from the working directory set by wd. I copy
2 or more columns in the spreadsheet and then close it. What I need
help with is setting the first row as the column names in
clipboardTextAsDF. There is probably a simple or better way to do this
but I have been away from R for awhile now. I just be over-thinking this.
I tried read.DIF to read the clipboard but that
2001 Oct 01
1
Grouped Regression
HI All R Gurus,
Please reply directly to this email if you have a suggestion, as I am not
currently an R-help member.
I would like to complete a non-linear regression with groups. Having gone
down the path of completing such
things under GENSTAT, I would prefer to do it with R.
My example data set is...
TimeTreat ExtrVol2 SorbedT
ET1 39.5 384.5
ET1
2019 May 24
0
writing Unicode text to the Windows clipboard
Hello,
I'm interested in moving text from and to the clipboard that cannot
necessarily be represented in the native encoding. So, really, this is
about Windows.
I can successfully read from the clipboard by specifying the format that
corresponds to unicode text.
From R >=2.7.0, it seems you should also be able to write unicode text
to the Windows clipboard.
2013 Apr 09
0
Reading Data
Hi,
I tried to read your data from the image:
OPENCUT<- read.table("OpenCut.dat",header=TRUE,sep="\t")
OPENCUT
????????? FC???? LC? SR? DM
1? 400030.34 1323.5?? 0 400
2?? 12680.13??? 2.5?? 0 180
3? 472272.75 2004.7?? 3 300
4? 332978.03 1301.3 106 180
5?? 98654.20? 295.0?? 0 180
6?? 68142.05? 259.9? 69 125
7? 178433.11? 425.0? 49 180
8?? 96765.83? 635.5? 12 180
9? 204808.90?
2004 Nov 19
2
Clipboard under Linux/Unix
Hello,
This may be a trivial question, but I don't find the answer in R online
help. Under Windows, I can copy/paste to the clipboard using
readClipboard()/writeClipboard(), or something like cat(..., file =
"clipboard"). Are there equivalent function for other platforms?
Best,
Philippe Grosjean
..............................................<??}))><........
) ) ) ) )
( (
2020 May 15
4
NUT -2.7.4 with Tripp Lite SMX1000 LCD on RPI4 runing 64bit ubuntu 20.04
Hi,
This is a newbie post so please bear with me.
After loosing my router to a random Subminute outage. I looked around
for a fanless UPS and bought Tripp Lite SMX1000LCD
The above constellation works. But I have some questions about outputs.
Please see attache nut report for the config.
upsc output:
--8<--
fourpi01:~# upsc tripp
Init SSL without certificate database
battery.charge: 100
2012 Oct 15
1
performance analytics
hi Michael,
am sorry for the incomplete reply .
csv file data havinmg like this ,
>getSymbols("IBM")
>weekly_data = to.weekly(week_name)
>dataframe=data.frame(weekly_data)
>outputfile_name="F:\\R-programs\\Outputfile.csv"
>write.table(dataframe, file =outputfile_name,sep = ",",col.names
=TRUE,row.names = T)
> datafrom_table <-