Displaying 8 results from an estimated 8 matches for "somewhatl".
Did you mean:
somewhat
2024 Aug 02
2
grep
...> x
?[1] "age"????????? "sleep"??????? "primary"????? "middle"
?[5] "high"???????? "somewhath"??? "veryh"??????? "somewhatm"
?[9] "verym"??????? "somewhatc"??? "veryc"??????? "somewhatl"
[13] "veryl"??????? "village"????? "married"????? "social"
[17] "agricultural" "communist"??? "minority"???? "religious"
> colnames(mydata)
?[1] "depression"???? "sleep"????????? "fem...
2024 Aug 02
1
grep
...?[1] "age"????????? "sleep"??????? "primary"????? "middle"
> ?[5] "high"???????? "somewhath"??? "veryh"??????? "somewhatm"
> ?[9] "verym"??????? "somewhatc"??? "veryc"??????? "somewhatl"
> [13] "veryl"??????? "village"????? "married"????? "social"
> [17] "agricultural" "communist"??? "minority"???? "religious"
> > colnames(mydata)
> ?[1] "depression"???? "sleep"...
2024 Jul 12
2
grep
..."grep" to identify
>> rows headed by variables (first column) with a certain label. In this
>> case, I like to find variables containing "somewhath",
>> "veryh",?"somewhatm", "verym", "somewhatc", "veryc","somewhatl",
>> "veryl". The result should be an index 6:13 or 6,7,8,9,10,11,12,13. Note
>> that they all contain "somewhat" and "very". Thanks.
>
> Sounds like homework?
>
> which(grep("very|somewhat", x))
>
> Best,
> Uwe Ligges
&g...
2024 Jul 12
1
grep
...printout. How can I use "grep" to identify
rows headed by variables (first column) with a certain label. In this
case, I like to find variables containing "somewhath",
"veryh",?"somewhatm", "verym", "somewhatc", "veryc","somewhatl",
"veryl". The result should be an index 6:13 or 6,7,8,9,10,11,12,13. Note
that they all contain "somewhat" and "very". Thanks.
est se t p g sig x.1.age 0.0341 0.0138 2.4766 0.0133 -3.8835e-04 **
x.1.sleep -0.1108 0.0059 -18.6277 0.0000 -4.4572e-04 *** x.1.pri...
2024 Jul 12
1
grep
...ow can I use "grep" to identify
> rows headed by variables (first column) with a certain label. In this
> case, I like to find variables containing "somewhath",
> "veryh",?"somewhatm", "verym", "somewhatc", "veryc","somewhatl",
> "veryl". The result should be an index 6:13 or 6,7,8,9,10,11,12,13. Note
> that they all contain "somewhat" and "very". Thanks.
Sounds like homework?
which(grep("very|somewhat", x))
Best,
Uwe Ligges
> est se t p g sig x.1.age 0.0341 0.0...
2024 Jul 12
1
grep
...quot; to identify
>>> rows headed by variables (first column) with a certain label. In this
>>> case, I like to find variables containing "somewhath",
>>> "veryh",?"somewhatm", "verym", "somewhatc", "veryc","somewhatl",
>>> "veryl". The result should be an index 6:13 or 6,7,8,9,10,11,12,13.
>>> Note
>>> that they all contain "somewhat" and "very". Thanks.
>>
>> Sounds like homework?
>>
>> which(grep("very|somewhat",...
2024 Jul 12
0
grep
...t;>>> rows headed by variables (first column) with a certain label. In this
>>>>> case, I like to find variables containing "somewhath",
>>>>> "veryh",?"somewhatm", "verym", "somewhatc", "veryc","somewhatl",
>>>>> "veryl". The result should be an index 6:13 or
>>>>> 6,7,8,9,10,11,12,13. Note
>>>>> that they all contain "somewhat" and "very". Thanks.
>>>>
>>>> Sounds like homework?
>>>>...
2024 Jul 14
0
grep
...ables (first column) with a certain label. In
>>>>>> this
>>>>>> case, I like to find variables containing "somewhath",
>>>>>> "veryh",?"somewhatm", "verym", "somewhatc", "veryc","somewhatl",
>>>>>> "veryl". The result should be an index 6:13 or
>>>>>> 6,7,8,9,10,11,12,13. Note
>>>>>> that they all contain "somewhat" and "very". Thanks.
>>>>>
>>>>> Sounds like homewo...