Displaying 3 results from an estimated 3 matches for "falsiti".
Did you mean:
falsifi
2011 Jan 10
5
Changing a logical matrix into a numeric matrix
Hi,
I would like to turn my TRUE/FALSE matrix into a 1/0 matrix (i.e. True=1 and
False=0)
[,1] [,2] [,3]
[1,] TRUE FALSE FALSE
[2,] TRUE TRUE FALSE
[3,] TRUE TRUE TRUE
[,1] [,2] [,3]
[1,] 1 0 0
[2,] 1 1 0
[3,] 1 1 1
Is there a quick way of doing this without a loop?
Thanks Emma
--
View this message in context:
2010 Feb 28
6
A slight trap in read.table/read.csv.
I had occasion recently to read in a one-line *.csv file that
looked like:
"CandidateName","NSN","Ethnicity","dob","gender"
"Smith, Mary Jane",111222333,"E","2/25/1989","F"
That "F" (for female) in the last field got transformed to
FALSE. Apparently read.csv (and hence read.table) are inferring
2018 Jul 18
0
ET Y M OSO C A TOAY. Moscow. Hypo-X-Us .... TO DAY ... & AND Y Msg o' Pi ... "e, Ya!" ... at the crossroads of Secord, Oli North and ... Ved
...thing like an Alexa or O*siri*
that you can /really trust/; it takes time and active involvement and
really wanting the right outcome for yourse*lv*es and the common good--I
see a system that rejects outright misinformation, un-facts or opinions
based on non-factual information, and rejects logical falsities as a core
system function ... then later something that colors levels of belief based
whether or not specific "articles" are intended to be objective and
unbiased or persuasive, or without opinion at all. Detail of data, how it's
been summarized; all of those things contribute to bi...