Displaying 20 results from an estimated 60000 matches similar to: "Detecting missing variables"
2009 Mar 24
2
Calculating percentage Missing value for variables using one object
Hi,
I have a dataset in which there are in all 250 variables and for each
variable the data is entered over the months.
I need to calculate the percentage of missing values for each variable over
each month and then plot a graph for that.
I am running the following code for doing the same
*ds <- read.csv(file="filepath", header=TRUE)
attach(ds)
may <-
2009 Jan 26
1
Plotting graph for Missing values
Hi,
I have imported one dataset in R.
I want to calculate the percentage of missing values for each month (May
2006 to March 2007) for each variable.
Just to begin with I tried the following code :
*for(i in 1:length(dos))
for(j in 1:length(patientinformation1)
if(dos[i]=="May-06" && patientinformation1[j]=="")
a <- j+1
a*
The above code was written to calculate
2008 Aug 06
2
Merging two datasets
I am facing a problem in merging two datasets.
I have given codes to the names which are common in both the datasets and
also to those which are uncommon.
When I gave gave the following command
merge(df1,df2)
only those rows and columns were merged which were having common codes.
When I viewed the results, only common codes are seen and the remaining
entries are not seen.
Can anyone guide me
2008 Aug 13
1
Installing R in Ubuntu
Hi,
I am running Ubuntu on my Windows OS through VMware.
I am trying to install R in Ubuntu, but not getting with those commands,
which are there on the site.
Can anyone please tell me how to install it, stepwise, with commands to be
used.
As I m new to Ubuntu as well, I am not aware of the commands very well.
Thanks,
Shreyasee
[[alternative HTML version deleted]]
2008 Oct 30
1
Creating Vignettes
Hi,
I want to create a new vignette and include it in an already existing
package.
That package has already many vignettes which are related to the chapters
from the book on which the package is built.
It would be a great help if anyone could help to understand how to create
vignette for a statistical test like Chi-Square test.
Thanks,
Shreyasee
[[alternative HTML version deleted]]
2009 May 27
2
Intra-observer reliability
Hi,
I searched a lot on the internet but was unable to find the function for
calculating the kappa statistics for intra-observer reliabilty.
Can anybody help me in the this regards.
Thanks,
Shreyasee
[[alternative HTML version deleted]]
2009 Mar 16
1
Scatterplot
Hello,
I am having a dataset in which the values range from 0 - 700000.
When I tried to plot a scatterplot using following command
plot(x,y)
I got the plot where the x-axis and y-axis were displayed as 0e+00, 1e+05,
2e+05, .......
I saw the dataset, but there is no erroneous value.
Can anybody guide me on this?
Thanks,
Shreyasee
[[alternative HTML version deleted]]
2013 Apr 25
1
Linear Interpolation : Missing rates
Dear R forum
I have data.frame as
df = data.frame(rate_name = c("USD_1w", "USD_1w", "USD_1w", "USD_1w", "USD_1m", "USD_1m", "USD_1m", "USD_1m", "USD_2m", "USD_2m", "USD_2m", "USD_2m", "GBP_1w", "GBP_1w", "GBP_1w", "GBP_1w",
2010 Jan 22
1
Invalid input error in tm package
Hello,
I am working on "tm" package.
I have 2 pdf files saved in the directory D:/Files
I issued the following commands (marked in red bold) for which I got some
errors and warnings (marked in bold)
*surgj <- Corpus(DirSource("D:/Files"), readerControl = list(language =
"ansi"))*
*Warning messages:
1: In readLines(y, encoding = x$Encoding) :
incomplete final
2009 Jun 18
1
histogram for time with format hh:mm
Hi,
I have a dataset and calculated the time difference between two time
variables.
The output is somewhat like *"1/29/2324 1:57:39 AM".*
I want to plot a histogram for this variable. When I gave *hist()* command
it returned an error saying *"Error in hist.default(num) : 'x' must be
numeric"*
Can anybody guide me on this as to how should I plot the histogram for this?
2005 Sep 15
2
cdr server
Good day all
Is it possable to set asterisk up as a cdr server for other voip units
We got a quintum dx here and its got a option to log to a cdr server on
port 9002
Thanks
Altus
2010 Jan 12
2
how to handle missing values "." when importing data in R
hi, I have a question about importing data in R.
I want to import a file which has missing value in it, and the missing
values are denoted as ".", I want to first read in the file, and then change
the "." into the number zero "0".
how can I do that?
thank you,
karena
--
View this message in context:
2013 Apr 03
4
Better way of writing R code
Dear R forum,
(Pl note this is not a finance problem)
I have two data.frames as
currency_df = data.frame(current_date = c("3/4/2013", "3/4/2013", "3/4/2013", "3/4/2013"), issue_date = c("27/11/2012", "9/12/2012", "14/01/2013", "28/02/2013"), maturity_date = c("27/04/2013", "3/5/2013",
2013 Apr 16
3
Splitting the Elements of character vector
Dear R forum
I have a data.frame
df = data.frame(currency_type = c("EURO_o_n", "EURO_o_n", "EURO_1w", "EURO_1w", "USD_o_n", "USD_o_n", "USD_1w", "USD_1w"), rates = c(0.47, 0.475, 0.461, 0.464, 1.21, 1.19, 1.41, 1.43))
currency_type rates
1 EURO_o_n 0.470
2 EURO_o_n 0.475
3 EURO_1w 0.461
2005 May 28
1
Quintum Tenor AXT800!
Hello *'s,
I have question regarding Quintum Tenor AXT800 VOIP gateway can anyone
integrate it with asterisk if anyone what is the scenerio i have
scenerio which is quite simple but i am confused about it whether it
is possible or not :
I integrate it with asterisk for interanet no PSTN at all just only
IPphones and analog phones connected on FXS port.Is it's neccassary to
cannect with
2008 Sep 18
2
detecting null values in a CSV file
Hello all,
I have a CSV file, that is 2411 columns wide. There are certain instances in
teh file, where null values are located. That is: two commas together,
without anything in the middle. In a certain section, the only possible
values are NULL, 0,1,and 2. I need to be able to detect these NULL's and be
able to have them counted. For example, in a frequency table. How can I
accomplish this?
2011 May 26
1
R import glitch "missing data"
Hello!
I am trying import data into R and im running into a snag.
GOAL:
Import a 4 column, 8,000 row table into R including headers.
WHAT I'VE ATTEMPTED:
Original data was in Excel format.
Converted data to both a .txt and .csv (to see which worked better)
Imported data into R via commands as object "demand" (see below)
Please excuse the long file path.
2012 Jun 07
1
factor coercion with read.csv or read.table
How do I fix this error ? I tried coercion to a vector but that didn't work.
msci <-read.csv("..MSCIexUS.csv", header=TRUE)
head(msci)
Date index
1 Dec 31, 1969 100
2 Jan 30, 1970 97.655
3 Feb 27, 1970 96.154
4 Mar 31, 1970 95.857
5 Apr 30, 1970 85.564
6 May 29, 1970 79.005
> str(msci)
'data.frame': 510 obs. of 2 variables:
$ Date : Factor w/ 510
2010 Jul 27
4
Sweave and scan()
I am introducing the scan() function to my class. Consider the following
file (Scanexamp.Rnw )
\documentclass[12pt]{article}
\begin{document}
<<>>=
height = scan()
64 62 66 65 62
69 72 72 70
part = scan(what = character(0))
"Soprano" "Soprano" "Soprano"
"Alto" "Alto" "Tenor"
"Tenor" "Bass"
2007 Mar 08
4
Asterisk distributed deployment
Hello all, I post this issue thinking too that could help other people on an
asterisk deployment over distributed offices considering both quality, prices,
devices and so.
Well, i am working on a deployment of a telephony system based in asterisk. My
company have a central office with seven remote offices connected all through a
VPN. To reduce and evaluate costs i consider solutions like: