Displaying 8 results from an estimated 8 matches for "veryc".
Did you mean:
very
2024 Aug 02
2
grep
...own descriptive routine.
> 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"???? "s...
2024 Aug 02
1
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] "depressi...
2024 Jul 12
2
grep
...out. 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.
>
> Sounds like homework?
>
> which(grep("very|somewhat", x))
>
> Be...
2024 Jul 12
1
grep
...part a regression 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 -...
2024 Jul 12
1
grep
...ession 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.
Sounds like homework?
which(grep("very|somewhat", x))
Best,
Uwe Ligges
> est se t p g...
2024 Jul 12
1
grep
...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("...
2024 Jul 12
0
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 home...
2024 Jul 14
0
grep
...ows 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.
>>>>>
>>>>&...