Displaying 20 results from an estimated 60 matches similar to: "Inserting rows of interpolated data"
2013 Mar 07
1
create vector from indices interpolated values
Readers,
Is it possible to create a plot command based upon the indices of
missing values in a data set?
dataset1<-read.table(text='
10 2
20 NA
30 5
40 7
50 NA
60 NA
70 2
80 6
90 NA
100 9
')
dataset2<-read.table(text='
0.2
0.4
0.1
0.9
0.2
0.3
1.1
0.7
0.9
0.6
0.4
')
The 'approx' function is used to obtain the interpolated values for
'NA' in dataset1.
2008 Dec 21
1
How can I get the interpolated data?
Hello,everybody!
I am a beginner of R.
And I want to ask a question. If anybody would help me, thank you very much
ahead.
I want to plot something like a response surface, and I find the "rsm"
package.
Some commands are like this:
#code head
library(rsm)
CR = coded.data(ChemReact, x1 ~ Time, x2 ~ Temp)
CR.rsm = rsm(Yield ~ SO(x1,x2), data = CR)
summary(CR.rsm)
contour(CR.rsm,x1~x2)
2001 Sep 05
2
Replacing NAs with interpolated values
Hi there,
I've got this vector:
-84 -87 -90 -90 -89 -86 NA NA NA NA NA NA NA NA NA NA NA NA -96
-99 -100 -99 -96 -92 -89 -87 -87 -88 -90 -92 -94 -95 -96
-97 -97 -97 -96 -95
Is there a function in R which replaces the NAs with "interpolated"
values between -86 and -96?
Thanks, Sven
2011 Dec 05
1
finding interpolated values along an empirical parametric curve
Given the following data, I am plotting log.det ~ norm.beta, where the
points depend on a parameter, lambda
(but there is no functional form).
I want to find the (x,y) positions along this curve corresponding to two
special values of lambda
lambda.HKB <- 0.004275357
lambda.LW <- 0.03229531
and draw reference lines at ~ -45 degrees (or normal to the curve) thru
these points.
How can I do
2001 Jun 15
1
contrasts in lm and lme
I am using RW 1.2.3. on an IBM PC 300GL.
Using the data bp.dat which accompanies
Helen Brown and Robin Prescott
1999 Applied Mixed Models in Medicine. Statistics in Practice.
John Wiley & Sons, Inc., New York, NY, USA
which is also found at www.med.ed.ac.uk/phs/mixed. The data file was opened
and initialized with
> dat <- read.table("bp.dat")
>
2012 May 25
1
Problem with Autocorrelation and GLS Regression
Hi,
I have a problem with a regression I try to run. I did an estimation of the
market model with daily data. You can see to output below:
/> summary(regression_resn)
Time series regression with "ts" data:
Start = -150, End = -26
Call:
dynlm(formula = ror_resn ~ ror_spi_resn)
Residuals:
Min 1Q Median 3Q Max
-0.0255690 -0.0030378 0.0002787
2008 Feb 07
1
ActiveRecord 'find_or_initialize_by' dynamic finder bug? Ignoring conditions.
Hello all,
I just ran into something that I think is a bug, and I would like to
confirm with the core team whether this is expected/desired behavior
or if this is a bug that I should file and develop failing tests for
(I doubt I have the active record method_missing fu to actually patch
it).
Test Scenario:
I would like to find or initialize a new user and base the find on the
users email
2015 May 02
2
Samba 4 slow write
Hi folks,
On Fri, Apr 24, 2015 at 08:01:54AM +0800, Jones Syue wrote:
> Hello Ervin,
>
> > I'll notify to you about the result. (First, I need to upgrade
> > that server.)
>
> Sure! That will be great help me to understand if this patch
> works on thast compiling case too,
> thank you.
I"ve downloaded the Ubuntu's Samba 4.1.6 deb source, and patch it
2008 Jan 04
1
GLMMs fitted with lmer (R) & glimmix (SAS)
I'm fitting generalized linear mixed models to using several fixed effects (main effects and a couple of interactions) and a grouping factor (site) to explain the variation in a dichotomous response variable (family=binomial). I wanted to compare the output I obtained using PROC GLIMMIX in SAS with that obtained using lmer in R (version 2.6.1 in Windows). When using lmer I'm specifying
2009 Apr 16
0
Lin Model with interactions
Hi all,
I have a question about linear model with interaction:
I created a data frame df like this:
>df
V1 V2 V3 V4 V5
1 6.414094 c t a g
2 6.117286 t a g t
3 5.756922 a g t g
4 6.090402 g t g t
...
which holds the response in the first column and letters (a,c,g,t) in the
other columns. I am interested to see if there are interactions between the
neigbouring letters
2009 Apr 17
0
Linear model with interaction
Hi all,
I have a question about linear model with interaction:
I created a data frame df like this:
>df
V1 V2 V3 V4 V5
1 6.414094 c t a g
2 6.117286 t a g t
3 5.756922 a g t g
4 6.090402 g t g t
...
which holds the response in the first column and letters (a,c,g,t) in the
other columns. I am interested to see if there are interactions between the
neigbouring letters
2009 Jan 26
1
glm StepAIC with all interactions and update to remove a term vs. glm specifying all but a few terms and stepAIC
Problem:
I am sorting through model selection process for first time and want to make
sure that I have used glm, stepAIC, and update correctly. Something is
strange because I get a different result between:
1) a glm of 12 predictor variables followed by a stepAIC where all
interactions are considered and then an update to remove one specific
interaction.
vs.
2) entering all the terms
2015 Apr 23
2
Samba 4 slow write
Hi Jones,
many thanks again four your help and your time.
Thanks for the patch too - I'll check it up.
On my Ubuntu, there is a Samba 4.1.6. I'll install the samba
source package, and will try to apply the patch, then - I hope -
the package will be compiled as well.
I'll notify to you about the result. (First, I need to upgrade
that server.)
Thanks again,
Ervin
On Thu, Apr
2010 May 11
0
more USB logs
# export USB_DEBUG=5
# /usr/local/ups/bin/usbhid-ups -a CP550SLG -DDDDD
Network UPS Tools - Generic HID driver 0.34 (2.4.3)
USB communication driver 0.31
0.000000 debug level is '5'
0.000426 upsdrv_initups...
usb_set_debug: Setting debugging level to 5 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 001
usb_os_find_busses: Found 002
2015 Nov 16
2
Contact-closure UPS
Hi Charles,
>----- Original Message -----
>From: "Charles Lepple" <clepple at gmail.com>
>To: "R?bert SZAKSZ" <robert at szaksz.eu>
>Cc: nut-upsuser at lists.alioth.debian.org
>Sent: Monday, November 16, 2015 3:20:17 PM
>Subject: Re: [Nut-upsuser] Contact-closure UPS
>
>[please use reply-all when responding - the list does not modify the
2009 Feb 02
9
ActiveRecord Unexplainable SystemStackError - Only in WEBrick
This SystemStackError is driving me crazy. It only takes place when
testing with WEBrick - I can''t reproduce it with any tests. It is
caused by calling the "missing" id method (base.rb:2435) on my
ActiveRecord class.
WEBrick and my tests are running as the same user, with a `ulimit -s`
of 10240. Plus the query works sometimes so I don''t think this
matters.
2012 Jun 07
0
how lm behaves
I was wondering if somebody could explain why I get different results here:
>treats[,2]<-as.factor(treats[,2])
>treats[,5]<-as.factor(treats[,5])
>treats[,4]<-as.factor(treats[,4])
#there are 'c' on more days than I have 'h2o2', where treats[,4] is the day. I only want 'c' that correspond to the same days that I have a 'h2o2' also.
2006 May 11
2
greco-latin square
Hi,
I am analyzing a repeated-measures Greco-Latin Square with the aov command.
I am using aov to calculate the MSs and then picking by hand the appropriate
neumerator and denominator terms for the F tests.
The data are the following:
responseFinger
mapping.code Subject.n index middle ring
little
----------------------------------------------------------------------------
1 1
2015 Nov 19
2
Contact-closure UPS
Hi Charles,
I am done with few things:
I made the cable - looks good, because I see some activities.
I upgraded NUT to 2.7.3.
but I have no success to start driver(this are the outputs)
nut.cfg
MODE = netserver
ups.conf
[infosec]
driver = nutdrv_qx (or blazer_ser)
port = /dev/ttyS1
desc = "XP Pro 2500 RM"
output(nutdrv_qx cmd upsdrvctl -DDD start)
Network UPS
2011 Feb 04
1
nut unable to communicate with new APC SMX100 over USB
I'm trying to set up nut-2.6 with a SMX1000 ups unit from APC on a
CentOS 4.8 server. It's connected via USB, and Linux has detected it as
a HID device. Nut was built from source code.
T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 21 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=051d ProdID=0003 Rev= 1.06
S: Manufacturer=American Power