blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8014d33fe017a6263b844b775338ff9720f8a703 | 0748e639c10a783c8791fb9a8e768fc57c549286 | /cachematrix.R | 0e8aeeccbe1e9763b91268e009afa0b35f88a773 | [] | no_license | ikpunk/ProgrammingAssignment2 | 72e97d47191896157e35b0769e4f6fb7aa175b1e | 80d75e4e98f8add96c6da2d953b890454ebdbd75 | refs/heads/master | 2022-12-22T01:06:51.472538 | 2020-09-26T13:15:46 | 2020-09-26T13:15:46 | 298,346,756 | 0 | 0 | null | 2020-09-24T17:20:39 | 2020-09-24T17:20:38 | null | UTF-8 | R | false | false | 1,330 | r | cachematrix.R | ## this one is really close to the "mean" exapmle in the instructions but it works
## this function makes a list which contains 4 elements which are functions those set or get the matrix and its inverse
makeCacheMatrix <- function(x = matrix()) {
invM<-NULL
set<- function(y) {
x<<-y
... |
2b3456ad7178b639a61bc645d33646a1bde52de6 | 54d3a2509f7406c12be67877bf91a11d92628917 | /Econ591/data/membership.r | d5d43a1797d4132520d0c3c4927e5aae1d939d36 | [] | no_license | ochampo/Business-Plan | f07821a2b5a595937af23f87ba4e5d8553962ec2 | a2fa670563d686859dd10a6be745af643bb9fa26 | refs/heads/master | 2021-09-01T18:39:04.665430 | 2017-12-28T08:34:58 | 2017-12-28T08:34:58 | 114,740,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,472 | r | membership.r | install.packages("dslabs")
install.packages("dplyr")
install.packages("tidyverse")
install.packages("psych")
install.packages("ggplot2")
library(dplyr)
library(tidyverse)
library(ggplot2)
library(psych)
#rm(gapminder)
#CSUS2011 <- read.clipboard.tab()
#CSUS2011 <-food
GrowingMarket <- read.csv(file = "/home/o/ocampod... |
5f1cf0864599342ef4d1337e57061363f52c09a9 | 37c45fe9fcdfc7ffeba837f552b0c9f9cf1a08ee | /1b1vectors.R | 2e08973c2c6f92ba7a78abdb8129b0bdfad3b787 | [] | no_license | HarshitSG/analytics1 | 2f59ec8dff3200b4fa7645f16108200701eb4779 | 7f1ecac2dcc22c021e42a553b83353fc0441d85c | refs/heads/master | 2020-04-02T11:02:26.331392 | 2018-10-24T18:51:44 | 2018-10-24T18:51:44 | 154,367,762 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,224 | r | 1b1vectors.R | # Vectors and Basic Statistics - Univariate Analysis
#packages required - e1071, modeest
#single dimension of same data type
#x = c(3, 'Data', TRUE) # cannotr
#create numbers in sequence----
x1 <- 10:19
x1
(x1 = 10:19)
(x1 = sample(x=10:19))#pick in random order
x1
print(x1) #see the position numbers start from 1
(y =... |
76f50ca54d007e94be1b84d73f517e902af3e2d2 | 74d23aff9362c2ecf3e6a5883d98b4db65546740 | /cachematrix.R | 7108b66b0a10cbafe61d55de77ef360c2602b2ff | [] | no_license | kimberleyanne/ProgrammingAssignment2 | 6806c6211e7af69342e6d4f43bd595548caae24d | eb97864d0cb639044118497b6186abfdb6bbfc3d | refs/heads/master | 2020-04-13T16:56:23.942533 | 2018-12-27T22:28:25 | 2018-12-27T22:28:25 | 163,334,309 | 0 | 0 | null | 2018-12-27T20:41:47 | 2018-12-27T20:41:46 | null | UTF-8 | R | false | false | 1,699 | r | cachematrix.R | ## The following functions make use of R's lexical scoping to cache the results of a time-intensive operation:
## calculating the inverse of a matrix.
## The makeCacheMatrix function creates a series of setter and getter functions and returns those functions in a named list.
## x and i are created in the makeCac... |
8ee7672b1cde3cd9d0936deaac688ce76acf251a | 85a4fea32070f0cd1f5d20a15f6d95e843bf978d | /Capastone/R script.r | 847232c6a4336316875cbca251201ef4b4989506 | [] | no_license | ningyuliu114/Final-Capstone-Project-Submission---Ning | a6470a24cc56d88b66a0d057f770f6fbb77554ca | 0c1a72b41a013297903060add8a1e1797e02f1d5 | refs/heads/master | 2020-03-19T22:21:39.159391 | 2018-06-11T18:50:34 | 2018-06-11T18:50:34 | 136,967,503 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,647 | r | R script.r | #rm(list=ls())
#install.packages('car')
#Single Detached Housing
#graph Data vs Index
attach(Single_Detached_Houseing)
View(Single_Detached_Houseing)
#Analyse of Index
summary(Index)
#Analyse of Growth (%Y-0-Y)
summary(`Growth (%Y-O-Y)`)
#graph DatE vs Index
xS<- c(Single_Detached_Houseing$Date)
SingleyS<- c(Singl... |
5eedcdad812bf189f4776d9ed67838b0c3cce556 | 037eb02d33f2dd6eb0e257106d1ce9fcb235e2be | /bin/directed_plots.R | a5803996575b6643adfc9b4fd45b0501bb4cbaaf | [] | no_license | CSB-IG/KEGG-IntegratedNetwork | 703d0d87d119bf1381a40ff2914a97408b68a0df | b1d8e2ca0b8104c69d34ac7f5d47440f49ff935d | refs/heads/main | 2022-12-19T22:03:29.953738 | 2020-10-21T03:18:24 | 2020-10-21T03:18:24 | 264,039,832 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,286 | r | directed_plots.R | ######### TOPOLOGY ALL NETWORK -MINUS ISOLATED NODES
#############
#############
plot_all_network_directed <- function(nodes.file, pdf.file){
pdf(pdf.file, onefile = T)
nodes.all <- read.table(nodes.file, sep=",", header=T, stringsAsFactors = F)
######### LOG-LOG DEGREE DISTRIBUTION
table.k.log <- t... |
2f44858b434c220b0fecfb16dcdedc01267debf6 | 67ad46995ca24ec2891ac13cf2e70b06e94f0932 | /man/noaa_api_data.Rd | c243db40f13e7eebef7c90bc71b632a363bce6e6 | [] | no_license | heike/wilyscraper | f76067574faa8042fb7d9839210c1e3e7fcef94f | b562b8a3d783d7473b028d14be6c6473ffb6498f | refs/heads/master | 2020-03-26T15:30:32.240404 | 2018-08-29T22:03:52 | 2018-08-29T22:03:52 | 145,047,684 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 834 | rd | noaa_api_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/noaa-weather-scraper.R
\name{noaa_api_data}
\alias{noaa_api_data}
\title{Get data from NOAA weather API for Ames, IA}
\usage{
noaa_api_data(location = NULL, var = c("TMAX", "TMIN"),
date_min = "2008-01-01", date_max = Sys.Date(), quiet = T)... |
b1ba20df3fad133ec0733ba3525616194d882c95 | 23cfd470af3f14fd76753c963a1ad7656c8c51e2 | /apportion.R | 8419b3b32936326673bb2e31b941cd664e8c2b9e | [] | no_license | sciav/uncap | 1c71b9ba2450fb1abfc47e6a729a44fe02c639c3 | 5b6d0edb655e3e534b3c5bcdd9752dc4ed072e0c | refs/heads/main | 2023-03-03T19:27:06.127461 | 2021-02-17T07:58:45 | 2021-02-17T07:58:45 | 339,642,113 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,996 | r | apportion.R | state_list <- c("Alabama", "Alaska", "Arizona", "Arkansas", "California",
"Colorado", "Connecticut", "Delaware", "Florida", "Georgia",
"Hawaii", "Idaho", "Illinois", "Indiana", "Iowa", "Kansas",
"Kentucky", "Louisiana", "Maine", "Maryland", "Massachusetts",
... |
4f4770f1aebf71b23803288a8f905ef197f0c8e1 | 12c545c0c8eb79240f43875505bddeffe2018950 | /man/install_torch.Rd | ab208e51bed5e8d19dd810b068dffa2b9fe89dbd | [
"MIT"
] | permissive | snapbuy/torch | 9322b8ee7e5ba1a31ac02a9151d4fc587a460ba7 | 8d968099ef78242062d4d301b2fc8364f2de2eb5 | refs/heads/master | 2023-08-26T16:41:10.695600 | 2021-10-19T22:56:58 | 2021-10-19T22:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,451 | rd | install_torch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/install.R
\name{install_torch}
\alias{install_torch}
\title{Install Torch}
\usage{
install_torch(
version = "1.9.0",
type = install_type(version = version),
reinstall = FALSE,
path = install_path(),
timeout = 360,
...
)
}
\argumen... |
69b8f6c5eb9d8030426889fc100d8ff22fabc86c | 72e8bd721b82c0e8239bf00129dbc1f00f19e2f2 | /testData/r_skeletons/mnormt.R | 18dff4049fb35416a1a12b74f90df25f4c224795 | [
"BSD-2-Clause",
"MIT"
] | permissive | yoongkang0122/r4intellij | 59dc560db7a1ea7aead2be8a98bbbba4e4051259 | e1dc26b462f94e3884d07ba5321eefa7263d1ad9 | refs/heads/master | 2021-01-25T09:20:56.708602 | 2017-05-13T05:52:49 | 2017-05-13T05:52:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,596 | r | mnormt.R | ##
## Exported symobls in package `mnormt`
##
## Exported package methods
biv.nt.prob <- function (df, lower, upper, mean, S)
{
if (any(dim(S) != c(2, 2)))
stop("dimensions mismatch")
if (length(mean) != 2)
stop("dimensions mismatch")
if (round(df) != df)
warning("non integer d... |
425834e071f5999c44e0d7deaaa23e5295f50d48 | 52fad9a4cadc7a8072def98e192e3b6c0df179f0 | /data-raw/DATASET.R | 3a592b6dae8f6fa4aeb463e26930aec39276dd20 | [
"MIT"
] | permissive | jmszetela/traitstrap | a910dd68afb9fb62fb6652fcf67afd91555a7dab | 43431e38450b5f3adf81649b99b4e867011dc736 | refs/heads/main | 2023-04-22T11:57:06.693264 | 2021-05-06T22:16:24 | 2021-05-06T22:16:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 309 | r | DATASET.R | library("tidyverse")
#### community ####
load("data-raw/community.RData")
community <- community %>%
mutate(Cover = as.numeric(Cover)) %>%
filter(!is.na(Cover))
usethis::use_data(community)
#### trait ####
load("data-raw/trait.RData")
trait <- trait %>% filter(!is.na(Value))
usethis::use_data(trait)
|
b2a6f4dc87dd244c10010fcd70676efe4a849497 | 364dcb95aac6dff3f8548768dc99bba945ec81b6 | /data-raw/luv_colours.R | ff25676a6b7fc385fd84304952ca8227bf33b967 | [
"MIT"
] | permissive | tidyverse/ggplot2 | 3ef62b72861c246b13ffc2d95678079984fe65c0 | c76b9aeda648e9b6022b7169021e854c3d3890cb | refs/heads/main | 2023-08-31T07:08:20.846510 | 2023-08-17T16:19:44 | 2023-08-17T16:19:44 | 19,438 | 4,632 | 1,971 | NOASSERTION | 2023-09-14T13:25:40 | 2008-05-25T01:21:32 | R | UTF-8 | R | false | false | 159 | r | luv_colours.R | luv_colours <- as.data.frame(convertColor(t(col2rgb(colors())), "sRGB", "Luv"))
luv_colours$col <- colors()
devtools::use_data(luv_colours, overwrite = TRUE)
|
cd27bae3ab7da1e245f80fa1b9c5931c1ce97c45 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/FDRSeg/inst/testfiles/smuce_cpp/smuce_cpp_output/log_d54768b7cb0aa48ca59c3cb777a9613367bd064c/smuce_cpp-test.R | 5fc20e3485363d262b31065123ea11d4cfc4a511 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 571 | r | smuce_cpp-test.R | testlist <- list(q = 8.72400335545415e-16, sd = 7.84869121851595e-78, Y = c(-9.9122759758109e-57, -1.64035674249925e-118, 1.05390745649826e+182, 8.05606797801028e-38, -3.84354256622327e+136, 2.36081589563427e-100, 3.01724164497879e-124, 9.57301250646523e+229, -7.99809293195875e-243, 3.06030363511005e-110, 3.2769550... |
8c871994c18bfb653a8f14e1697b3e23448df8c9 | cee79f82bf59e1164624d887a20de3089e335ee2 | /utils.R | d4b5feb45082e5d81ed95d44c8ad6d7cb1de2901 | [] | no_license | SergeyPry/NextWordPredict | b5c11580b1f91afdc19e9f3997d71960bf47d7ab | d8d2de929a57d81a25f5170770b1ef6fcd475443 | refs/heads/master | 2021-01-22T23:00:58.077573 | 2017-09-05T02:12:31 | 2017-09-05T02:12:31 | 102,422,569 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,460 | r | utils.R | # read in the profanity words
profanityWords <-read.csv("swearWords.txt", header = F)
profanityWords <- profanityWords$V1
# define a function to clean up the input
cleanInput <- function(inputText, profanityWords) {
doc <- VCorpus(VectorSource(inputText))
doc <- tm_map(doc, removeNumbers)
doc <- tm_map(d... |
da5c8136dcc92f054e47a2022d5dd01e5b95bf9a | 7effe9458b70b727f114f57279a4e858e87be451 | /man/get_palette.Rd | e2d98e398bae81f1528eb8571979eb7ab09c8fcb | [
"MIT"
] | permissive | saisaitian/dseqr | 09f26c346545e36d1614dbd49664d3d71da60592 | ff2f99f35331035eed5ab688f20b752031eb00d8 | refs/heads/master | 2023-06-21T17:10:15.590518 | 2021-08-05T23:48:47 | 2021-08-05T23:48:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 447 | rd | get_palette.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_scseq.R
\name{get_palette}
\alias{get_palette}
\title{Get a pallete for cluster plots}
\usage{
get_palette(levs, dark = FALSE, with_all = FALSE)
}
\arguments{
\item{levs}{Character vector of levels to get colour pallete for.}
}
\value{
C... |
6cc37ee504b23d5ca0c36fb8648b226a0daf964d | c091c70f8c4dfa1a4eb474ab20f5e30199858343 | /man/cv.gmf.Rd | 76e87ef5897dea90f644544b0d8e63d1c8d2a06d | [] | no_license | andland/generalizedPCA | d25a21794794560d0eecfc1d777f0e5ec28c18de | 36bccdd4bf82757b4a69c09cc763736a9d4aa4cd | refs/heads/master | 2021-01-17T15:06:55.758311 | 2018-08-04T15:56:26 | 2018-08-04T15:56:26 | 32,023,622 | 28 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,202 | rd | cv.gmf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generalizedMF.R
\name{cv.gmf}
\alias{cv.gmf}
\title{CV for generalized MF}
\usage{
cv.gmf(x, ks, family = c("gaussian", "binomial", "poisson", "multinomial"),
folds = 5, quiet = TRUE, ...)
}
\arguments{
\item{x}{matrix of either binary, cou... |
ffbb8c9014b3dd5c272517ea05ac19332dfebce5 | effe14a2cd10c729731f08b501fdb9ff0b065791 | /paws/man/guardduty_delete_ip_set.Rd | bae3acb6d3c5dcbe00cde9b320b846f6ceaa61b3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | peoplecure/paws | 8fccc08d40093bb25e2fdf66dd5e38820f6d335a | 89f044704ef832a85a71249ce008f01821b1cf88 | refs/heads/master | 2020-06-02T16:00:40.294628 | 2019-06-08T23:00:39 | 2019-06-08T23:00:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 642 | rd | guardduty_delete_ip_set.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/guardduty_operations.R
\name{guardduty_delete_ip_set}
\alias{guardduty_delete_ip_set}
\title{Deletes the IPSet specified by the IPSet ID}
\usage{
guardduty_delete_ip_set(DetectorId, IpSetId)
}
\arguments{
\item{DetectorId}{[required] The uniq... |
c0c116cf494289b86923e93b82f1d8b47d5e022b | c90e263ccf61d5d6c0bc33c715c85beec9cf6ef1 | /man/Cen.Rd | 0b722aacf3a58b2314c3cfc384dfa75fd0e423d3 | [] | no_license | cran/NADA | d68537895922ff0d882fbd1e4db0ea5bc8b83bb1 | b3584c690049bd498b427db75ebee4fadcb24bb7 | refs/heads/master | 2020-12-24T13:18:24.287687 | 2020-03-22T08:46:09 | 2020-03-22T08:46:09 | 17,681,060 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 4,264 | rd | Cen.Rd | \name{Cen}
\alias{Cen}
\title{
Create a Censored Object
}
\description{
Create a censored object, usually used as a response variable in a model
formula.
}
%\synopsis{Cen(obs, obs2, censored, type, origin)}
\usage{
Cen(obs, censored, type = "left")
%or
%Cen(time, time2, event, type=, origin=0)
%is.Cen(x)
}
\arguments{
... |
94d11f6b542166807fa4f48e10477c60cbaa53c9 | f408753b951e4d384b5960d6db31244615bdc3f8 | /estimate/server.R | df213d7f91d12b7818fa79ee91d0aac3803a2788 | [
"MIT"
] | permissive | wwwaylon/estimate | 9f9ae2cb2799c361baea1c203d83ba14a3d34f5d | ae76866b776d0ec4d3c886a0b81f621f1d35d03c | refs/heads/main | 2023-01-18T15:53:35.847049 | 2020-12-02T07:44:53 | 2020-12-02T07:44:53 | 317,754,182 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,694 | r | server.R | library(shiny)
library(shinythemes)
shinyServer(function(input, output, session){
vals <- reactiveValues()
observe({
#Example 1
vals$protocol_LB <- input$num_1[1]
vals$protocol_UB <- input$num_1[2]
vals$p_protocol <- input$per_1
vals$data_LB <- input$num_2[1]
vals$data_UB <- input$num_2... |
2859d94c243b8bef5f7e2854aab2d1c1244426ca | 05c0a5cd39167706f9a31102d47e6e48cd411ef7 | /start.R | 781eba432a41221402d0dc1b5be7aeaa2edc506c | [] | no_license | gusmmm/entrez_critical_care | 46c0b2245ee62aaa24bd058a2a864b1fcb9d859e | 7c61f62f4c6a76d403a8d6cf90b1489d4e20cf1b | refs/heads/master | 2020-03-20T21:30:00.099179 | 2018-06-19T09:30:13 | 2018-06-19T09:30:13 | 137,744,145 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,119 | r | start.R | # tools for text analysis of pubmed data
# source: pubmed abstracts and metadata
# objective - create tools to information extraction, visualization and knowledge creation
### packages
library(tidyverse)
library(rentrez)
library(tidytext)
library(XML)
### querying pubmed
# example: septic shock
# date: the month of m... |
bf53190a98b4cc12362e8da08b7b677fbfbf06fd | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/bigstatsr/tests/testthat/test-transpose.R | 6258d60e38c35d991b815956c2a34801541b4c14 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 698 | r | test-transpose.R | ################################################################################
context("TRANSPOSE")
set.seed(SEED)
options(bigstatsr.downcast.warning = FALSE)
################################################################################
# Simulating some data
x <- matrix(rnorm(2e4, 100, 5), 200, 10... |
22b8030ee7e577e994fbcf8cb2fa9b879727a717 | 6d33a4b4474bf05ec47a94cf03911cf00f493c17 | /Classification/Code/R/analysisScripts/bootstrap_resamples_output_rds.R | 40239169b896ca6f79297a82143ce9071056ee2b | [] | no_license | Genuity-Science/unconventionalML | a6d394e1f88b0a9174fb593ba9a4ddec96159e2f | 7e9d1eb5c13524b66da787fc88f2938831d7308a | refs/heads/master | 2023-08-05T22:02:55.025946 | 2021-09-22T16:28:07 | 2021-09-22T16:28:07 | 310,676,584 | 1 | 1 | null | 2020-11-06T20:19:57 | 2020-11-06T18:31:50 | R | UTF-8 | R | false | false | 3,495 | r | bootstrap_resamples_output_rds.R | # Output RDS file with metrics for bootstrap resamples. Run after
# doing analysis code in Matlab. Used to be consistent in how the performance
# metrics are calculated for the classical algorithms. Saves as .RDS file
# Author: Richard Li
rm(list=ls())
gc()
library(caret)
library(HandTill2001)
library(R.matlab)
datas... |
681ec31c5047614c835ac591176a06f4f95ff378 | 77271f2debe395f63b691a72feb6a94784885649 | /judge.R | 8a9a5b93c7ff9a8e2fd748d869fea62786853844 | [] | no_license | linazzzz/Judges | 17354b692aad39da8049d806d685042b504e42d6 | 1f349a484256f571510ac4dc4b9b8d645a47eecf | refs/heads/master | 2021-01-23T15:43:20.957759 | 2015-10-21T23:08:48 | 2015-10-21T23:08:48 | 43,928,136 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,850 | r | judge.R | library(ggplot2)
library(plyr)
library(reshape2)
## read data as a list
library(readxl)
data1<-read_excel("Refined Version.xlsx",sheet = 7)
data<-list()
Y<-c("09","10","11","12","13","14")
t<-1
for(i in 1:5)
{
data[[t]]<-read_excel("Refined Version.xlsx",sheet = i+1)
t=t+1
}
data[[6]]<-read_excel("Record 2014.xlsx... |
1a27a12a5ddf6ee2a2022b5c2cf962ca0acbd5fb | fbe57536cc2d84e69a5bf799c88fcb784e853558 | /R/sample.size.mean.t.onesample.R | 0985736e7c5bca0d21ce58590030d21373ff5ea7 | [
"MIT"
] | permissive | burrm/lolcat | 78edf19886fffc02e922b061ce346fdf0ee2c80f | abd3915791d7e63f3827ccb10b1b0895aafd1e38 | refs/heads/master | 2023-04-02T11:27:58.636616 | 2023-03-24T02:33:34 | 2023-03-24T02:33:34 | 49,685,593 | 5 | 2 | null | 2016-10-21T05:14:49 | 2016-01-15T00:56:55 | R | UTF-8 | R | false | false | 2,671 | r | sample.size.mean.t.onesample.R | sample.size.mean.t.onesample <- function(effect.size
,variance.est = 1
,alpha = .05
,beta = .1
,alternative = c("two.sided","less","greater")
... |
a96a1014192165977946e79d6b5e3d40d95a26c3 | 15ee05361f643750a6906120b0301a55cd7c9475 | /man/bhai.prettyTable.Rd | 9e51bf954c5985b7e524c530dd9d3f7b586f2e85 | [] | no_license | cran/BHAI | 97945f92bbe2b6df311f24511bd269b4bf707b46 | 1c9b40ccc1ee38958c9f050b8609f92b2acb25fc | refs/heads/master | 2020-08-06T21:17:57.476059 | 2019-10-06T09:20:02 | 2019-10-06T09:20:02 | 213,158,409 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,482 | rd | bhai.prettyTable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.R
\name{bhai.prettyTable}
\alias{bhai.prettyTable}
\title{Create summary table}
\usage{
bhai.prettyTable(pps, pop_norm=FALSE, conf.int=TRUE)
}
\arguments{
\item{pps}{The PPS object containing the data.}
\item{pop_norm}{Ind... |
25894ea33ea8c835e90ff9e81dcb49e819543514 | ae2d63ad7736caba5d3ab1056314bc972c5c6342 | /Data Generating Code.R | 706c9c23eb6b8ef698f3f435039e10294e72dcc9 | [] | no_license | jbtiez/Bayes_Project | 22493a3d9dbd252658e7c9d34e9c27ef4e776abb | ae47ad86aa6d24daca60db176893dfde5094775d | refs/heads/master | 2020-09-26T21:57:20.349181 | 2019-12-10T00:31:05 | 2019-12-10T00:31:05 | 226,350,270 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,640 | r | Data Generating Code.R | #creating a blank dataframe
setwd('C:/Users/Jason/downloads')
alb <- read.csv('mtt.csv')
ed_data <- data.frame(matrix(NA,6114,8)) #creating a blank dataframe to put our student data
names(ed_data) <- c("School", "Year", "Race", "Gender", "Disadvantaged", "ESOL", "Disabled","Passed" )
#Doing the binary variable... |
d4116cd9ac58668d77dc0b6dcff0248a5996e10c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bartMachine/examples/get_var_props_over_chain.Rd.R | 87984fd810b24105456c3c80d22ccaa813215a64 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 569 | r | get_var_props_over_chain.Rd.R | library(bartMachine)
### Name: get_var_props_over_chain
### Title: Get the Variable Inclusion Proportions
### Aliases: get_var_props_over_chain
### Keywords: ~kwd1 ~kwd2
### ** Examples
#generate Friedman data
set.seed(11)
n = 200
p = 10
X = data.frame(matrix(runif(n * p), ncol = p))
y = 10 * sin(pi* X[ ,1] * X[,... |
6c439c197560de91f222051eca705283abe901ab | d8b57d52cc20bc4900adb4032c1e56ce383d8798 | /R/AllMethods.R | 127ac9764dfb92bdbd8ded9ea0d51a70a846cf31 | [] | no_license | imkeller/gscreend | f6c3c67684fd3be5ffa3a5d9f763b7e2694dcfcb | 665812b89e5f2a893e4c4716d3ae86567f2d567c | refs/heads/master | 2021-08-27T21:40:34.038997 | 2021-08-09T10:04:00 | 2021-08-09T10:04:00 | 175,824,619 | 13 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,217 | r | AllMethods.R | #' Accessor function for the sgRNA slot of the PoolScreenExp class
#'
#' @param x PoolScreenExp object
#'
#' @return sgRNA slot of the object
#' @export
#'
#' @examples # import a PoolScreenExp object that has been generated using
#' # RunGscreend()
#' pse_an <- readRDS(
#' system.file('extdata', 'gscreend_analysed_exp... |
6786b3570405335c5b68e55394792a152acb69b0 | 7615b6157c4995bfbf3b0b0be3dcb92e39cc03e8 | /R/shinit.R | 65cd713aec987fd48a357484993f9cd7269e3d2d | [] | no_license | cecilieha/shinyrAtlantis | ab7a551269839ce2bdd52d349aa674279ca19cb7 | 88647bf809c892b09e9f00e5b68d12e649ca7dae | refs/heads/master | 2020-03-28T22:37:17.443178 | 2018-09-18T06:31:31 | 2018-09-18T06:31:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 59,488 | r | shinit.R | # 10/06/2016
#' @title Shiny application for viewing Atlantis initialisation data
#'
#' @description
#' Takes data from a .bgm box geometry file and a netCDF Atlantis input parameter file and provides
#' a visualisation of the data in the form of a shiny application. The two data
#' files must first be pre-processed b... |
47d5603c08525dbfbdd62793d27bdb98dac5485c | 831851a1edec68b8528f642de951dc5650dab78a | /spons/test.r.R | 9f6528561a597944aef5c56f6d88752b9b79418a | [] | no_license | cmason30/yorg-lab | 130e6852069f6bc4da69575b0b62207cbc33b627 | 95dd418dc1cf1e523af232736044c2613becda27 | refs/heads/master | 2021-08-18T04:01:04.380774 | 2021-07-19T01:37:50 | 2021-07-19T01:37:50 | 241,714,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 110 | r | test.r.R | print('hello world')
mydata <- read.csv('/Users/colinmason/Desktop/yorglab/testwork/the_mastersheet.csv')
|
1a84c1ed63c1196f178f4e4341bbb7bf35726737 | c81ff5da3b2645e7d8a19671703042c7b4c45455 | /man/iquery.Rd | f966a1435b3831d6fc20efacc328449b3320734d | [] | no_license | apoliakov/SciDBR | f4a193dc661bc5bf98e0dd3419091801cc5ecae2 | 2fb508ee32bb61aee24883f52143ac4fb8864d7c | refs/heads/master | 2021-01-13T06:38:36.283935 | 2017-03-30T22:24:54 | 2017-03-30T22:24:54 | 78,246,920 | 0 | 0 | null | 2017-03-30T22:24:54 | 2017-01-06T23:37:08 | R | UTF-8 | R | false | true | 1,456 | rd | iquery.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility.R
\name{iquery}
\alias{iquery}
\title{Run a SciDB query, optionally returning the result.}
\usage{
iquery(db, query, return = FALSE, binary = TRUE, ...)
}
\arguments{
\item{db}{a scidb database connection from \code{\link{scidbconnect... |
77ada87312ff94ff1bcbbf1a14617457c1dcd47b | a1f3381c7f961b060ff3d309968f3df9cdba5ce4 | /Csmart/cslmsearch.r | 3d1157a51bd087c0ca3aa42822feb00d3b272da0 | [] | no_license | cdzhang/gpuModelSearch | b75a971dea233796e6754ffd14ac602111c77e5e | 9d06f1bc831617736d73fecdabf4a73c0b471308 | refs/heads/master | 2021-05-15T15:39:08.643518 | 2012-09-11T17:53:10 | 2012-09-11T17:53:10 | 107,405,668 | 1 | 0 | null | 2017-10-18T12:31:41 | 2017-10-18T12:31:41 | null | UTF-8 | R | false | false | 2,333 | r | cslmsearch.r | library(gputools)
gpuCSlmsearch <- function(X, Y, g=NULL, sort="AIC", nsave=1000){
if(is.null(g))
g <- max((ncol(X)-1)^2, nrow(X))
out <- gpuCSlmsearch.fit(X, Y, g, sort, nsave)
return(out)
}
gpuCSlmsearch.fit <- function(X, Y, g, sorttype, nsave){
if(!is.loaded("CSlmsearch"))
dyn.load("~/gpuModelS... |
ba1cee4d594ffde19386751c3338128aef0e6037 | 9f35ee6ed29a04bf6c5bafd7ff09a076f626dc01 | /Exp_pattern/2.4.ICP_exp_in_validate_data-tumor-immune.GSE103322.R | a58afe292ddc08ca188d967e89913408dffaa286 | [] | no_license | mywanuo/immune-cp | fb4fbb9ef20120a1d2cad65f524d0a34bc2b5d9d | 9fb0ee0eff8636008eb587b20d5d2c9e3da18dad | refs/heads/master | 2022-10-28T11:44:24.513357 | 2020-06-19T10:00:30 | 2020-06-19T10:00:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,073 | r | 2.4.ICP_exp_in_validate_data-tumor-immune.GSE103322.R | ######################## verify the ICP expression site in head and neck single cell data set ############
######################## GSE103322_HNSCC
###### To understand the diversity of expression states within head and neck cancers, we profiled 5902 single cells from 18 patients with oral cavity tumors by single cell ... |
862e8360c4445674bae9451ae5783434f0ca7aaf | cb08a766e756654412e156e036e35472979dd82f | /_site/code/feb27-inclass.R | 9afb88ffceef11a258b00f767f0a88a0ac97d976 | [] | no_license | Stat480-at-ISU/Stat480-at-ISU.github.io | 4572dcda1e850d921aa0c0fa49df303f7059fba7 | 8d857269be947ef7ef0752eee13aa6e7fa591872 | refs/heads/master | 2023-04-13T05:59:11.157492 | 2020-04-30T13:14:21 | 2020-04-30T13:14:21 | 234,110,711 | 0 | 1 | null | 2023-04-12T00:10:01 | 2020-01-15T15:28:00 | HTML | UTF-8 | R | false | false | 3,247 | r | feb27-inclass.R | # class 2/27/20
# slides: more dplyr ---------------------
library(dplyr)
library(nycflights13)
data(flights, package = "nycflights13")
str(flights)
flights %>% glimpse()
?flights
## CREATE SUMMARIES
flights %>%
group_by(dest) %>%
summarise(
dist = mean(distance, na.rm = TRUE),
delay = mean(arr_delay, n... |
ff0b421dbedab52f3cc8dc51a159983b8060127a | c78d6c58e47ff01700e082dde12bd08523352cc2 | /plot2.R | 1fec5684df7fb63206558883c751cff3987d6efd | [] | no_license | kaniapiatkowska/ExData_Plotting1 | e5786f12120af6a2bb7d888e0813805e1a7236bf | 4d705024285651831e7f605d01f17580496a5168 | refs/heads/master | 2020-12-28T19:34:02.917674 | 2019-11-04T11:22:47 | 2019-11-04T11:22:47 | 45,624,088 | 0 | 0 | null | 2015-11-05T16:30:07 | 2015-11-05T16:30:07 | null | UTF-8 | R | false | false | 856 | r | plot2.R | #Loading the data
setwd("C:/Dane/MOJE/Zuzka/Coursera/DataScientistToolbox/Rscripts/Course4")
file<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(file, destfile = "./exdata_data_household_power_consumption.zip")
unzip("./exdata_data_household_power_consumpt... |
a2acc10862f2e5415eef6e42a5a990075841dc0c | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8677_3/rinput.R | b0806704b5aea30a4148df10c54d2f730bd2bec7 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("8677_3.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8677_3_unrooted.txt") |
2d04999bf39c9fadc8620e2e5774b5ad944a3fbe | 2b7c639c59425cc3f1a7b0a0c11b3e390da4f65c | /ui.R | aa1e2511c42e6a160a5b98fafc1eede1d92908a3 | [
"MIT"
] | permissive | tosaddler/pubchem-heatmap | f0760b4ab5f9bcfb1f8d30b68feea5c9d2bead6f | ab637e8c764ad21c596fad30a57adce43869fc58 | refs/heads/master | 2021-06-17T16:27:35.958861 | 2020-04-22T21:10:40 | 2020-04-22T21:10:40 | 99,131,010 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,302 | r | ui.R | library(shiny)
library(heatmaply)
shinyUI(
navbarPage("pubchem-heatmap",
tabPanel("Heatmap",
fluidPage(
tags$head(tags$script('
var dimension = [0, 0];
$(document).on("shiny:connected", function(e) {
dimension[0] = window... |
6df9c3bbb599d5b9e440a67bf50080e95d76e6e0 | 9354e6fdd0b3476ca2f99139de5b76fd10844bd3 | /create_grids.R | cd922b61dc788a79057fc81e38fb50638b7674a7 | [] | no_license | nwdaudt/PhD_seabirdsAustralasia | 163f1f5a65f48351d491856d6bacbb6f9aeac476 | d976d379032492644b5f3b27a340747a58e32867 | refs/heads/main | 2023-08-24T16:16:30.892854 | 2021-09-08T01:09:16 | 2021-09-08T01:09:16 | 339,901,391 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,570 | r | create_grids.R | library(sf)
library(tidyverse)
library(mapview)
## Create the four corners from the grid area
a <- as.data.frame(matrix(c(109, 109, 162, 162, -8.5, -49, -49, -8.5), ncol = 2))
# view(a) ## check it
a2 <- a %>%
sf::st_as_sf(coords = c("V1","V2"), crs = 4326)
# mapview::mapview(a2) ## check it spatially
## Squared ... |
af21412c7faf59e39a02f78b71517152ea030b64 | ee7a448d0cdfe0478a82ba713e1cc6a5c9e0db4a | /01_materials/images/norms/R/03_analysis.R | e5c905ddafc73091e82018bd50fa0a0dcb3a1f8b | [
"CC-BY-4.0"
] | permissive | gpwilliams/levenik | ce46b00534b564280ff4f1023e69c2082d842344 | 2eeeb6a6a96849e408f1152ac3391b6caaffedf5 | refs/heads/master | 2021-08-06T08:39:03.528594 | 2021-07-28T15:46:01 | 2021-07-28T15:46:01 | 165,866,366 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,415 | r | 03_analysis.R | # load data ----
f_data <- read_csv(f_path)
w_data <- read_csv(w_path)
rp_data <- readRDS(rp_subset_output_path)
# subset to colour items only
rp_data[2:5] <- rp_data[2:5] %>%
map(~ .x %>% select(item_number, concept, contains("color")))
# create summaries ----
# our compression ----
w_data %>% summarise(GIF_mea... |
ce57ed45c1bcdeaad3eea6d2310c65aa6c76a03f | 7da38e61a45196c99c83f2a495197dd38df599d5 | /app.R | 1cfed27bf962ee389587f2859d3b98e781f1745c | [] | no_license | ax42/k8s-axDemo | b378f34d6408fe9a0ea8b694dd5c797dd2b987e7 | 154651effa84ef5f0d065fdecac0c7450779f337 | refs/heads/master | 2020-06-20T22:33:49.993063 | 2019-08-06T19:53:47 | 2019-08-06T19:53:47 | 197,273,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,240 | r | app.R | library(shiny)
library(dplyr)
library(ggplot2)
library(httr)
library(base64enc)
# Define UI for application that draws a histogram
ui <- fluidPage(
titlePanel("k8s demo app"),
fluidRow(
column(2,
tabsetPanel(type = "tabs",
tabPanel("Parameters",
... |
5b9e9472232abed9ae86e5bce7112da8e66ccb0f | 86f5758c21a2371e67c1a55e28dc1d2d349a6e6c | /src/rev_figure_S1.R | 147966d60c085f378cc6f00aa17f9438d15bbcf3 | [] | no_license | fredlandfors/VIPVIZA-LPL | 3b6974e99e0e56a46193d72d98d379c25a0d6d02 | 59bd88e6cca1518845ca84a6e278da173739e967 | refs/heads/master | 2023-07-30T10:31:44.591032 | 2021-09-13T12:06:32 | 2021-09-13T12:06:32 | 305,151,620 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,002 | r | rev_figure_S1.R | # Reviewed manuscript ----
check_packages(
bioc_packages = c(),
cran_packages = c("ggstatsplot", "cowplot", "ggplot2", "wesanderson",
"boot")
)
library(cowplot)
## Get data ----
itc <- merge(
sampleMetadata[c("ID", "ITC")],
missData.dataMatrix,
by = "ID"
)
## Fig A: Scatter ----
### Subs... |
896237bb3e66dc8324b025a73b72f177ec90fe52 | a2d95f7b0d4455be280aa7a0e14b0acb576cbe61 | /src/rserve/R/performArima.R | 44ca02996bc6c4a03110fb187878e88da8aeb55b | [] | no_license | sallgoood/jARIMA | b4b2d9dae583c9c5d290a862cd54775d65e3bf7f | fc78cf0a2609039f40df2b66a017eb59b4d48ed9 | refs/heads/master | 2023-04-23T20:27:36.929584 | 2019-04-14T19:22:55 | 2019-04-14T19:22:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 197 | r | performArima.R |
performArima <- function(tsData) {
fut <- tsData %>%
auto.arima() %>%
forecast(1) %>%
as.data.frame()
return(c(
fut$`Hi 95` %>% as.double(),
fut$`Lo 95` %>% as.double()))
} |
7b66319586329385df76c3031aaeb42fd014e94e | 71c2db324708ac9f49cdb6bea15a33c901837703 | /R/est_mtfa.R | 2f9448d34eec1e0aebab3678ab9a4942c35dd7dc | [] | no_license | suren-rathnayake/EMMIXmfa | 8e3e5515a756755ca7530e79b14b926ce542d20a | 413ff590398c58e3c7596205b102cceaa827643b | refs/heads/master | 2021-07-09T17:35:17.106766 | 2019-02-23T22:31:33 | 2019-02-23T22:31:33 | 125,965,418 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,532 | r | est_mtfa.R | # est.mtfa <- function(Y, g, q, itmax, tol, pivec, B, mu, D, sigma_type,
# D_type, v, df_update, conv_measure, ...) {
est.mtfa <- function (init_para, Y, itmax, tol,
v, df_update, conv_measure, ...) {
p <- ncol(Y)
n <- nrow(Y)
fit <- c(init_para, list(v = v, df_update = d... |
359f8b4bdfe88bf1889041616fc3b9a3d07bc0c6 | 46d83ecc49e9c5bacb8cfa394378cd6e6ec6735d | /man/sta_lta_calc.Rd | fcc023209bf3c5fcc0d68d62557e14dec167a04e | [
"MIT"
] | permissive | wltcwpf/hvsrProc | 33e6b9d54079636d07c7650ac556b1b0e987edef | 84f47382d77b658149616f1c7166372f9260033f | refs/heads/master | 2023-08-17T16:29:58.269725 | 2023-08-16T19:14:40 | 2023-08-16T19:14:40 | 358,467,058 | 10 | 1 | null | null | null | null | UTF-8 | R | false | true | 645 | rd | sta_lta_calc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{sta_lta_calc}
\alias{sta_lta_calc}
\title{STA to LTA calculation}
\usage{
sta_lta_calc(ts, short_term, long_term, moving_term)
}
\arguments{
\item{ts}{An array of time series}
\item{short_term}{An integer, short term leng... |
d8ab046b4a9d2a712b199a83646ff16606949b99 | ec8aac4bc5a9e3f6ea44b2f017e79e86bf948ec1 | /R/getDataSelic.R | 055b07eda70c58f1b8b3b18f6bf078a9afa4abff | [] | no_license | lojadedados/rtesourodescomplicado | d8ece192aba62ad5783a64234767e14bf52cfbbd | e96c153033c17a9863a99c3f51caca84cf4e2aae | refs/heads/master | 2021-01-12T11:29:32.973793 | 2016-12-15T13:13:00 | 2016-12-15T13:13:00 | 72,937,021 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,285 | r | getDataSelic.R | #' @title get data Selic
#' @description Funcao para recuperar dados Selic
#' @author Rodrigo Almeida
#' @export
#' @param updateDataSeNaoDisponivel: TRUE se deseja fazer download do arquivo de dados caso o mesmo não esteja disponível, FALSE caso o arquivo já esteja disponível.
getDataSelic <- function(updateDataSeNaoD... |
c3d7ee4e5ced9fc4dc69efca0929cc0fb6eab25b | 65e8918b036ddd7dc691cb7ad3b2f3d4e39d26d8 | /rProgramming/code/corr.R | 27956facbd0a27516d5f44162d584a991dc1d44c | [] | no_license | jaeddy/jhuDataScience | e782eadbca8dabd756a2c63d6ad41aacd86c36a9 | 2e76db6afd48837f69a2a5f1bc625ba66b3f0ebe | refs/heads/master | 2021-01-22T23:20:16.846429 | 2017-01-21T00:02:44 | 2017-01-21T00:02:44 | 25,954,556 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,167 | r | corr.R | corr <- function(directory, threshold = 0) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'threshold' is a numeric vector of length 1 indicating the
## number of completely observed observations (on all
## variables) required to compute the correlation bet... |
4c638fefb528e9cba92e87099c22681c1575676c | ab9bd6a16ebbd0668039981ea12af8a45c932618 | /R/mw_conc_fltr.R | faf7fd9c73849f076a43b943bf491ff2a4d9b93f | [] | no_license | KeesVanImmerzeel/mipwelcona | 5899ea62d4fb3f6136d5f43a3116548f4edb2e13 | ba6877fda6f1bb48462a4bfcd2aa00507ad23d12 | refs/heads/master | 2023-01-04T07:15:28.045119 | 2020-10-29T20:53:59 | 2020-10-29T20:53:59 | 299,615,620 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,232 | r | mw_conc_fltr.R | #' Calculate concentrations of filter at times as specified in table created with \code{\link{mw_conc_streamlines}}
#'
#' @param fltr_nr (unique) Well number (numeric).
#' @param sl_fltr_table Dataframe as created with the function \code{\link{mw_create_sl_fltr_table}}.
#' @param conc_streamlines Table (tibble) as crea... |
a8c03034f44bcc128a33f1b0b2a68ee91c10a7f8 | b66de58525899583058979bc7da771f36fe7e0db | /man/selectRunning.Rd | 453bc2a34b93d2d6ab385a816fcf7b822c381913 | [] | no_license | keyonghu/openair | 4e90d78e23f170e3299870fd88bcd616cdee14cf | a432ec912180678b7f3034eaec98c9b0e36485b9 | refs/heads/master | 2021-05-26T03:10:21.854502 | 2020-04-06T08:04:48 | 2020-04-06T08:04:48 | 254,028,347 | 1 | 0 | null | 2020-04-08T08:24:50 | 2020-04-08T08:24:50 | null | UTF-8 | R | false | true | 1,921 | rd | selectRunning.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/selectRunning.R
\name{selectRunning}
\alias{selectRunning}
\title{Function to extract run lengths greater than a threshold}
\usage{
selectRunning(mydata, pollutant = "nox", run.len = 5, threshold = 500)
}
\arguments{
\item{mydata}{A data fram... |
3fddc3826665d6f90556f53bd30b667846a92781 | 7c039033d523e95f98edabe5f1c0a83130da5b42 | /regression_and_other_stories/david/exercises_8.R | 0099be9194676f71aec1afe45b94e788d5391594 | [] | no_license | davidlindero/reproducibilitea_bookclub | 664d21b203b36755b8e09820ee42734ae13beab2 | eafcee5d8cb52364a28744cf4dc27f5f674505ea | refs/heads/main | 2023-03-09T23:04:33.832278 | 2021-02-25T15:16:02 | 2021-02-25T15:16:02 | 335,567,277 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,081 | r | exercises_8.R | # library("rstanarm")
# source("./exercises_6.R")
rss <- function(x, y, a, b){
resid <- y - (a + b*x)
return(sum(resid^2))
}
datapath <- c("../../../ROS-Examples/ElectionsEconomy/data/hibbs.dat")
hibbs <- read.table(datapath, header=TRUE)
head(hibbs)
# ressum <- rss(hibbs$vote, hibbs$growth, 1, 1)
a_hat... |
3b98b6bdc5fc75bef0c238d6055b838380d001a3 | 6d03d53a99e228c29a9cdadbb58508de30905e16 | /man/as_shadow.data.frame.Rd | 77848065f76a39075f5932c3415e321cc14b5525 | [] | no_license | rpodcast/naniar | 4e8f6547d4aed9cbe7d7b189ce93cd25ea76b554 | b67795b110a25315894e02c433433e3965127d68 | refs/heads/master | 2021-06-22T06:39:47.063573 | 2017-07-31T08:52:15 | 2017-07-31T08:52:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 491 | rd | as_shadow.data.frame.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shadows.R
\name{as_shadow.data.frame}
\alias{as_shadow.data.frame}
\title{Create shadow data}
\usage{
\method{as_shadow}{data.frame}(data, ...)
}
\arguments{
\item{data}{dataframe}
\item{...}{selected variables to use}
}
\description{
Return... |
0e5ecbb50db3050ba2a40bd6ff234e4906b1cfce | d5374bc17cf01b39d09c3f0e8f71698a33a59719 | /BDM/2/lab2.R | a81b621f12463190127f31fe1a29e548364cc46a | [] | no_license | MaryanaYavorska/BDM | 8abe732e2b2c2a187f2dae128e6faa609cbb2a09 | 4c1d7b35eef57be49b3ca7ccd3d23817224ed08e | refs/heads/master | 2020-05-04T12:29:10.458276 | 2019-05-10T15:14:13 | 2019-05-10T15:14:13 | 179,123,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 628 | r | lab2.R | library (dplyr)
library (ggplot2)
movie_body_counts <- read.csv ( 'filmdeathcounts.csv')
head(movie_body_counts)
str(movie_body_counts)
movie_body_counts$body_per_min <- movie_body_counts$Body_Count/movie_body_counts$Length_Minutes
ggplot(movie_body_counts, aes(x=Body_Count)) + geom_histogram(bins=20, color="da... |
2ac3d67e4e5df80e734d7c14a6da5625d28fb196 | f359c78df08d0c541e17115d8469694b094207ef | /R/valueID.R | e2230fcb8390790b7d68daeb8f68191d73728dd4 | [] | no_license | patrickweigelt/bRacatus | 851845474d646f20218996b9317f3f83c977d23f | 9742a169a2b506e0fa86068197b82ea2986e77eb | refs/heads/master | 2022-12-03T21:39:41.397792 | 2020-07-30T15:47:49 | 2020-07-30T15:47:49 | 287,520,743 | 0 | 0 | null | 2020-08-14T11:48:46 | 2020-08-14T11:48:45 | null | UTF-8 | R | false | false | 919 | r | valueID.R | #' valueID
#'
#' Extracts signal values and ID from each cell
#'
#' @param checklists_raster List containing rasterised checklists for presence, native and alien reference regions
#' @return A list with cell IDs and signal values for all cells where the species is present, native and alien.
#' @examples
#' country_che... |
d1aab0ad014813034ee7cdb2ac952387f3dc3b58 | 756ae4c4bf31cca6824f839f23b81dc037443868 | /cachematrix.R | db1e016d1040d7a764f1ac76b3273f831ccc2b6a | [] | no_license | lipgee/ProgrammingAssignment2 | b5f39d92037666453b43db57f77e5960ae7f9f33 | 2ef59222ffc205cc9dc2a2e37eed4b221101daa3 | refs/heads/master | 2020-12-03T05:10:57.418770 | 2015-05-20T01:38:04 | 2015-05-20T01:38:04 | 35,819,516 | 0 | 0 | null | 2015-05-18T13:29:01 | 2015-05-18T13:29:00 | null | UTF-8 | R | false | false | 1,900 | r | cachematrix.R | ## The following two functions named makeCacheMatrix and cacheSolve
## is to help in matrix computation activity. Generally the operation
## to inverse a matrix is consider a resource intensive and potential
## time consuming activity.
## makeCacheMatrix function is to cache a matrix object
## Couple of features have b... |
4cd4d733809a98a5ec4fd8a7d94eb96077412cfd | 27349f4446f5ad940c80fce8e30498295a1ce76d | /R/method-merge.R | 52c6468c5f278150de1d677073826c14edec7c76 | [] | no_license | heavywatal/tidytree | f3e3cab5cb9299b1eceb2b2a673d4b07efe60948 | d19c8adc0e8670a1c677b4d775487deeaa699751 | refs/heads/master | 2021-07-13T02:22:06.128885 | 2020-07-03T02:34:59 | 2020-07-03T02:34:59 | 162,420,903 | 0 | 0 | null | 2018-12-19T10:23:00 | 2018-12-19T10:22:59 | null | UTF-8 | R | false | false | 149 | r | method-merge.R | ##' @method merge tbl_tree
##' @export
merge.tbl_tree <- function(x, y, ...) {
res <- NextMethod()
class(res) <- class(x)
return(res)
}
|
fa2f4da2020957869b44de13fc0469892b490a98 | 4484cb4a9492b9bcb687d3e77f3cbcb4185ab0aa | /R/splitstree.R | 2b17be6e03dd2933ea3a2b2dd5017d0f070cbfb1 | [] | no_license | IVS-UZH/RSplitsTree | f690e1f547b5c16068e8e7f57cd87f6036c4dc34 | 172a22dd2e9adb312b3cfcc658b73d798e028947 | refs/heads/master | 2020-05-21T19:27:35.767148 | 2018-08-21T07:12:59 | 2018-08-21T07:12:59 | 61,041,394 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,110 | r | splitstree.R | #' Convert an object to SplitsTree-compatible NEXUS input
#' and launch SplitsTree if required
#' @export
#'
#' @param dist A distance object (usually of class 'dist')
#' @param nexus.file A name of the file where the NEXUS file will be written to (see notes)
#' @param plot Set this to 'PDF' or 'SVG' to automatically ... |
45b247902da6b2db42799a0dac9127e79f799dba | d434ec91242aad694c4e2d78580b60a9da3ce29a | /R/remove_these_str.R | 77b18dcbafadb7de6100b4f17aaf489e56ed61b5 | [
"MIT",
"BSD-3-Clause",
"LGPL-3.0-only",
"GPL-1.0-or-later",
"GPL-3.0-only",
"GPL-2.0-only",
"LGPL-2.0-only"
] | permissive | rmsharp/rmsutilityr | 01abcdbc77cb82eb4f07f6f5d8a340809625a1c5 | d5a95e44663e2e51e6d8b0b62a984c269629f76c | refs/heads/master | 2021-11-20T08:45:23.483242 | 2021-09-07T17:28:22 | 2021-09-07T17:28:22 | 97,284,042 | 0 | 2 | MIT | 2021-09-07T17:28:22 | 2017-07-15T01:17:14 | R | UTF-8 | R | false | false | 894 | r | remove_these_str.R | #' Remove these strings
#'
#' Modified from rmsutilityr::remove_strings() by R. Mark Sharp. The
#' modification was to remove a package dependency using the standard
#' relational opporator "==" instead of stri_detect_regex().
#' @param .str character vector that have tokens removed that match
#' tokens within the \cod... |
4f707ebb173552c5ddd2a01fe94d0674b2db9920 | 9e2dfc0f004d39a468a65be72666a70ac13a98cd | /plot4.R | fbbc847ea04b35b28342d11243851a55f39cf379 | [] | no_license | alanwafer/ExData_Plotting1 | 915a6fa588910ee104c1a89148c2dc94c17854b1 | fc90a827242e6630a02d0a29950327155fcae873 | refs/heads/master | 2021-01-14T09:14:16.371422 | 2015-10-06T16:11:47 | 2015-10-06T16:11:47 | 43,752,932 | 0 | 0 | null | 2015-10-06T13:38:33 | 2015-10-06T13:38:33 | null | UTF-8 | R | false | false | 1,764 | r | plot4.R | ##Downloading Dataset from Website
if(!file.exists("exdata-data-household_power_consumption.zip")) {
temp <- tempfile()
download.file("http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp)
file <- unzip(temp)
unlink(temp)
}
##Reading All Data
data_full <- r... |
17a7d9f753124cffc97a3c4472c25518477d6805 | 8b4bfdbc8b3d003393f451e890f2e508c73c612d | /cachematrix.R | 45a258e2e67270dea31da4217c60ba416b71feab | [] | no_license | JamesTM5/ProgrammingAssignment2 | b8a157aa28244d0c2ccc85b18819be587af637e6 | 78e67f560e2b933f2b1973a99bbf5ae266ef1876 | refs/heads/master | 2021-01-15T08:58:48.893520 | 2015-04-25T21:01:55 | 2015-04-25T21:01:55 | 34,580,626 | 0 | 0 | null | 2015-04-25T18:31:03 | 2015-04-25T18:31:03 | null | UTF-8 | R | false | false | 1,212 | r | cachematrix.R | ## Overall these two functions compute the inverse of a matrix in the least processor-intensive way. The first function enables the use
# of a cached matrix rather than requiring the re-computation of one which has already been processed. The second draws on that to
# solve a matrix inversion task, returning the inve... |
7387ba547b768b16b5aafb7f0601f79330ba258b | 29585dff702209dd446c0ab52ceea046c58e384e | /HIest/R/HIsurf.R | 9275d4a47f48bd0c773bcd6d6bf221c5c0dcac31 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 436 | r | HIsurf.R | HIsurf <-
function (G, P, type, size)
{
S <- H <- seq(from = 0, to = 1, length.out = size)
surf <- matrix(NA, ncol = size, nrow = size)
for (i in 1:size) {
for (j in 1:size) {
surf[i, j] <- HILL(c(S[i], H[j]), G, P, type)
}
}
for (i in 1:size) {
for (j in 1:size)... |
60c1217e752e1fe62f9a858d4e19d4f8e8a64de6 | 7e1cb28c62a4218bd5cde8ddd4f6a8fd3dde1ba3 | /src/doPhyloseq.R | beeee35f6d091380ac0aa456aebb5e34c99d1be2 | [] | no_license | NielInfante/WV_16S | 3c37585bde762af2f2177fbbc4c1963da5c4f881 | 86be1725fc83c59e5d719f94b4676cd88c67ea18 | refs/heads/master | 2020-04-08T13:02:29.667003 | 2019-08-29T15:00:25 | 2019-08-29T15:00:25 | 159,372,538 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,724 | r | doPhyloseq.R | library(phyloseq)
library(ggplot2)
library("gridExtra")
library(dplyr)
setwd('~/')
# Play with shiny, if you like
#install.packages("shiny")
#shiny::runGitHub("shiny-phyloseq","joey711")
# Load Data
ps <- readRDS('Data/PhyloseqObject.rds')
# Refactor data - I want to put in more metadata - Old, metadata in phylos... |
2defe60191c25f6f40f740e298ea5abc5d8ad09a | b8180cbb66ddc84d8960b63c0605d9e57403a5b1 | /R_Code/scriptDayTwo.R | 4d4d90a4f891ea5dbd9d4c53270c0134cd519d1c | [] | no_license | compStat/programming-course | 12b41e362391d069914557f1f610af386ab49aae | cf50f8cd69430b071773fd565a0836e460bddafe | refs/heads/master | 2021-01-20T06:43:07.083209 | 2017-05-03T15:10:54 | 2017-05-03T15:10:54 | 89,914,758 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,581 | r | scriptDayTwo.R | ## Funktionen Recap
someFunction <- function(x) {
if (missing(x)) stop("x is missing")
names(x) <- "x"
x
}
dump <- someFunction()
extract <- function(df, i, j) {
rowInd <- if (missing(i)) 1:nrow(df) else i
colInd <- if (missing(j)) 1:ncol(df) else j
df[rowInd, colInd, drop = FALSE]
}
constructInd <- fun... |
8a5aa2e7437c22ba0d02cd8c659a491e7b1d0a66 | 3d95dea75ac4f8d8d882746813758486de5f4227 | /List.r | 0e32a61c5e8522fae4ec4a918984bd5f935721bc | [] | no_license | kimalaacer/Tutorial-on-R | 755694dcab369345eb8f925c87b7c3b307b9b01e | 14ec2de76112de2e482383cd0bf2ccac30a51c14 | refs/heads/master | 2020-07-22T01:44:16.728400 | 2019-09-13T15:04:54 | 2019-09-13T15:04:54 | 207,035,244 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,001 | r | List.r | list1<-list(1,2,3)
list1
list2<-list(c(1,2,3))
list2
list3<-list(c(1,2,3), 3:7)
list3
theDF<-data.frame(First=1:5, Second=5:1, Sport=c('Hockey', 'Lacrosse', 'Football', 'Curling', 'Tennis'), stringsAsFactors=FALSE)
theDF
list4 <- list(theDF, 1:10)
list4
list5 <- list(theDF, 1:10, list3)
list5... |
99a39fbdfe05f4a24bc702da65b393c052110f01 | 27806debbb5432bc70e9dcb22e74019ee3889ded | /man/ldknn.Rd | 3a565a96e73d6fa701d4160a415ed17d70d9bd74 | [] | no_license | estebahr/vwr | 98feb7086a6e6c3364b09983d30411eeeafdc32e | 1918a2c2a711dd292416e949e4c12bf224eea858 | refs/heads/master | 2023-03-17T11:45:23.311841 | 2013-08-07T00:00:00 | 2013-08-07T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,293 | rd | ldknn.Rd | \name{ldknn}
\alias{ldknn}
\alias{ld1nn}
\title{
Run the ldknn algorithm
}
\description{
The ldknn algorithm is used to detect bias in the composition of a lexical decison task, using k-nearest neighbor classification and the Levenshtein distance metric.
}
\usage{
ldknn(stimuli, types, reference, k = 1, method='levensh... |
82523bdc318d66cd23ac8006f229598fe4acbcc3 | 483ca5716cc806b9be7911032d356e149b79cf1b | /inst/scripts/examples.R | 8e29112bee3ecaa231b3a42dbd300b94d784ad4c | [] | no_license | raredd/forest | 8f66f5af070a082e1576654e91023e3afbcfdf9e | 9b63e67cf35ce581aa23f5504383f528aa686be8 | refs/heads/master | 2023-08-16T15:44:17.507643 | 2023-07-24T17:53:03 | 2023-07-24T17:53:03 | 85,359,461 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 998 | r | examples.R | library('forest')
library('cmprsk2')
# simulated data to test
set.seed(1)
n <- 500L
dd <- data.frame(
ftime = rexp(n),
fstatus = sample(0:2, n, replace = TRUE),
x1 = runif(n),
x2 = runif(n),
x3 = runif(n),
factor1 = factor(sample(1:3, n, TRUE)),
factor2 = factor(sample(1:2, n, TRUE))
)
dd[] <- ... |
92d34e2a0e23788ebba984ec9ce502174b19c8db | 71ac4d51bf2b1fac3db8339a3f3bfde9cf47da0e | /functions.R | aa4688a8edbc34ecb96ae1d00486f4088cfc61b7 | [] | no_license | kharoof/Rugby-Stats | 8f472604fd86f1cbc3fee546bb0d712962f59247 | 613c8981c025f0a61b0d5b577e978704e9bfbb68 | refs/heads/master | 2021-11-07T05:50:26.583233 | 2021-11-02T12:30:56 | 2021-11-02T12:30:56 | 30,774,965 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,578 | r | functions.R | library(lubridate)
####################################################################################################
## Functions that clean the results for a match
####################################################################################################
## Format dates, add team and opponent fields and ... |
a208ba854f9b0a7e66639ede2b0d18b50db6019e | a33b1a6c61f80539343be9ac6aec5412f30cdc12 | /20170620geologyGeometry/library/ellipsoids.R | dd3c11c531f2f8e65906410f1baae397ec82286c | [
"MIT",
"Apache-2.0"
] | permissive | nicolasmroberts/nicolasmroberts.github.io | 9a143c93859f2b3f133ade1acf54fb1ba1c966d3 | f6e8a5a02eea031fb68c926d6d922846eeb71781 | refs/heads/master | 2022-09-08T22:03:26.646877 | 2022-07-27T20:50:50 | 2022-07-27T20:50:50 | 117,170,161 | 0 | 1 | MIT | 2018-03-04T23:16:00 | 2018-01-12T00:23:20 | HTML | UTF-8 | R | false | false | 45,411 | r | ellipsoids.R |
# Copyright 2016-2017 Joshua R. Davis
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... |
de8b87f10457214d7dc2ec5ff5f4bfafd7bc68da | b4f3e2145015d8c207d2414c7cbf90666f15c260 | /Thesis/try_code/multimodal.R | 271753069ce32aa2bd9d358ebf90b9a4af7b20dd | [] | no_license | shaomin4/shaomin_research | 1e9ead0d70e4e453d65c0070cfe87a77cc317a44 | e932d577431397e75f23ba6e6fb0f1ce39613be2 | refs/heads/master | 2022-11-28T15:14:47.223439 | 2020-08-10T18:23:17 | 2020-08-10T18:23:17 | 286,543,756 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,363 | r | multimodal.R | source("R/GPU_envir_vars.R")
source("R/find_topic.R")
source("R/hungarianAssignNMF.R")
source("R/topic_dist.R")
source("R/load_dtm.R")
library(tm)
# Data preparation --------------------------------------------------------
# Load metadata for years
load("/data_lake/arXiv_ML/ML_meta_2019.RData")
all_df <- all_df[grep(p... |
be31b1097db0512e933a497051927b6f9964507c | 8585dd8814d82d9a0870804d8a5acf9ad650d0ed | /tests/testthat/test-iv.r | 90edbbdd11a5259a9b03f5b7388b887490e70de1 | [] | no_license | brentonk/coefbounds | 7500d38188c87b41c2b6ebdbef5f1d5f04517dce | 7c7b65a7d34ecec01ac6a6f1062c4eeab24cab08 | refs/heads/master | 2021-01-17T19:17:25.817055 | 2016-06-28T21:33:03 | 2016-06-28T21:33:03 | 59,677,826 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,196 | r | test-iv.r | context("Instrumental variables estimation")
library("AER")
test_that("Underidentified models not allowed", {
set.seed(876)
x1 <- rnorm(10)
x2 <- rnorm(10)
z1 <- rnorm(10)
yl <- yh <- rnorm(10)
expect_error(coefbounds(yl + yh ~ x1 + x2 | z1,
boot = 0),
... |
e1a1c986694aebcc4b93d1ec01ddc412dfe8e90e | 75eb3a5fd2ccc29c3759970d3f8ff188b1a1018e | /GalapagosTPC.R | 6546b9ed28f8e43a5274e2c77cdc72d911b71aed | [] | no_license | njsilbiger/GalapagosUrchins | 36bcde7e4e295f2f5bf5280de7192de81f0aa7a0 | 459b98a60229d5cc49937173efec0336211ed710 | refs/heads/master | 2021-07-26T00:48:28.853721 | 2020-12-21T19:04:21 | 2020-12-21T19:04:21 | 232,166,635 | 1 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 25,450 | r | GalapagosTPC.R | ##TPC curves, maps, and temperature analysis for Urchin Galapagos paper
rm(list=ls())
##Install packages
# load packages
library(nls.multstart)
library(broom)
library(purrr)
library(tidyverse)
library(nlstools)
library(nls2)
library(grid)
library(gridExtra)
library(cowplot)
library(lubridate)
library(directlabels)
li... |
f7f90a5528faf96531ba0c7b337ab44050758ebc | 2764167b5743be62adadc491ec7dfde210e0703d | /man/UTM.xy.Rd | 8e908938cc4989073e734f2d774916730e9b2b01 | [] | no_license | cran/GEOmap | 528a4cbe293211d324405037eb280b415e65f62e | 0149894022496cee8237868b0bb693d00ef01e41 | refs/heads/master | 2023-08-18T14:47:52.021469 | 2023-08-13T12:40:21 | 2023-08-13T13:30:31 | 17,713,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,644 | rd | UTM.xy.Rd | \name{UTM.xy}
\alias{UTM.xy}
\alias{utm.wgs84.xy}
\title{Map projection}
\description{
UTM Map projection parameters supplied and LAT-LON, return the x-y
values, WGS-84 datum
}
\usage{
UTM.xy(phideg, lamdeg, PROJ.DATA)
utm.wgs84.xy(phideg, lamdeg, PROJ.DATA)
}
\arguments{
\item{phideg}{Latitude}
\item{lamde... |
697bfb56176625c36ac5ad6e0c3175b84f490284 | 9e059240cb494f4b43868fac4f6c0416411139a1 | /man/Coordinate_Mapping_gffTB.Rd | 9ca2e1df3b97e81447e30c174a85cd428cf4c993 | [] | no_license | kingyang728/genomicCoordinateConverter | b161448b4d595069aa30d12f6ea1921c661ef583 | 66ac990688137b89c8431b3c91e37adfc572f5fb | refs/heads/master | 2022-10-24T05:09:52.679835 | 2020-06-16T08:56:52 | 2020-06-16T08:56:52 | 272,298,011 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 630 | rd | Coordinate_Mapping_gffTB.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/HelperFunction.R
\name{Coordinate_Mapping_gffTB}
\alias{Coordinate_Mapping_gffTB}
\title{Coordinate select function for gff dataframe Table.}
\usage{
Coordinate_Mapping_gffTB(chr, start_pos, end_pos, gff_Table)
}
\arguments{
\item{chr}{sequen... |
3fcfbda948d9bf6a97fd8251f03cd812f1ed6222 | 5b8eaa5e612df2f2383621d86ef1206543d0754d | /aspasiouvasiliki.R | a02cb1782d9ff5062a7174452f93c48bab59c538 | [] | no_license | vickyaspasiou/lesson2 | d5906e4ed5d740b3feb548cf90aaa1ee5412992b | daea8b6546679160479ad3f2c8af4ad3c0fd4232 | refs/heads/master | 2021-01-19T18:00:30.849101 | 2013-11-06T16:05:59 | 2013-11-06T16:05:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 363 | r | aspasiouvasiliki.R | rm(list = ls())
datdir=getwd()
library(rasta)
plot(1)
automap=function(ctr="FR",ctrlvl=2) {
map <- raster::getData("GADM", country = ctr,level = ctrlvl, path = datdir)
plot(map)
plot(map, bg = "dodgerblue", axes=T)
plot(map, lwd = 3, border = "skyblue", add=T)
plot(map, col = "green4", add = ... |
575a232ff9a9511f85de8249b7bd044adb1772f1 | cc9ccb383be538f3f1c70d361d98d43107028b8c | /man/efron.Rd | 16f36d456b33d22c86b8efb1022fd450dd27588e | [] | no_license | spencerwoody/saFAB | fef16125f0c5db3c060ddc471c40076b5c69090e | 7419eb6277f881ee4edd18512d359647fea880c9 | refs/heads/master | 2020-03-25T21:50:15.221998 | 2020-02-17T17:44:14 | 2020-02-17T17:44:14 | 144,191,913 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 456 | rd | efron.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/efron.R
\name{efron}
\alias{efron}
\title{Efron}
\usage{
efron(z, nmids = 150, pct = -0.01, pct0 = 0.25, df = 10,
nulltype = "theoretical")
}
\arguments{
\item{z}{}
\item{nmids}{}
\item{pct}{}
\item{pct0}{}
\item{df}{}
\item{nulltype}{... |
3ca7de40ecc43904a46cf4f871ca3c9fb5227eb4 | b1b6872aeea3c8a1011ca8190b07195acb6dfaf7 | /man/Plot_bar_horizontal.Rd | f8994cb2e2922ca19cc1ea78b510c40d3e588b00 | [] | no_license | DDS-MCSM/group-assignment-team-02 | 9667355729e11d79be110a6e1ee65d96849c7feb | e9a5572eb4af7f60c049cf474ef36862da003565 | refs/heads/master | 2020-04-10T10:50:33.890351 | 2019-01-13T22:50:12 | 2019-01-13T22:50:12 | 160,977,217 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 420 | rd | Plot_bar_horizontal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/code.R
\name{Plot_bar_horizontal}
\alias{Plot_bar_horizontal}
\title{Plot all the malware occurrences per country}
\usage{
Plot_bar_horizontal(x, yg)
}
\arguments{
\item{df}{year}
}
\value{
Bar plot showing the ranswomware by country
}
\descr... |
a6145007c454a8bce736ec222985a8b673b26b36 | 025cd9c77cbefc7367df61ab8b45ff3259902815 | /R/clustering.R | cdbb900939a8a3623fb28f27a29eee05d5ea6ea1 | [] | no_license | yspreen/NbClust | 9b59eb928f4d8aaba9c24a67f387c2aa7496eec8 | e82043569b5cf104382125cb1bcd1515a36d49d5 | refs/heads/master | 2020-12-29T08:59:10.611521 | 2020-02-05T22:58:37 | 2020-02-05T22:58:37 | 238,546,165 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,135 | r | clustering.R | clustering = function(method, game, nc, max_nc, hc, nn) {
# init values
cl0 = 0
cl1 = 0
cl2 = 0
clall = 0
clall1 = 0
clmax = 0
if (method == 8)
{
set.seed(1)
cl2 = kmeans(game,nc+1)$cluster
set.seed(1)
clmax = kmeans(game,max_nc)$cluster
if (nc > 2)
{
set.seed(1)
... |
cf17cadbe5e316c80c2cfdabb9d70183be752523 | 80a638d19c8ca136b942b1ed449d3193a503621d | /cachematrix.R | dbee94806b9b1bd31a48708170d5c9fa23a1c555 | [] | no_license | ricrogz/ProgrammingAssignment2 | a20d7610fd85cd42bbb26de0d10da3bf3e494ab7 | 94cec42480b7675e7905f04a5e821a066455831e | refs/heads/master | 2020-05-20T19:30:38.635377 | 2014-05-15T10:56:06 | 2014-05-15T10:56:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,378 | r | cachematrix.R | ## Functions to build a matrix with cached inverse.
##
## Usage (suppose A is an invertible matrix):
##
## To create the cached object:
## Acached <- makeCacheMatrix(A)
##
## To retrieve the inverse:
## Ainverse <- cacheSolve(Acached)
##
## See descriptions of each function below.
## Implementation te... |
2510d1daab68c59449c13e3fc0ef7041a79bd29a | 491bddbfa8fbe8e3bd1a47dc2e4527842c46e5e7 | /plot1.R | a5e7b7d5ff34785d38865feac86003cb385afc9e | [] | no_license | mahimagupta29/ExData_Plotting1 | fed398e1c7381db995298bd4e8afe173ecda1d18 | c076c55a7c6413aeaf46b90d4c8d65756093841c | refs/heads/master | 2022-11-11T15:45:02.571759 | 2020-06-21T23:05:41 | 2020-06-21T23:05:41 | 273,972,832 | 0 | 0 | null | 2020-06-21T19:45:08 | 2020-06-21T19:45:07 | null | UTF-8 | R | false | false | 1,205 | r | plot1.R |
## Aim of this function is to
## 1. read the household_power_consumption.txt file
## 2. subset for data taken from 2 days: 2007-02-01 and 2007-02-02
## 3. generate a histogram of global active power(kilowatts)
## Assumes household_power_consumption.txt file located in working dir
## read dat... |
d698d1af5c3a31525cc361596cd67bb890a0e5c8 | 434632808778d021126f5db3acb10e571ca39769 | /tumors.expression/tumors.expression.DIA.public.R | 160a164b94861a04105e4aedc0c6bdc76d268b7f | [] | no_license | FraRol/proteomics.data.analysis.FGFR2.project.Zingg.et.al | 839c4f3c01bf2887843d3db8839ef206f8cbd802 | 9031356003d0a5c943bbc8e31d192d279aaeed2d | refs/heads/main | 2023-04-08T11:50:22.826599 | 2022-06-08T09:34:43 | 2022-06-08T09:34:43 | 450,564,851 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 38,321 | r | tumors.expression.DIA.public.R | #_______________________________________________________________________________________________________________________
# 20.01.2022
#
# Project: proteomics.truncated.FGFR2.is.oncogene.cancer.Zingg.et.al
#
# Script name: tumors.expression.DIA.public
#
# Purpose of script: analysis protein expression data tumors tru... |
e5e62929cfed1f6084e9d76b57a3e8538612091e | ba08297ca485f1dec988abbe42db78cc6ddfe7af | /ui.R | fa4c090be93dd4dbd2395494255f595ef7e22efa | [
"MIT"
] | permissive | ToshihiroIguchi/ezvoigt | 95361f3cccbfa706d7adc8b21df2692f530711ec | 2b22ff02f7f6e4ba1ab5983b0273f9d01c493c26 | refs/heads/master | 2020-03-29T22:46:08.490517 | 2018-10-31T14:06:18 | 2018-10-31T14:06:18 | 150,439,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,672 | r | ui.R |
file.input.accept <- c("text/csv",
"text/comma-separated-values,text/plain",
".csv", ".ASC", ".int")
shinyUI(
fluidPage(
titlePanel("Peak separation by Voigt function"),
sidebarLayout(
sidebarPanel(
fileInput("file", "File", accept = fi... |
1b11e15a75690a5ef51de1c557ad9d9ff0ce3547 | daa136d27577d3dee32b28c32b5fea0d6edf9a15 | /ProblemSets/PS7/PS7_Yarberry.R | 172fbc17912b93a7c5ddb53d5bb2d0d7a2c062db | [
"MIT"
] | permissive | myarberry26/DScourseS20 | 6b35fb4511011859d509b8fe5abbb2c0ffb34740 | da3e45e48a26e7c8c37da33696e845e992a34711 | refs/heads/master | 2020-12-13T11:37:28.453636 | 2020-04-14T14:33:13 | 2020-04-14T14:33:13 | 234,405,603 | 0 | 0 | MIT | 2020-01-16T20:28:11 | 2020-01-16T20:28:10 | null | UTF-8 | R | false | false | 1,195 | r | PS7_Yarberry.R | # PS7 Yarberry
library(readr)
wages <- read_csv("ModelingOptimization/wages.csv")
View(wages)
# problem 5
wages <- wages[!is.na(wages$hgc), ]
wages <- wages[!is.na(wages$tenure), ]
# problem 6
install.packages("stargazer")
library('stargazer')
stargazer(wages)
# problem 7
est.1 <- lm(logwage ~ h... |
f58a74aafa53e11a46a7a33e8a02017a7dc2b9ec | d3ddacf81c1c8f86f4aaf9d44f4529f20e701e8f | /man/parse_config_list.Rd | 77310579bed4c018e0aa7cfcad527b6e38c804e8 | [] | no_license | ijlyttle/ieeecomtrade | 3bd2145bf235ef8198b6c0572aade7268dfb8811 | 5abaa74980aaf3b3f5b133a7d1a982ecc10484b6 | refs/heads/master | 2021-01-19T07:29:30.859311 | 2017-08-23T00:12:23 | 2017-08-23T00:12:23 | 87,544,705 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 416 | rd | parse_config_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_config.R
\name{parse_config_list}
\alias{parse_config_list}
\title{parse into a list}
\usage{
parse_config_list(text, ...)
}
\arguments{
\item{text}{character, vector of strings}
\item{...}{other args passed to \code{\link[readr:read_cs... |
5051d2de31563b929294db9d376efd98725d2b73 | 1db71d2f2d70bf7c38320d7bcc9725fbb59cb064 | /data/studies/findlay_2018_brca1/standardise_findlay_2018_brca1.R | c3ad3d54ea5ba1892c6fa92d0e950a2477cde697 | [
"Apache-2.0"
] | permissive | ostrokach/aa_subtypes | fda6346f4244dfb5cb15388f742d63087a29fe40 | 5f8e7e7557436d8798c908e94981aead21243755 | refs/heads/master | 2022-12-01T03:09:55.367152 | 2020-08-10T13:34:26 | 2020-08-10T13:34:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 966 | r | standardise_findlay_2018_brca1.R | #!/usr/bin/env Rscript
# Standardise data from Findlay et al. 2018 (BRCA1)
source('src/config.R')
source('src/study_standardising.R')
# Import and process data
meta <- read_yaml('data/studies/findlay_2018_brca1/findlay_2018_brca1.yaml')
dm_data <- read_xlsx('data/studies/findlay_2018_brca1/raw/41586_2018_461_MOESM3_ES... |
ba8ac386afd614117e117c1ee5b03fb5b2b0d056 | 52fa34c014cd9500523d55d0d04747e440abd6e8 | /ui.R | e0b5fed2afdaa5e88bab2d8c64d874ad24bde136 | [] | no_license | gdmacedo/Developing-Data-Products | 1c2c471b7e7044d852e2c4c0a856e91959a66001 | d0e47b7cc7007cdb2b7fa891da599d180a2796a8 | refs/heads/master | 2020-04-03T23:09:23.199132 | 2019-06-11T21:19:07 | 2019-06-11T21:19:07 | 155,620,626 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,294 | r | ui.R | library(shiny)
library(ggplot2)
library(shinythemes)
fluidPage(tags$head(tags$link(rel = "stylesheet",
type = "text/css",
href = "./www/style.css"
)
),
includeCSS("./www/style.css"),
... |
0aa6d5e7ccdf7925b5fdbb09dac98b836e27fa97 | 83f845cf9d3987c8d816ca9b0d168c9c90e6cdf4 | /man/plot.psem.Rd | 6804bc1ba25654c81d8fa2613d005909939e9ffe | [] | no_license | jslefche/piecewiseSEM | e5a572eef4538b6fb2cb0df00fa3e49f7c3c3872 | aac65aafd979b8dbce6c725b11b85123097f6fe7 | refs/heads/main | 2023-06-07T12:30:47.849089 | 2023-06-02T18:45:45 | 2023-06-02T18:45:45 | 22,606,015 | 145 | 53 | null | 2023-03-28T21:10:38 | 2014-08-04T13:55:07 | R | UTF-8 | R | false | true | 2,405 | rd | plot.psem.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_psem.R
\name{plot.psem}
\alias{plot.psem}
\title{Plotting of Piecewise Structural Equation Models}
\usage{
\method{plot}{psem}(
x,
return = FALSE,
node_attrs = data.frame(shape = "rectangle", color = "black", fillcolor = "white"),
... |
3b0351093a53ff2ddc867a151a3f2a1f069c59da | 5c0d14df7ed580aa08330b8296386cb0c4f489e2 | /1999.R | 0a6c6fd8f3b5946143c9ae3e4120806f744489cd | [] | no_license | thienngole/NY-Housing-Data | 423c925b71d55ccd069f931e4290120eea098e71 | 2e480fdaf824e782ef8e8270b158a25156c02d88 | refs/heads/Group | 2020-04-29T19:30:50.379049 | 2019-04-03T06:17:21 | 2019-04-03T06:17:21 | 176,357,344 | 3 | 3 | null | 2019-03-30T18:35:01 | 2019-03-18T19:39:11 | R | UTF-8 | R | false | false | 8,989 | r | 1999.R | #condition of walls (36a, 37a, d1, d3, d12)
#Anayeli Ochoa
library(dplyr)
# Select the 1999 .csv file, save it:
my.file <- file.choose()
# Read in data only (no headers -- skip the first two rows):
nych1999 <- read.csv(my.file, skip = 2, header = FALSE, stringsAsFactors = FALSE)
# Read in data (with both rows of head... |
6126e3939356d27b7f696e77de157404087bc1bb | 99bdd171cc8729d98261370e4ee9d733ce8563bf | /groundwater_dnr.R | 5a3b5482e089b95b4bab83f0d519a699c0cf7f4d | [] | no_license | capellett/drought-status-monitor | c509e2a0a5772bc0793a562d98af89b22297912a | 30721cb8b15f3967cdc4d08fd0ccdc464f0e69ce | refs/heads/master | 2021-08-18T07:09:48.927258 | 2021-08-04T13:49:27 | 2021-08-04T13:49:27 | 166,278,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 504 | r | groundwater_dnr.R | library(tidyverse)
dnr_wells <- c('AIK-0849', 'ALL-0372', 'CTF-0081',
'GRV-3342', 'JAS-0425', 'KER-0263',
'LRN-1705', 'ORG-0431', 'SAL-0069')
grv3342 <- read.csv('documentation/GRV-3342_WLs.txt') %>%
dplyr::mutate(Day = lubridate::mdy_hms(Day))
unique(grv3342$CountyID)
## There are ... |
af96ff20931cb87842ffc910c59d36a8ff04f6b3 | fb1f07a4526d455872375e889f0fbf10ee6cbaec | /ipl_batch9.R | a0b2346558edf2274625ebbfa3ad76657ec3154c | [] | no_license | vidyachenna/IPL | deb317cda18441813ef4e280d7fdb6e5dd179fd0 | fdf24c6727436e31d67721486366a735a49c3f69 | refs/heads/master | 2021-01-13T04:28:03.546159 | 2017-01-25T08:38:25 | 2017-01-25T08:38:25 | 79,936,721 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,696 | r | ipl_batch9.R | library(ggplot2) #Adding the packages required.
library(plyr)
library(ggrepel)
library(reshape2)
library(graphics)
mat_data <- read.csv("matches.csv") #reading the .csv files into datasets
del_data <- read.csv("deliveries.csv")
win_data <- count(mat_data, c("winner", "season")) #taking total count of winne... |
09810271218cfe826cf790db67d5671e0964f5d4 | 94adc0b1c4b2304d4fe99d90a7e6f1126d6a8795 | /man/Utilities.Rd | 561559c5eb51a5a11c9a5b87daebbc6a42fdd669 | [
"Minpack"
] | permissive | karlines/ccSolve | 0cb2788e33846a09ecb1d9da2b4f5c9c5d4e26db | 60108e2451db58b6bbee62b9b9fa62486c759a53 | refs/heads/master | 2020-04-29T17:12:18.124295 | 2015-04-18T08:44:28 | 2015-04-18T08:44:28 | 33,730,033 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,514 | rd | Utilities.Rd | \name{ccfunc}
\alias{ccfunc}
\title{
Utilities for ccSolve.
}
\description{
Retrieves function values of compiled code problems.
}
\usage{
ccfunc(fn, ...)
}
\arguments{
\item{fn }{The compiled object whose function value should be retrieved.
}
\item{... }{Arguments required to estimate the function value, a... |
e6809af9868418fa1f0ce66c16834f48f4977830 | 3a8d17c9dc99fbc0ba6460035b75199655f15596 | /runBrokenStick.R | 292b92c9ed13c5d1618526814e003b4253b289f2 | [] | no_license | hanskolus/4ka | ee042b2112e2ca9765389a5d8920ab4f5120d868 | 6d1826c1ada1385ce231d034e255bd5daf31e715 | refs/heads/master | 2021-04-25T06:59:42.619049 | 2020-07-03T21:08:49 | 2020-07-03T21:08:49 | 122,224,270 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,824 | r | runBrokenStick.R | library(geoChronR)
library(segmented)
library(lipdR)
setwd('/Users/hannah/Documents/Arctic Group/Proxy analysis/forGitHub/4ka')
source('gaussianize.R')
source('brokenStick.R')
source('createPaths.R')
mainDir = createPaths()
load(file.path(mainDir, 'RData', 'TS_climateInterp_2019.RData'))
#load('RData/TS_climateInterp... |
be12f4aae181d7e5ca31268897f587a80b05bae5 | f4b91fd0123d354315a3147f9df14b002fde2aa5 | /testingPlotRandom.R | e17ea28a00539ffe04033d4b1c59a4170c9ff8e9 | [] | no_license | JakeWheeler1/PlotRandomNormalFunc | 7096380d3d9d4fd173cf58a6d54bb817e78e747b | 8c0e96732a59a20283043f4421a2e167f8b117ed | refs/heads/main | 2023-08-24T18:59:45.676237 | 2021-10-06T19:36:41 | 2021-10-06T19:36:41 | 414,338,627 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 561 | r | testingPlotRandom.R | #############
### TestPlotRandom.R
## A short script to test the function
## that we wrote in PlotRandom.R
##
## Load the function into the environment.
source("PlotRandom.R")
plotRandomNormals()
out <- plotRandomNormals()
str(out)
out2 <- plotRandomNormals(numpts=1000, mu=3, sigma=0.5,
n... |
522a55f2db3305cad2f213119789790ee5acd563 | 20d5a2f19823905ef318c04035123419d910b42b | /R/2_distance.R | 66168d2660516ea20cf3a4995c13f771164057f4 | [] | no_license | hckum/approxmapR | 2d8cc2e6c92b881547514637b2dc2b6e5f95d29d | d4251a2a8c64cff4b560a72f94e65c09bbacaccb | refs/heads/master | 2021-01-20T02:53:46.426329 | 2017-11-20T21:43:15 | 2017-11-20T21:43:15 | 83,822,747 | 0 | 0 | null | 2017-03-08T18:00:56 | 2017-03-03T17:15:12 | CSS | UTF-8 | R | false | false | 3,700 | r | 2_distance.R | sorenson_distance <- function(x, ...){
UseMethod("sorenson_distance")
}
sorenson_distance.Sequence_Itemset <- function(sequence_itemset_1, sequence_itemset_2) {
set_1 <- setdiff(sequence_itemset_1,sequence_itemset_2)
set_2 <- setdiff(sequence_itemset_2,sequence_itemset_1)
set_union <- union(set_1,set_2)
l... |
efc5aeda48cdf2c1316230d1693e2ba572deee34 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/locits/examples/print.tosANYN.Rd.R | b1b8d5f5043144f1014696d2bf8ecf3f25fcddb3 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 239 | r | print.tosANYN.Rd.R | library(locits)
### Name: print.tosANYN
### Title: Print out a 'tosANYN' class object, eg from the 'link{hwtos}'
### function.
### Aliases: print.tosANYN
### Keywords: ts
### ** Examples
#
# See example at end of help for hwtos
#
|
cefea7c1d28914b32a60f6b6d20a459f9c63f576 | fdf839eeaa710470b7a9d881735e893d9f0fdd0c | /man/getLoc.Rd | f19827543aeea0ba2f57d3d5345dd8670b69dd4a | [] | no_license | kjrom-sol/plantR | 0da8749c532cda13aa4f6681dc0293412e385632 | e75fe4f1711c971f5be7a4e77bff5663c069bee3 | refs/heads/master | 2023-04-28T03:05:08.054234 | 2021-05-05T01:56:21 | 2021-05-05T01:56:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 6,339 | rd | getLoc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getLoc.R
\name{getLoc}
\alias{getLoc}
\title{Get Locality and Coordinates}
\usage{
getLoc(
x,
str.names = c("resol.orig", "loc.string", "loc.string1", "loc.string2"),
gazet = "plantR",
gazet.names = c("loc", "loc.correct", "latitude.g... |
dbd02ea49cc3f9b7a2352580706aa14615cf28f3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Rfacebook/examples/getNewsfeed.Rd.R | a56d5f551d33aefa39631401b08de17e45c7b2bf | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 381 | r | getNewsfeed.Rd.R | library(Rfacebook)
### Name: getNewsfeed
### Title: Download recent posts from the authenticated user's newsfeed
### Aliases: getNewsfeed
### ** Examples
## Not run:
##D ## See examples for fbOAuth to know how token was created.
##D ## Capture 100 most recent posts on my newsfeed
##D load("fb_oauth")
##D my_newsfe... |
bc58a2b567d0a23fbf253d589452b56431c74697 | 887293aeeccaba7e37369a47844c7f870e6f0ca2 | /run_analysis.R | 6f091c9f8cd8d7d96401b4ea1a021e15e8eb6f3f | [] | no_license | cfelipefranco/getting-and-cleaning-data-course-project | 44f80db9d0c86b8546cef75a392f35b56b7be633 | 42ae4a19f83ddc29938c1ba6a3bb678b5441a0a1 | refs/heads/master | 2021-01-09T06:13:38.622603 | 2017-02-08T16:59:26 | 2017-02-08T16:59:26 | 80,940,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,389 | r | run_analysis.R | run_analysis <- function(){
# Verifying if the UCI HAR Dataset is in the working directory
if(sum(grepl("UCI HAR Dataset",dir()))==0){
stop("Please set working directory to folder
containing the UCI HAR Dataset unzipped
folder")
}
# Read the X_test data set and complement it wit... |
a231d391275b0348f5da8c766c72f9006753e90e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/npcp/examples/cpRho.Rd.R | 101f83a668a8e8b440fb88b3a332151fc7ecca5a | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 480 | r | cpRho.Rd.R | library(npcp)
### Name: cpRho
### Title: Test for Change-Point Detection Based on Spearman's Rho
### Aliases: cpRho
### Keywords: htest multivariate nonparametric ts
### ** Examples
## Not run:
##D require(copula)
##D n <- 100
##D k <- 50 ## the true change-point
##D u <- rCopula(k,gumbelCopula(1.5))
##D v <- rCop... |
7eb30ea2fa66e88603d19f0e3797d50518e749e2 | c0e9806481a6e93748b6ad4a49f6d6deb5f06eea | /man/safe_write_csv.Rd | 8a58a2726addb53a08827f45bb3768f93312b7e6 | [] | no_license | beauchamplab/rave | 8057d2f04f7631e631da74bf228f647cf23f9a27 | 458e4abf9104e12b15eff7743f95200b33a168b5 | refs/heads/master | 2023-08-03T12:53:01.874006 | 2023-07-22T12:42:07 | 2023-07-22T12:42:07 | 110,274,745 | 21 | 7 | null | 2022-03-15T19:54:42 | 2017-11-10T17:34:16 | R | UTF-8 | R | false | true | 482 | rd | safe_write_csv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io-csv.R
\name{safe_write_csv}
\alias{safe_write_csv}
\title{Save data to "CSV", if file exists, rename old file}
\usage{
safe_write_csv(data, file, ..., quiet = FALSE)
}
\arguments{
\item{data}{data frame}
\item{file}{"CSV" file to save}
\... |
85f13f3ba7984174021e2ed082deef89cc8d21bf | 89d219d3dfa744543c6ba1c1b3a99e4dcabb1442 | /man/xtsToDataFrame.Rd | d3b4d5468a7f9d560d259c600fb10e2fb3523e90 | [] | no_license | pteetor/tutils | e2eb5d2fba238cbfe37bf3c16b90df9fa76004bb | fe9b936d8981f5cb9b275850908ef08adeffef4e | refs/heads/master | 2022-06-17T11:34:30.590173 | 2022-06-14T02:02:15 | 2022-06-14T02:02:15 | 77,761,145 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 368 | rd | xtsToDataFrame.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xtsConversion.R
\name{xtsToDataFrame}
\alias{xtsToDataFrame}
\title{Convert xts matrix to data frame}
\usage{
xtsToDataFrame(x)
}
\arguments{
\item{x}{An xts matrix}
}
\value{
A data frame with the input columns
plus a new 'date' column
}
... |
72f1d369af938467a0e87dfd54929b5b45a6a2ee | 2253c85e1c90b54df4b69ad40b6ce9b207c76415 | /man/use_post.Rd | c3b7d005341888e1e6f08f3f0748cc5c7e21fb70 | [
"MIT"
] | permissive | djnavarro/hugodown | a204e1709df31ac1dae81f895bf3e89191f93e39 | 168a361518f5450e498d0fa9e34eea93f0aa677d | refs/heads/master | 2023-07-02T11:17:59.870024 | 2021-07-04T23:50:13 | 2021-07-04T23:50:13 | 270,511,218 | 0 | 0 | NOASSERTION | 2020-07-10T05:29:44 | 2020-06-08T03:15:26 | R | UTF-8 | R | false | true | 1,226 | rd | use_post.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/post.R
\name{use_post}
\alias{use_post}
\title{Create a new post}
\usage{
use_post(path, kind = NULL, data = list(), site = ".", open = is_interactive())
}
\arguments{
\item{path}{Directory to create, like \code{blog/2020-my-favourite-package... |
f981bd3bc31ed85353d083cae571253ec3860e58 | e8c032e334efeb0a6a70b78ef9a710313ca66a5d | /R/token.R | 709079dfad432eefa51a1b683cb263ecbe09c165 | [
"Apache-2.0"
] | permissive | alfahaama/r-corpus | 1afb9e8ad25b0ea08d0f6da1083c579356ed6438 | 5f024c231f3dccbd145f4118013931d2f308deae | refs/heads/master | 2021-01-25T09:21:25.814791 | 2017-06-09T00:53:28 | 2017-06-09T00:53:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,356 | r | token.R | # Copyright 2017 Patrick O. Perry.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.