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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a6f3d77e485762402b15e407814750d7d24e2ad5 | 36b14b336e0efdda255fa3f163af65127e88105f | /man/Problem5.29.Rd | a26ecfb75958bb0574e3fa6c5696cfeef69cd3d1 | [] | no_license | ehassler/MontgomeryDAE | 31fcc5b46ae165255446e13beee9540ab51d98b3 | 43a750f092410208b6d1694367633a104726bc83 | refs/heads/master | 2021-06-24T13:46:19.817322 | 2021-03-11T16:36:37 | 2021-03-11T17:13:18 | 199,803,056 | 8 | 1 | null | null | null | null | UTF-8 | R | false | false | 479 | rd | Problem5.29.Rd | \name{Problem5.29}
\alias{Problem5.29}
\docType{data}
\title{Exercise 5.29}
\usage{data("Problem5.29")}
\format{A data frame with 36 observations on the following variable(s).\describe{
\item{\code{Frequency}}{a character vector}
\item{\code{Environment}}{a character vector}
\item{\code{CrackGrowth}}{a numeric vector}
... |
3d8534540a46b20eb54786d7fad2cc0137e5489f | 838a8e946b58b415ae51fc4d6e67260d2990c7fb | /man/list_to_string.Rd | a1f83be7ef55b7e9e5de73830ddf2cae51190d05 | [] | no_license | fennerm/fen.R.util | 7bf7c8f8593d7760939b3e5106ecdf996ecce72f | c9aeb26617d2e78ee1046626334ee6cc7cbc7682 | refs/heads/master | 2021-01-20T02:53:13.563011 | 2018-05-17T18:30:26 | 2018-05-17T18:30:26 | 101,340,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 320 | rd | list_to_string.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io.R
\name{list_to_string}
\alias{list_to_string}
\title{Convert a list to a space separated string}
\usage{
list_to_string(lst)
}
\arguments{
\item{lst}{A list}
}
\value{
A string
}
\description{
Convert a list to a space separated string
}
|
85bde80c46295ded81149382edeb2f52a7b7bc81 | 5038e6f203a7f29c0c21986f5caf61ba11f081c5 | /R/inc03_impactsRLEpubs.R | 1aff5b046811948a6811e964797595074272e7d6 | [] | no_license | jrfep/CEBA.LEE | 2c5b1c916ef40f41042f418b78d57dba35719f61 | 51c9953ca5cfa235bb8e0d14b918b1eed2f89920 | refs/heads/master | 2021-01-20T03:54:00.510319 | 2019-03-24T19:21:39 | 2019-03-24T19:21:39 | 89,601,859 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,705 | r | inc03_impactsRLEpubs.R | ##https://github.com/ropensci/rcrossref
##~/.Renviron con la línea crossref_email= "jose.ferrer@provitaonline.org"
##altmetrics api...
##R --vanilla
require(textcat)
require(rAltmetric)
require(RJSONIO)
require(rcrossref)
require(xml2)
##require(dplyr)
require(tidyverse)
require(gdata)
mi.key <- ""
##require(ROpen... |
c80174b79b2b5f3621efa307bae5c671fcf7d6b2 | 5899da0c526ba2bdd9756abb2ab9fdaed72d922a | /man/my.copy.fct.Rd | ce70b0d43be9672e6cedf8f6873d78365f5c2ee4 | [] | no_license | msperlin/GetDFPData | 4daef2ec30d453de75a74934e6798375e24affae | b734310176f5b70dc9730a21d7e30c201c610976 | refs/heads/master | 2021-05-07T05:45:01.434240 | 2021-04-01T13:05:18 | 2021-04-01T13:05:18 | 111,594,746 | 38 | 9 | null | 2018-11-26T19:52:02 | 2017-11-21T19:54:33 | R | UTF-8 | R | false | true | 950 | rd | my.copy.fct.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gdfpd_export_DFP_Data.R
\name{my.copy.fct}
\alias{my.copy.fct}
\title{Copies data to external file}
\usage{
my.copy.fct(
df.in,
name.df,
base.file.name,
type.export = "xlsx",
csv.dir = tempdir()
)
}
\arguments{
\item{df.in}{Datafram... |
440ef5b5ae0fd34c06a46067ec86091156bbc4c7 | ddb525b0a9d9c45161f28140cc786e66af722d57 | /man/signalSeries.Rd | a64ff8bc73bc3eb2137b493d7b7ff53c8bdba72a | [] | no_license | cran/QRMlib | ebd393ae06d6770c906cbd72a4174794db273365 | 914a855242662effc9bd6f9e60ef45119bfdd882 | refs/heads/master | 2020-06-04T09:13:15.520228 | 2010-02-22T00:00:00 | 2010-02-22T00:00:00 | 17,717,887 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,777 | rd | signalSeries.Rd | \name{signalSeries}
\alias{signalSeries}
\title{signalSeries object}
\description{
Structured after the S-Plus signalSeries object. It contains a
data slot of any type and a NUMERIC positions slot rather than
the date slot of a timeSeries. In other words, each data value
has a numeric value associated... |
a20ff4adce85fafc3ef590d7ba5b49bb91f09e23 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/qvcalc/examples/worstErrors.Rd.R | 7f24407502939c4ebf395fa987c36a27b95b056c | [] | 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 | 641 | r | worstErrors.Rd.R | library(qvcalc)
### Name: worstErrors
### Title: Accuracy of a Quasi-variance Approximation
### Aliases: worstErrors
### Keywords: regression models
### ** Examples
## Overdispersed Poisson loglinear model for ship damage data
## from McCullagh and Nelder (1989), Sec 6.3.2
library(MASS)
data(ships)
ships$year <- ... |
3eef7968d8ac4397b774bc593026a05e1c899734 | 465a6edd74b0fccfe7307cb11527ff1cb88a238f | /ExperimentalResults/ratio_to_optimal.R | f919e160a2b53cd99ede5269a8dc91dd0ffcc235 | [] | no_license | surakuma/communication-scheuling | 64bbda63bdb8f1151c3ca410c8424b65d16f40c1 | 96691dcd5c5684d90091a39007f46b9d58c73353 | refs/heads/master | 2020-04-20T18:54:59.167718 | 2019-08-08T14:33:28 | 2019-08-08T14:33:28 | 169,034,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 883 | r | ratio_to_optimal.R | #!/usr/bin/env Rscript
ratio_to_optimal_func <-function(file_name)
{
library(ggplot2)
library(reshape2)
dftest<-read.table(file_name, header=T)
dftest[,2:ncol(dftest)]<-dftest[,2:ncol(dftest)]/dftest[,6]
dftest[,2:6]<-NULL
dftestMelted<-melt(dftest, "capacity")
names(dftestMelted)<-c("capacity", "Heuristic", "ratio_to_... |
25c01d65e9941326463ae9e769bb7d8d8f7cbcb4 | d121f587f7e0678030d33a4c5428e594c5978dad | /man/normaliseSE_quantile.Rd | 1de0b3604eb95a813eada921f23d8cc723f11092 | [
"Apache-2.0"
] | permissive | kauralasoo/eQTLUtils | fcf0907721b3a8f19fe68e611cecb4f16d7a0c9d | 26242562a4e244334fd9691d03bc1ef4d2d6c1d9 | refs/heads/master | 2023-03-05T19:10:45.247191 | 2023-03-03T13:33:08 | 2023-03-03T13:33:08 | 149,779,618 | 4 | 2 | null | null | null | null | UTF-8 | R | false | true | 555 | rd | normaliseSE_quantile.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SummarizedExperiment_helpers.R
\name{normaliseSE_quantile}
\alias{normaliseSE_quantile}
\title{Quantile normalise SummarizedExperiment by rows}
\usage{
normaliseSE_quantile(se, assay_name = "usage")
}
\arguments{
\item{se}{SummarizedExperimen... |
e6b29a125fcbc6114806f9690f88187438b3148c | a0937f7d085ec1bf789d07d3154eb842f71b315c | /Project 2/cleaned_data2.R | 5af1be65ba5951ca7976e050731bac89144fcdf8 | [] | no_license | EnyingGao/BIOS611Git | d13f29ee2ce2dda9947103492580cddc559292d6 | a151468cfb2c1eba20fafb82990a4920b4017099 | refs/heads/master | 2020-03-27T10:48:57.574080 | 2019-08-22T01:34:19 | 2019-08-22T01:34:19 | 146,446,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 526 | r | cleaned_data2.R | library(tidyverse)
source_pm <- read.csv('Database_Source_apport_studies.csv')
new_data2 <-
as.tibble(source_pm) %>%
rename(Year = Reference.year, sea_salt = SEA.SALT.,
dust = DUST., traffic = TRAFFIC.,
industry = INDUSTRY., biomass_burn_residual = BIOM..BURN..RES..,
other_unspecified_hu... |
59d4cc1e35abd192fa2fe62db6553211faa8840c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/TSrepr/examples/repr_windowing.Rd.R | 88c11f19aaec32d9a783605f43126c601c29817b | [] | 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 | 352 | r | repr_windowing.Rd.R | library(TSrepr)
### Name: repr_windowing
### Title: Windowing of time series
### Aliases: repr_windowing
### ** Examples
# func without arguments
repr_windowing(rnorm(48), win_size = 24, func = repr_feaclip)
# func with arguments
repr_windowing(rnorm(48), win_size = 24, func = repr_featrend,
args = list(func = ma... |
1621641378588e551851f24c119198b09b8790ff | 23e04234732f477daef084260536b92aa66d8a59 | /R/2017-09-08-Challenges_week2.R | 1836d440c97b71e3ba161958d24fc46a3ff96d86 | [] | no_license | chrischizinski/SNR_R_Group | 6bbf1dd467b437ae82807622e5c840de43b9979d | d02c91fcd6c947bbd99dba095b88e33320270844 | refs/heads/master | 2020-05-21T22:09:39.883698 | 2017-12-08T13:34:49 | 2017-12-08T13:34:49 | 65,237,322 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,425 | r | 2017-09-08-Challenges_week2.R | #data explaination
# http://www.datacarpentry.org/R-ecology-lesson/02-starting-with-data.html
library(tidyverse)
library(lubridate)
mydata <- read_csv("https://ndownloader.figshare.com/files/2292169")
glimpse(mydata)
###EMAIL to michael.whitby@huskers.unl.edu if taking for credit.
###FYI: I just send a list... |
552ebb9f960719c8ea6b5f00797d0078c152c916 | c7cde3e623021ef9df1a3a0f3c6f8a5c1bd21bf3 | /code/tests/compute_ess_mcse.r | 3e22409cdc768f96d433f42b3ac7da87ccc9a1d3 | [] | no_license | NaitongChen/STAT520A_Project | 422eb6c3960d56729e855b4c3e5da067b8f3b596 | b1cdc75e2a54b7e7dfa044816dcda49be83b1680 | refs/heads/master | 2023-04-11T12:13:43.583163 | 2021-04-21T03:52:19 | 2021-04-21T03:52:19 | 341,904,667 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,262 | r | compute_ess_mcse.r | library(mcmcse)
setwd("../../data/posterior_samples")
file_names = list.files(pattern="4_diffind2_locs.csv")
seed=5
to_store1 = data.frame(matrix(NA, nrow = length(file_names), ncol = 6))
colnames(to_store1) = c("ess first cp", "mcse first cp",
"ess second cp", "mcse second cp",
... |
94b1720a396ca767d7618499c1a983f7d9ad7518 | 0af65a43909f9bd8fd8e3ec61f2ca53524f3f7b1 | /corr.R | cdc44ebe4c0607a14d168531fbe134cb0f018c90 | [] | no_license | w00lf/datasciencecoursera | 29522850b0e9c050a10c8e6e9a71e9582c30a0e8 | 7ed6c723e0c9743075ac4ceabf4930aa08906eda | refs/heads/master | 2021-01-20T14:40:39.699861 | 2017-09-08T08:32:59 | 2017-09-08T08:32:59 | 90,645,740 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,267 | r | corr.R | # Data
#
# The zip file containing the data can be downloaded here:
#
# specdata.zip [2.4MB]
# The zip file contains 332 comma-separated-value (CSV) files containing pollution monitoring data for fine particulate matter (PM) air pollution at 332 locations in the United States. Each file contains data from a singl... |
7b033ae21aab45f6e54a0d7331c132beec1aaaf2 | 1d1066efb5fa6e0e69b1855e8d0d41f9387ee9d0 | /Rscript/EdgeR_glm_5per2FC_organs_190109.R | fc8e43dfa6cf0ace99e6536c9c6c20083309d5f1 | [] | no_license | isst001/eggshell_color_gene | a7b35d1dc031de7e64fcf0bc0dde51ec4881be07 | 264ace9e2fad4f2427fa8eedb3f05552c3ba0ca4 | refs/heads/master | 2021-10-18T19:33:53.258293 | 2019-01-18T12:17:28 | 2019-01-18T12:17:28 | 164,637,609 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,227 | r | EdgeR_glm_5per2FC_organs_190109.R | inf="raw_count_data_all_organs_tissues_190108.txt"
x <- read.table(inf, header=T, sep="\t", row.names=1, quote="")
x <- x[!duplicated(x$gene_short_name),]
write.table(x, "raw_count_data_all_organs_tissues_unique_190108.txt", row.names=T,col.names = T, sep = "\t", quote=FALSE)
inf2="raw_count_data_all_organs_tis... |
963a0b8e82fef94b61f46f4f9dee828520f0d768 | a6d935931bf7804801747b276960713375c13295 | /LogisticRegressionHeart.R | 5da0f8517ac636524a1c4b5119298220c7303840 | [] | no_license | amitnke/Regression | 53b9f4d53292c2031806843ceed56f29dacac5ba | a95680d7a0857459eafd328ea1d473d8ff8008f4 | refs/heads/master | 2021-01-10T19:13:22.708692 | 2015-10-09T02:42:35 | 2015-10-09T02:42:35 | 41,615,382 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 191 | r | LogisticRegressionHeart.R | heart = read.table("/Users/amitkumar/R/data/heart.data", sep = ",", header = T)
names(heart)
heart = heart[-c(1, 5, 7)]
heartfit = glm(chd~., data = heart, family=binomial)
summary(heartfit)
|
ad3ce9e292dc9d05869c5ea7aead2e0146cd2e00 | 68f70521040e85b89aacd8e81536a030da5d43d0 | /R/methods/plots.R | 401863d48aaea0c480132155e9c963e8e4f0ac26 | [] | no_license | FAU-Paleo/macrocology_2020-06-16_biogeography | 847224da1cff2283a8c48f1e695625bec865bb9a | f783718f1d8c8ff3dd56a66650312666c1a9a8d6 | refs/heads/master | 2022-11-01T23:26:04.670394 | 2020-06-17T11:03:33 | 2020-06-17T11:03:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,030 | r | plots.R | #' Plotting biogeographic membership
#' Adam T. Kocsis (Erlangen, 2020-06-17)
#' CC-BY 4.0
#' @param mem Membership vector.
#' @param cols color vector.
#' @param bg Spatial object, background.
#' @param alpha alpha values of region colors
#' @param labels should the labels be plotted
#' @param gri icosa grid used for ... |
c76d0cdec2494d0b7349d2ebeadf58704191d7e6 | 4b9303d6c78fc023626f9267997ca23634479af6 | /man/count_unique.Rd | 8412432f4083c5e45d06ed11f8dde493164e5a5c | [
"MIT"
] | permissive | aassumpcao/ColombiaDashboard | e28ee968631317f95e4b9cfdad99a46fe7439bc3 | 4919e17e466858ce25160da642ae65846bc4f597 | refs/heads/master | 2023-04-08T18:44:55.409457 | 2021-04-17T01:28:25 | 2021-04-17T01:28:25 | 346,501,519 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 522 | rd | count_unique.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_helpers.R
\name{count_unique}
\alias{count_unique}
\title{helper function}
\usage{
count_unique(data, question_analysis, group = NULL, sort = TRUE)
}
\arguments{
\item{data}{a dataset}
\item{question_analysis}{the main variable in the ... |
a75af82a8653f938fd3e69967195797404752e05 | 1fa14a9f2be3b3704416e5084ce1c61009426eb7 | /Fitbit_HMM_part1.R | 20591717e90ba598f545ca3233c914cff2dbf046 | [] | no_license | idaocolorado/IDAO_HMM_Part1 | e69346c06fa72763640c5f833c4a82fcf221a0fc | 40398d9d91b0a371a8a8b3ce3e5e0044eddf61d2 | refs/heads/master | 2021-06-24T19:17:14.556725 | 2017-09-14T13:27:25 | 2017-09-14T13:27:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,890 | r | Fitbit_HMM_part1.R | ## Hidden Markov Models for time series
# Added to Github
# First load the requisite packages
rm(list=ls()) # Clear memory
graphics.off() # Clears graphics
library(forecast) # Needed to run forecast and auto.arima functions
library(astsa) # To run acf
# Load data
fitbit <- read.csv("~/Syncplicity/Science_files/Ongoin... |
2224909b1784bc6561374d98a66b00d6aaa8140d | 8902a1139209246adc0c2a7f6c50f01318b36e99 | /studies/simParams_iteration.R | 21804786de45e7c774f93b69c0fc0a228c67ee60 | [] | no_license | brianconroy/dataInt | d948f7e476303f070b3ba061ee6329af1d077a5d | d4b261577b9aec781b2810d215f04f77e7176a5c | refs/heads/master | 2021-05-13T11:34:23.702692 | 2019-10-31T22:36:18 | 2019-10-31T22:36:18 | 117,129,891 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,887 | r | simParams_iteration.R | #############################
# Choose simulation parameter
# values
#############################
library(plyr)
library(mvtnorm)
library(R.utils)
sourceDirectory('Documents/research/dataInt/R/')
#### Prism Principal Components
caPr <- load_prism_pcs()
caPr.disc <- aggregate(caPr, fact=8)
n_values(caPr.disc[[1]])
pl... |
fba1e8806cffb6482279a483d832dd3b23c49c5d | 9db131194754ed5e7d11abedc341e9f8faa58f2d | /R/civicr.R | 65c11ef7aae6dd70ba8e56b29250c241cc600639 | [
"Apache-2.0"
] | permissive | agduncan94/civicr | 00b022f015274e5ad7a1a825f1c93c10517a378e | 4e1fde5121011cfa4bec1792d883f8ff8a2e3bc3 | refs/heads/develop | 2020-07-06T14:51:32.393636 | 2019-09-03T16:56:18 | 2019-09-03T16:56:18 | 203,057,121 | 0 | 0 | Apache-2.0 | 2019-09-03T16:58:49 | 2019-08-18T21:14:17 | R | UTF-8 | R | false | false | 10,608 | r | civicr.R | # CIViC API Client for the R programming language
# Load required libraries
library(httr)
library(jsonlite)
# Set some constants
baseAPIUrl <- "https://civicdb.org/"
userAgent <- user_agent("https://github.com/agduncan94/civicr")
#' Get a list of genes
#'
#' Retrieve all genes from the CIViC DB
#' @param page the pa... |
a0dcef763e1cc82c02f05da800c1bf72d91006ab | 11c642306822f49953e8dfa04abe54d89cadc0f8 | /cachematrix.R | 20622edc465fd8bb2205cf1c0e661c9492dbadc5 | [] | no_license | shetimaj/ProgrammingAssignment2 | ed439c9944606baa734e7f3652687208f50a3a20 | 789f549cfb266e8255d0c1b5343501555f882893 | refs/heads/master | 2020-12-14T06:16:56.105432 | 2015-07-23T03:50:47 | 2015-07-23T03:50:47 | 39,516,583 | 0 | 0 | null | 2015-07-22T16:16:25 | 2015-07-22T16:16:24 | null | UTF-8 | R | false | false | 1,574 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## makeCacheMatrix is a function with a list of four functions that creates an inverse of a matrix and caches the data
## set() function assigns or re-assigns the matrix used in the makeCacheMatrix function
## the inverse matrix is res... |
cf53de194c5964560027490a64694bad6fdf40d8 | 5ae7baef9896050936b986eb40ef97f3dd0bd65d | /R/reduce.r | 8043a3ab2a023e1dfcd41a4fbdcc8d6282409538 | [] | no_license | jdthorpe/LifeTable | d4064d617861f7c2324ecbe8cf069da7aab9ae3d | 823dfcfa6d569d85bb2a5b0e077ab4920f70f446 | refs/heads/master | 2020-06-08T00:10:30.078615 | 2015-07-25T22:19:28 | 2015-07-25T22:19:28 | 30,566,170 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,561 | r | reduce.r |
reduce <- function(sharedParamList,nullSwitches){
# --------------------------------------------------
# this function reduces the problem space that will
# be optimized (if necessary)
# --------------------------------------------------
stopifnot(all(!is.null(nullSwitches)))
stopifnot(length(nullSwitches)>0)
s... |
149152e393fa7f822105dafb67e4d395ce0350e2 | 29ce175254b27a361714074b99fe5644ca2c3158 | /man/mutate.Rd | 16e8fa2f8ff4cd088d038deee0fe2cddaa258a88 | [] | no_license | raz1/Momocs | 148903d3f05428e72d7cef8ede46c0bba7f80f04 | 09a817bb0720d87969d48dd9e0f16516e042e13e | refs/heads/master | 2021-01-17T18:09:55.724182 | 2014-08-15T14:49:17 | 2014-08-15T14:49:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 974 | rd | mutate.Rd | % Generated by roxygen2 (4.0.0): do not edit by hand
\name{mutate}
\alias{mutate}
\alias{mutate.Coe}
\alias{mutate.default}
\title{Mutate Coe (and others) objects}
\usage{
mutate(x, ...)
\method{mutate}{default}(x, margin = 2, size = dim(x)[ifelse(margin == 1, 2,
1)], ...)
\method{mutate}{Coe}(x, size = nrow(x$coe)... |
cb06dffab1c48e8b0946728da6ead006bdf366e7 | be62417876def276106d632e5ec81823eb85bca6 | /compositeScenes.r | 27550145aa0c852b03ff2c32ad52960fcbe08c66 | [] | no_license | AlecNelson/MekongScripts | b7d6f2e6f3aa6a7a41777913425669df346bedac | 43dc1304b1dcafb38e50f57cb5f96b86aa51c98f | refs/heads/master | 2021-01-23T05:34:41.967743 | 2014-10-16T15:14:59 | 2014-10-16T15:14:59 | 25,307,955 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,003 | r | compositeScenes.r | # compositeScenes.r
#
# Intended for compositing both terra and aqua scenes by taking the
# greater or lesser value'd pixel of both scenes
# input: rasters
# output: a composited RasterLayer object
compositeScenes <- function(scene1, scene2, method)
{
require(raster)
scene1_mat <- as.matrix(scene1)
scene2_mat <... |
16f8815c512c5ac0b8c5914744bfbb640a1eec5a | b23e2dc0052aceeec4c0fd1818e7e44f87604178 | /TFM 2. arima.R | 78c231f5e22a00263268527a1730849a488899bb | [] | no_license | JuanferMG/TFM | 091be99283c05547adce6c12d9984c97b9a642e0 | 7952e87f0c0a0a9de4e7232a601f72f953316962 | refs/heads/master | 2023-01-24T12:10:13.076667 | 2020-11-30T13:09:39 | 2020-11-30T13:09:39 | 277,876,666 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,880 | r | TFM 2. arima.R | # ***** DATOS *****
# Descargamos los datos de los barrios de mi cuenta de GitHub
url<-"https://raw.githubusercontent.com/JuanferMG/TFM/master"
# Los datos de demografia de 2004 a 2019
url1<-paste0(url,"/DatosBarrioDemografia.xlsx")
GET(url1, write_disk(datos <- tempfile(fileext = ".xlsx")))
DatosBA <- as.data.... |
1beb6a60657d53c4cb2b74b28eb1723643054dee | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/texmex/R/ggplot.boot.R | 55fcb96d03ce28d0ffe1713354007e8f49d62285 | [] | 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 | 1,870 | r | ggplot.boot.R | ggbootdensplots <- function(x, denscol, histcol, linecol){
v <- colnames(x$replicates)
n <- length(v)
p <- vector("list", length=n)
for (i in 1:n){
d <- data.frame(x$replicates[, i])
names(d) <- "x"
p[[i]] <- ggplot(data=d, aes(x=x)) +
geom_density(fill=dens... |
8322b553d515168134298d324e400ef8c9e5c4a8 | ece76676ce0e36438b626e0a9394766e9d658ad2 | /R/utils.R | f33374752aa80aef5db1564ab68dd1da0f49e869 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0",
"MIT"
] | permissive | rstudio/fontawesome | 8a1b65937626b5228ff6c978a65ae502faca59f9 | b056ecaa9169b98e9d01eacbb66dd43e8b4e7cd7 | refs/heads/main | 2023-09-01T02:24:26.547607 | 2023-08-24T00:32:47 | 2023-08-24T00:32:47 | 135,504,089 | 277 | 45 | NOASSERTION | 2023-08-23T21:58:29 | 2018-05-30T22:31:54 | R | UTF-8 | R | false | false | 181 | r | utils.R | # @staticimports pkg:staticimports
# s3_register
# nocov start
`%||%` <- function(x, y) {
if (is.null(x)) y else x
}
is_na <- function(x) {
isTRUE(is.na(x))
}
# nocov end
|
b3d16750c7df8ae46b0e4e235abe88eea182e960 | 504ddda4aa27f155f197cd7bac505eb686a86cae | /dcsr2BE.R | 6c98beb0df06f22aa2972c02bc7924e8b890b8f0 | [] | no_license | NKweiwang/dscrOmega | 00635a370364fe6f3cbfb48b3d2a9471f1549d44 | 26a7e83bb6ed6e455bf2cfa80a27533a90dd6603 | refs/heads/master | 2021-01-18T18:22:52.401133 | 2016-06-10T20:57:55 | 2016-06-10T20:57:55 | 30,993,049 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 784 | r | dcsr2BE.R | library("dscr")
library("BatchExperiments")
source("scenarios.R")
source("methods.R")
source("score.R")
reset_dsc(scenarios,methods, force=TRUE)
res=run_dsc(scenarios,methods,score)
dsc = list(scenarios=scenarios,methods=methods,scorefn=score)
system("rm -r one_sample_location-files")
reg=dsc2BE(dsc,"one_sample_locat... |
ca62bafa2252c2c55a0e3ca981366231aefd7b80 | 0ade666a7d09e202307d49480f09f584a80682d7 | /3. getting and cleaning data/1. read xml file.R | 1def1f44676a8c0c86bf134fd95c0380e356b43d | [] | no_license | richarddeng88/Data_science_specialization_JHU | a77e0d7b3ca6cdec11550fd35d038008eba7d968 | 80c5471f0bab5b2fb7f99e00080a8f03a635c6d1 | refs/heads/master | 2021-01-10T05:10:12.461571 | 2016-09-24T16:21:04 | 2016-09-24T16:21:04 | 54,853,856 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,409 | r | 1. read xml file.R | library(XML)
url <- "http://www.w3schools.com/xml/simple.xml"
xmlFile <- xmlTreeParse(url, useInternalNodes = T)
xmlFile <- xmlParse(url)
# print root size, root name, child name
root <- xmlRoot(xmlFile) #gives content of root
class(root)
xmlName(root) #give name of node, PubmedArticleSet
xmlSize(root) #how many child... |
d14059edc9cce2338fac24f23307219157cfa21c | 6596b98a42c2604e5dc4708b15eaa29206ddcde9 | /man/cd03-3-justClusters.Rd | 6b07d8480a63690b666c38d92dfcd90a5f6e5985 | [] | no_license | cran/ClassDiscovery | 15d61d3d1a22cf7b9ba966892295a5e1e2950cc7 | 343881a42a93d88f259698d8244a12be4c6c621b | refs/heads/master | 2021-07-25T12:48:28.313719 | 2021-07-16T14:30:02 | 2021-07-16T14:30:02 | 96,978,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,490 | rd | cd03-3-justClusters.Rd | \name{justClusters}
\alias{cutHclust}
\alias{cutPam}
\alias{cutKmeans}
\alias{repeatedKmeans}
\alias{cutRepeatedKmeans}
\title{Get the List of Classes From A Clustering Algorithm }
\description{
Unsupervised clustering algorithms, such as partitioning around medoids
(\code{\link[cluster]{pam}}), K-means ... |
a7d61c87c575502ef2df8bd794ff16282d161824 | 8405666329221b7012692a4a61fd6ebdf1df22c5 | /app.R | c52994d32a9d9c47651bf7dd3fc92cc6dae0e2ad | [] | no_license | UBC-MDS/mds532_viz_group25-R | 225a3b2601f11e64fad62025956dc49bb3eb134d | 3bb5ae8a37ab42fcd59d63c786a355088c6ccf5e | refs/heads/main | 2023-02-25T07:19:09.877556 | 2021-01-31T06:40:49 | 2021-01-31T06:40:49 | 334,164,921 | 0 | 3 | null | 2021-01-31T06:37:09 | 2021-01-29T14:12:54 | R | UTF-8 | R | false | false | 5,609 | r | app.R | library(readr)
library(dash)
library(dashCoreComponents)
library(dashHtmlComponents)
library(dashBootstrapComponents)
library(ggplot2)
library(plotly)
library(tidyverse)
app <- Dash$new(external_stylesheets = dbcThemes$BOOTSTRAP)
df <- read.csv("data/processed/clean_data.csv",row.names = 1 )
app$layout(
dbcContai... |
5c259bcd9629c8b5defa8d903d162a8eb87143a4 | af89a6dc5a65e482a7e846e5bf679a262deb0d35 | /imageSynth.R | 4d27ae2687f868103c6f7ae00a4e71dbc774044a | [] | no_license | kamenoseiji/imageSynth | 12d360625fa65b22dfb5b70ab6ffc29afee7475a | 9764166e41a84afc199a6e9a7615d5b06631925c | refs/heads/master | 2021-01-19T01:13:49.316532 | 2018-08-13T02:51:04 | 2018-08-13T02:51:04 | 20,640,604 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,143 | r | imageSynth.R | # Usage: type in command line: Rscript imageSynth.R [filenames of images]
#
Arguments <- commandArgs(trailingOnly = T)
setwd('.')
library(png)
library(jpeg)
library(tiff)
#-------- Parse arguments
parseArg <- function( args ){
Xtr <- 0; Ytr <- 0; FoV <- 0; calFlag <- F; LCH <- c(); tfnFlag <- F
argNum <- length(args)... |
6257ae6f1881e6be95bccfdb9e294bd603916fec | 7695d9fa40a26df410954287b48400dc5377abc7 | /man/vipermat_brca.Rd | 4c5f53eb2e9f06788bfd21c753fbbe3ee688a135 | [] | no_license | andrewholding/ZMIZ1 | e95049b8590bebfec1851f9f144ffaa4a4d83b43 | 898ed2ffbd18339663ebdd0d3555a10d6263ae06 | refs/heads/master | 2023-08-18T01:04:23.432511 | 2023-08-03T17:14:48 | 2023-08-03T17:14:48 | 177,729,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 402 | rd | vipermat_brca.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{vipermat_brca}
\alias{vipermat_brca}
\title{VIPER Activity Matrix for TCGA BRCA patient samples.}
\format{
An object of class \code{matrix} (inherits from \code{array}) with 4386 rows and 1037 columns.
}
\usage... |
c1e73373610b593d466321dc9454a85a0c768f9e | 0eac6f72fc988546ee57127b5741e3d12e2379a5 | /man/fitHigherOrder.Rd | 77f9fec7fb096f6181df289c45bbf7b2ec676955 | [
"MIT"
] | permissive | spedygiorgio/markovchain | 4e70064a749f55d52bcdfffb7559e7027b161cc1 | 4eb1ec1b67f9231c129db5da3cc2ba51bd5f4121 | refs/heads/master | 2023-06-09T15:48:30.895373 | 2023-05-16T21:25:26 | 2023-05-16T21:25:26 | 31,481,152 | 111 | 58 | NOASSERTION | 2023-05-18T22:00:52 | 2015-02-28T23:54:38 | R | UTF-8 | R | false | true | 1,127 | rd | fitHigherOrder.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fitHigherOrder.R
\name{fitHigherOrder}
\alias{fitHigherOrder}
\alias{seq2freqProb}
\alias{seq2matHigh}
\title{Functions to fit a higher order Markov chain}
\usage{
fitHigherOrder(sequence, order = 2)
seq2freqProb(sequence)
seq2matHigh(sequenc... |
f1a80acaf98d800183bb32c2666bf12fab02b2c6 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1609956127-test.R | 61e6a684e343644214cd3e2f09929f3a3654e13e | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 320 | r | 1609956127-test.R | testlist <- list(id = integer(0), x = numeric(0), y = c(1.55923433229464e-47, 1.51979061388169e-47, 1.51979061388169e-47, 1.75532729598899e-317, -3.38043295900995e+221, 7.28756190143209e-304, -1.557374211109e-207, 7.36157812303457e-322, 0, 0, 0, 0, 0))
result <- do.call(ggforce:::enclose_points,testlist)
str(result) |
3b3c9f55e078f54e1c40119bc4e099d364be1e25 | f18da959a5b0818a2b64236d7fd57d15738beea1 | /R/PRcalc.R | dec324eda7c064926a85063dd9c712b9cd41a6aa | [
"MIT"
] | permissive | JaehyunSong/PRcalc | 9c80f01058d51b6ddc0e213beeb6d623d844e819 | 37d27f02812f480485d472b6f0a6f4e57a52626d | refs/heads/master | 2022-04-26T10:34:21.928644 | 2022-03-11T02:16:53 | 2022-03-11T02:16:53 | 34,711,565 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,894 | r | PRcalc.R | # Generated by fusen: do not edit by hand
#' 比例代表の議席割当計算
#'
#' @param x \code{data.frame}、または\code{tibble}オブジェクト
#' @param seats 議席数; 長さ1以上の\code{numeric}型ベクトル
#' @param method 議席割当方式;
#' @param threshold 阻止条項 (0 ~ 1); 既定値は0
#'
#' @details
#' 各引数の詳細は以下の通りです。
#' \describe{
#' \item{\code{x}}{2列以上の\code{data.frame}、または... |
7367df1acd9c3cd0d356c1851a042bf9b342e57f | 66a10b4451297210ab6dbdb31703b20bdd703c7e | /ui.r | 7613883b5167c55abbac41fd26fbbfba9e4cf084 | [] | no_license | eakmail/DevDataProds_CourseProject | 7ccecbc0aae258863c9c4324d1ef52318e93f405 | 0b401f912e5be497d11c1e628c4329ad6c5f9814 | refs/heads/master | 2016-09-09T20:24:08.690528 | 2015-02-12T19:21:02 | 2015-02-12T19:21:02 | 30,719,081 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,658 | r | ui.r | library(shiny)
shinyUI(fluidPage(
# Application title
titlePanel("Simple MtCars DataSet Graphical Explorer"),
sidebarLayout(
# Sidebar with a slider input
sidebarPanel(
p("Choose which variables you want to see on the graph:"),
selectInput(inputId = "varY", ... |
45ed2fb7daf28cb47ffb54bc356b723d983559e2 | 15a8d92018494b0924ce4dd55cbd032f5d88a671 | /Supervised/SVM/loan.R | b47d90f1920edeb9a4f421faf32f8480f4869f7b | [] | no_license | Raunaq98/ML | def6ec86c47a6b609bddeaca436274b89656095b | 8e3aef02f3833351535e7c76c8e8ecc09fe1a150 | refs/heads/master | 2022-12-05T07:55:02.739050 | 2020-08-22T11:01:35 | 2020-08-22T11:01:35 | 287,127,468 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,820 | r | loan.R | dir<- getwd()
path1<- paste0(dir,"/Supervised/SVM/loan_data.csv")
loan<- read.csv(path1,header = TRUE, stringsAsFactors = TRUE)
# To classify and predict whether or not the borrower paid back their loan in full.
#### converts categorical columns to factor types
loan$credit.policy<- factor(loan$credit.policy)
loan$in... |
8858cf8b9d39462526b309c6d7160b57006d0f01 | ffad87e6940136b8c01e99214b2a7ed6da7da63e | /ui.R | ad6262ed6d99e2b67ab0e850b6a41850cf5205e9 | [] | no_license | JulieRas/MidtermINT | 691474b51fe4bada9ee246d3a8e1b4a611097cef | 4d9acf40db7515108eafbfcf4f0ab4a87b2ee89a | refs/heads/master | 2021-09-03T08:18:26.788951 | 2018-01-07T13:01:17 | 2018-01-07T13:01:17 | 116,565,697 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 455 | r | ui.R | library(shiny)
shinyUI(fluidPage(
titlePanel("Event Study of Thailand"),
sidebarLayout(
sidebarPanel(
sliderInput("sliderMPG", "Events", 10, 35, value = 20),
checkboxInput("showEvent1", "Show/Hide Event 1", value = TRUE),
checkboxInput("showEvent2", "Show/Hide Event 2", value = TRUE),
... |
88af31896fb51285fcf0a03061d2872db60a8fec | 022ac7769fbe27d472d84bb5faccbf3ada7242b7 | /data-preprocessing-and-visualization/data-handling/purrr.R | cd9db02409ebcc26249084c248f9e7e651d3293e | [
"MIT"
] | permissive | fisproject/R-Study | 63f354b03d8b1f50677f795eb237bfe16a29999f | 924a34fd7bc3094646dbb45d3242fe1e8a3f2234 | refs/heads/master | 2020-05-21T22:20:52.622002 | 2019-04-03T14:00:02 | 2019-04-03T14:00:02 | 24,105,553 | 13 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,608 | r | purrr.R | library(dplyr)
library(purrr)
# nested list
attractions <- list(
list(name = 'カリブの海賊', time_required = 15, tags = c('アドベンチャーランド', 'ファストパス')),
list(name = 'ビッグサンダー・マウンテン', time_required = 4, tags = c('ウエスタンランド', 'ファストパス', '人気')),
list(name = 'スプラッシュ・マウンテン', time_required = 10, tags = c('クリッターカントリー', 'ファストパス', '人気... |
cbae065afc40e2da2150b7d34e4d8faff2b08427 | eaa87197fffdd4898067a1294a38319fefb90797 | /man/add_global_md_clustering.Rd | 31c68faae42b5f8c6cd88713477c3c255a4b229d | [
"MIT"
] | permissive | aertslab/SCopeLoomR | 44c91fe5428a24ab28e491ea22b0dde7f7bba2d3 | 20f4e0af5ecdbb748a088d52400e24b42ed30a24 | refs/heads/master | 2022-05-01T17:44:07.220814 | 2022-04-08T13:26:13 | 2022-04-08T13:26:13 | 122,311,843 | 28 | 14 | MIT | 2021-04-07T09:27:48 | 2018-02-21T08:47:21 | R | UTF-8 | R | false | true | 639 | rd | add_global_md_clustering.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/loom.R
\name{add_global_md_clustering}
\alias{add_global_md_clustering}
\title{add_global_md_clustering}
\usage{
add_global_md_clustering(loom, id, group, name, clusters, annotation = NULL)
}
\arguments{
\item{loom}{The loom file handler.}
\... |
2fd9154f6bcccfbd8ddb6ce012494c0300242a06 | f65fb425744cb0e367438b2e69019b6645048cdb | /R/unfolding.R | b484f92ee0a0e6c7540fc351b6d31001a2b02e24 | [] | no_license | cran/smacof | 2dc3946ee615eef6846212c3e0fbb6bbd3d94e9a | c89277ac6d174f1c8d191994fc2fe0ee849f6a25 | refs/heads/master | 2022-05-27T05:52:02.937125 | 2022-05-06T06:04:47 | 2022-05-06T06:04:47 | 17,699,709 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 47 | r | unfolding.R | unfolding <- smacofRect
prefscal <- smacofRect |
7ea7b7be62af51449e1c0aeeccea9d177794ba7a | b6d41be1821b5fe4eaa145c85128da485ba38a3f | /day2/day2_practice.R | 500399e620155131fa958241b48cd1895afbda48 | [] | no_license | shoestringpsycholing/r_programming_bsos | a5d32f6edeeed7949fb1fd51c41df64ce8f8f631 | 9052a06d5ae3aefda584eb4505487c4e2b087577 | refs/heads/master | 2016-09-09T18:30:21.737753 | 2015-01-20T16:43:22 | 2015-01-20T16:43:22 | 28,814,001 | 2 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,820 | r | day2_practice.R | # 1. Run a t-test with the sleep data set
# a. save the values as objects/variables first,
# then supply as arguments to t.test()
# b. try skipping that step and referring to the values directly
group1 <- sleep$extra[1:10]
group2 <- sleep$extra[11:20]
group1 <- sleep$extra[sleep$group == 1]
group2 <- sleep$ex... |
8c4648e5a130b08333a5a1e7a00a37c78a2878fa | ca548044ec6410ad6bef7210bb08e22c9f8a43c8 | /man/getSampleNames.Rd | 2b74de427e822a6472851ef87c3c488f8215e92f | [] | no_license | bentobioinformatics/yamp | a0ecb3b33e5734763f94584b0e85aa7885e99ca5 | 6fe927a3d7c7478191eabb61574a03acf5f1cb8e | refs/heads/master | 2021-01-11T05:15:13.327840 | 2016-11-24T11:36:51 | 2016-11-24T11:36:51 | 69,193,008 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 510 | rd | getSampleNames.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getSampleNames.R
\name{getSampleNames}
\alias{getSampleNames}
\title{getSampleNames}
\usage{
getSampleNames(file)
}
\arguments{
\item{file}{the name of the OTU table file which the data are to be read from. The OTU table must have derived fro... |
0975045a2d0670c0f27493a748d41bf3553c268e | 3819c5c65f13b185b8fb714d7349abfecb793a72 | /R/checkInputs.R | 07826fb6018836ebde1ac5c1ce6783bfce64e8ac | [] | no_license | cran/DynTxRegime | ed877579c6ffc6156fb6c84298a58d1db5940dff | 9ecb35dfd9abf9617e0179d3d4d552dce22314e5 | refs/heads/master | 2023-06-25T03:37:01.776586 | 2023-04-25T13:50:11 | 2023-04-25T13:50:11 | 37,244,072 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,356 | r | checkInputs.R | .checkModelObjOrListModelObjSubset <- function(object, nm) {
if (is.null(x = object)) return(object)
if (is(object = object, class2 = "ModelObjSubset")) {
object <- list(object)
}
if (is(object = object, class2 = "modelObj")) return(object)
if (!is.list(x = object) || length(x = object) == 0L) {
s... |
22f998e9ddcc4c0b3092984ca39ec5e7af2282f6 | 0d4a48b47deed948603cc03bad032d3236cd3be7 | /homework/hw3_inc/hw3_inc_v2.R | 7a15d385d365b2a82f8d874ce70ec32115475abe | [] | no_license | UCB-Epi-R/phw250fg2019 | e67c1d3cd5ee292c4e63abe3704f3f74ad1001b5 | 7b9eefa1cb52d9fa439cffd0e8dfeba08a6b24ff | refs/heads/master | 2020-06-18T09:13:28.748513 | 2019-12-10T00:16:28 | 2019-12-10T00:16:28 | 196,247,267 | 0 | 0 | null | 2019-09-18T16:41:47 | 2019-07-10T17:22:38 | R | UTF-8 | R | false | false | 4,353 | r | hw3_inc_v2.R | #################################################
# R-for-Epi
# Epidemiologic Methods II (PHW250F, PHW250G)
# created by Jade Benjamin-Chung
# Homework 3: Incidence
#################################################
# Don't change these lines, just run them!
# Load okR autograder
tryCatch({source('setup/autograder-setu... |
04d11b0a82cc0eb4336d28ca8746bdce27fbcef7 | 77157987168fc6a0827df2ecdd55104813be77b1 | /MGDrivE/inst/testfiles/calcCos/libFuzzer_calcCos/calcCos_valgrind_files/1612728105-test.R | 4b67177666c2aad13062cfd5c2dc8a54c4842810 | [] | no_license | akhikolla/updatedatatype-list2 | e8758b374f9a18fd3ef07664f1150e14a2e4c3d8 | a3a519440e02d89640c75207c73c1456cf86487d | refs/heads/master | 2023-03-21T13:17:13.762823 | 2021-03-20T15:46:49 | 2021-03-20T15:46:49 | 349,766,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 449 | r | 1612728105-test.R | testlist <- list(latLongs = structure(c(3.02668741796475e+267, 3.02668741796475e+267, 3.02668741796475e+267, 3.02668741796475e+267, 3.02668741796475e+267, 3.02668741796475e+267, 3.02668741796475e+267, 3.02668741796475e+267, 3.02668741796475e+267, 5.90602436456152e+223, 1.68936878664978e-104, 2.54166853232633e+117, ... |
775262e42e80d969678e33a9743a35f093035744 | 11a910addebae08f6db43f9d5a4de616cd511fa1 | /Samples/sample.R | 3219c3d537b064416f6f4b520d0e6c3e8fe3020d | [] | no_license | stefanroata/quantitative-reasoning | df52e600e3af404855b4825abc21e5f0ce552750 | 3866e360b61bb41a46641528f0cf69e18f863881 | refs/heads/main | 2023-02-20T17:02:04.987126 | 2021-01-27T17:26:08 | 2021-01-27T17:26:08 | 333,504,939 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,492 | r | sample.R | sample(x=1:3, size=2)
sample(x=3, size=2)
mtcars[sample(x=nrow(mtcars), size=2), ]
#dice rolls
sample(1:6, size=1, replace=T)
sample(6, size=1, replace=F)
die.rolls<-sample(1:6, size=20, replace=T)
die.rolls
dice<-sample(1:6, size=3, replace=T)
mean(dice)
trials<-20
numeric(4)
res<-numeric(trials)
for(i in 1:tri... |
8b1c10cc850d89f6b093ef0215988e3990b0dd1c | ab1f1756758a44cdec52ce421be9f863fd9627f0 | /Resources/Chaos/julia.r | ff8cddb5f8af380b9ffec88c3f28afea9df76b44 | [] | no_license | sone/LitterPower | c6a648421c47c8bbf547075868bdf7e477cde9aa | 6b93433a2ce76f63d6eff57cd4ea6ed40cec037d | refs/heads/master | 2021-10-24T01:19:21.694675 | 2017-07-11T13:33:12 | 2017-07-11T13:33:12 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 2,112 | r | julia.r | /*
File: julia.r
Contains: Resources for Max external object julia.
Written by: Peter Castine.
Copyright: © 2001-2002 Peter Castine. All rights reserved.
Change History (most recent first):
<3> 9Ð1Ð04 pc Make vers information carbon/classic-savvy. Drop faux 'Vers'
... |
a8b6bbeb644e40614d5da0e2c707ba0e378cf9e1 | aaa94db31fe4adc10ab85dd79ee9fc445db0f8ea | /server.r | 145c9f5024a0caa4af1d80ea63eeb12e80ab5482 | [] | no_license | ShelleyStall/DataProd_ShinyApp | 30f5e81a08e4366b1b7742ce3bdd78a454199f53 | f5d49bfb4ebd8e329aa60b20cf99d6bd367cd35f | refs/heads/master | 2021-01-19T20:21:51.801263 | 2015-04-25T19:03:18 | 2015-04-25T19:03:18 | 34,581,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,930 | r | server.r | library(shiny)
suppressPackageStartupMessages(library(googleVis))
## read the school data and group by state. Assign column names.
schooldata <- read.csv("postscndryunivsrvy2013dirinfo.csv", stringsAsFactors = FALSE)
school_sum_by_state <- as.data.frame(table(schooldata$STABBR))
colnames(school_sum_by_state) <- c("sta... |
65d04ef4d061df08a393b3c5c78ef960eeeeead1 | 6b41b7034e5f9d41c2d5ffbda120c1ae04683f5c | /discrete-fourier-transform.r | ac6649fc3dab5d35ef6c28acb12f1d789dc0e0e5 | [] | no_license | joyofdata/miscellaneous | 5c5606a7eafb88daf684ca6bbddd755e5c49c015 | 403419f8f4eb1f2db3dfb3820d389ce0486cb405 | refs/heads/master | 2021-01-15T13:36:51.293094 | 2014-05-15T14:07:42 | 2014-05-15T14:07:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,085 | r | discrete-fourier-transform.r | I <- complex(imaginary = 1)
x <- c(1,1,0,1,1,0,1,1,0)
N <- length(x)
x.abs.max <- max(abs(max(x)), abs(min(x)))
my.fft <- function(k,x,N) x %*% exp(-I*2*pi*k*(0:(N-1))/N)
my.ifft <- function(n,X,N) (X %*% exp(I*2*pi*(0:(N-1))*n/N))/N
my.X <- sapply(0:(N-1), function(k) my.fft(k,x,N))
my.X
sapply(0:(N-1), ... |
e5d6838ee38039774b4c3cdfc494f70decb5a583 | c4e5bb9bcad63afd514a7d5a124d4b572ceda870 | /plot 1.R | f4d52d57b4b0691050a8a6a679cc8f6324f2be2e | [] | no_license | lucasteong/ExData_Plotting1 | a8c76cb6055dea9d384ee6092d5f1690f734b33a | 3c249b9c8fd28477932858c7a8be7de1094cc3b9 | refs/heads/master | 2020-07-19T17:59:11.180791 | 2019-09-05T09:52:26 | 2019-09-05T09:52:26 | 206,490,523 | 0 | 0 | null | 2019-09-05T06:26:32 | 2019-09-05T06:26:32 | null | UTF-8 | R | false | false | 1,173 | r | plot 1.R | #########################################
# 1 - Download data to working directory
#########################################
# Download zipfile if it does not exists
filename <- "exdata_data_household_power_consumption.zip"
if (!file.exists(filename)){
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fd... |
59df2d92c270128a29dda89ae273a0c5608948d9 | d9dfd485199c3148148cd74e66aab20536cf553f | /mu_x_til.R | 2690b369f4992042993786c5376a4d6e8ac8cf1d | [] | no_license | cardorl/AlgoritmoR_Repository | 72de09b0a569bf1d389bd9aa7b7c6bd4e9f4555e | 7914fc67836c71ed4d4321e3261ab5baf8c8fc05 | refs/heads/master | 2016-09-11T03:07:13.811181 | 2015-09-01T11:30:26 | 2015-09-01T11:30:26 | 24,561,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 205 | r | mu_x_til.R | mu.x.til.f<-function(X.barra,Y.barra,beta.til,alfa.til,lambda.e){
result<-((Y.barra*beta.til)+(lambda.e*X.barra)-(alfa.til*beta.til));
result<-result/(beta.til^2)+lambda.e;
return(result);
}
|
3087854d987e02d1260d803c1d59a9689e775108 | 747d26c2c2693d51affbb3b34c36dc65f50b0fb8 | /CrossSelection.Lasso.R | d51aefd9e85268607ce3f2c50ac86333d5435cc6 | [] | no_license | georgiasalanti/NMApredictionsRiskModel | 20655668ccce72c1961e529ccd964dcabc0452d5 | 184b7bda4af1df56de8619d3ec58d2462397bdad | refs/heads/master | 2020-06-05T00:31:57.761939 | 2019-06-14T10:18:24 | 2019-06-14T10:18:24 | 192,252,251 | 0 | 0 | null | 2019-06-17T01:00:39 | 2019-06-17T01:00:39 | null | UTF-8 | R | false | false | 2,513 | r | CrossSelection.Lasso.R | #######################################################################################################
### Selects variables via LASSO based on half RCTs ################################
### with 100 cross validations (100 different half-datasets)###########################
############# 1 YEAR... |
b2c1c9600e2d634a0af09230ab839363963fa4be | c13c41582b93e1ec4df4d3fd15c9b461ba926d72 | /R/calc.pairprob.R | e050170abbc87d1f64cd1befa7e58b9bca35579d | [] | no_license | pjotrp/rqtl | 834979ea3e6453637dee4b7a53432b3c61b26f44 | d7f377b50771d9f0862d1590bf05add06982cb35 | refs/heads/master | 2020-06-02T06:57:46.392621 | 2009-06-26T21:27:15 | 2009-06-26T21:27:15 | 127,591 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,834 | r | calc.pairprob.R | ######################################################################
#
# calc.pairprob.R
#
# copyright (c) 2001-9, Karl W Broman
# last modified Apr, 2009
# first written Nov, 2001
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License,
... |
aa6076377eb6c1404d50e717e29bd8663644beec | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/coneproj/examples/coneA.Rd.R | bd50a495055cde7688c53d8dbf10cc27ed84afdf | [] | 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 | 973 | r | coneA.Rd.R | library(coneproj)
### Name: coneA
### Title: Cone Projection - Polar Cone
### Aliases: coneA
### ** Examples
# generate y
set.seed(123)
n <- 50
x <- seq(-2, 2, length = 50)
y <- - x^2 + rnorm(n)
# create the constraint matrix to make the first half of y monotonically increasing
# and the second hal... |
e03424cc523fc048a53095ad0dd591c5db5558bd | 52586df6b1df22e19750306185ee69a7b09abf42 | /FastMCMC - Main/new_kernel_saem/warfarin/cow_mamyula.R | e7a40b60b4aa75ead780258f23f82c1bfcce7d8d | [] | no_license | BelhalK/AccelerationTrainingAlgorithms | 5d1390f5a5cb6f24f59f2c06073040056014aa64 | 0cc5f4405ad103f704cd7c6259762a66fb6bf37f | refs/heads/master | 2023-07-25T02:28:38.095277 | 2020-10-30T09:14:28 | 2020-10-30T09:14:28 | 94,530,148 | 0 | 0 | null | 2023-07-06T21:20:14 | 2017-06-16T09:46:26 | Jupyter Notebook | UTF-8 | R | false | false | 15,676 | r | cow_mamyula.R | # setwd("/Users/karimimohammedbelhal/Desktop/variationalBayes/mcmc_R_isolate/Dir2")
# source('compute_LL.R')
# source('func_aux.R')
# source('func_cov.R')
# source('func_distcond.R')
# source('func_FIM.R')
# source('func_ggplot2.R')
# source('func_plots.R')
# source('func_simulations.R')
# sou... |
acea642194c37c360b606230ecaba053783fdaea | 0420fa9f0a499af5edc75c7ddbe606a7ea684e6c | /R/zzz.R | 58a6dc02e10f91c9159d080c3b7c902cddcb530a | [
"MIT"
] | permissive | coolbutuseless/cairocore | ca8a2b82f594b086c7de38149fb3d3a5f150b455 | 5bf9f2f170f3c7ee81e0b5c709946745950115d4 | refs/heads/master | 2022-12-03T18:36:56.909944 | 2020-08-30T04:04:22 | 2020-08-30T04:04:22 | 288,104,420 | 12 | 1 | null | null | null | null | UTF-8 | R | false | false | 171 | r | zzz.R |
.env <- new.env(parent = emptyenv())
.onLoad <- function(...) {
# Keep track of whether pkg has shown warning about memory-related functions
.env$warned <- FALSE
}
|
b4995a0b6d89b2de8f508148b81c75449f93d250 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GLMsData/examples/kstones.Rd.R | cbf7b60487742507b86eecc7591c45d37295b823 | [] | 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 | 168 | r | kstones.Rd.R | library(GLMsData)
### Name: kstones
### Title: Treating kidney stones
### Aliases: kstones
### Keywords: datasets
### ** Examples
data(kstones)
summary(kstones)
|
3bd93f13f2faf07e753862e44707a3058904078a | b7cb283274a351a548b76ab5b7a4bca727fcd148 | /run_analysis.R | 3e687c9bbd9c8ca5c572b9e6cb0515cf48f1a500 | [] | no_license | bryanstephens/cleaning-data-course-project | 2422bb592b155bcac5f26a0697c22303b3df7f5f | 81cfb5c8e395bce0ff648682c087d6740b682899 | refs/heads/master | 2021-01-17T05:35:24.903314 | 2015-06-21T20:59:22 | 2015-06-21T20:59:22 | 37,818,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,813 | r | run_analysis.R | library(plyr)
library(dplyr)
# Running the run_analysis() function will write a file "output.txt" that follows the following process:
# 1. Merges the training and the test sets to create one data set.
# 2. Extracts only the measurements on the mean and standard deviation for each measurement.
# 3. Uses descriptive ac... |
78f0f8ee65e7d3357defdbf201facd33b6f67e1a | fd079194e5404f91dc020d570246bfbb7e8d306c | /Handouts/4-Stan introduction/R-Stan code/intro_stan_R_script.R | 993031ce3f0e8b35b5b2b03a16714b3fbe4f9f0b | [] | no_license | LeoEgidi/GLMM-2021 | 201c4f073436489e99e8881d9fc816528d899544 | e3fd3232152a3ef12f6e0dc848909cc7f834de14 | refs/heads/main | 2023-04-02T09:20:28.217417 | 2021-04-07T11:08:13 | 2021-04-07T11:08:13 | 345,648,334 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,393 | r | intro_stan_R_script.R | ##############################
## 8 schools example
##############################
library(rstan)
library(bayesplot)
schools_dat <- list(J = 8,
y = c(28, 8, -3, 7, -1, 1, 18, 12),
sigma = c(15, 10, 16, 11, 9, 11, 10, 18))
fit_8schools <- stan(file = '8schools.stan', data = ... |
68c2b8061ba446288154b054cbf15561fca483de | 3a4ddc27bceb2a5e17fb17d8089e05b8c8452eb3 | /cleanData_miningTools/million_fake_data.R | 03b441f13485d4aa93e638a7e952d7d104f2a246 | [] | no_license | Wynnlin329/R_EDA_minning | f61e6b05efb66e547a701fa1a84785279d7907e5 | c7522f69c393985cc691a4ef11854adf3e731d57 | refs/heads/master | 2021-02-12T05:28:47.807575 | 2020-03-03T07:20:24 | 2020-03-03T07:20:24 | 244,565,199 | 0 | 0 | null | null | null | null | BIG5 | R | false | false | 1,958 | r | million_fake_data.R | #產生百萬假會員資料
Sys.setlocale(category = "LC_ALL", locale = "cht")
profile <- data.frame(
id = paste("0000000", as.character( seq(from=1, to=1000000, by=1)),sep='' ) ,
age = round(rnorm(1000000,25,3)),
gender = sample(c("男生", "女生"), size = 1000000, replace = TRUE),
group = sample(c("誠品人", "鋼鐵仁","香港人"), size = 100000... |
b4065384131d8c2ffde5d215741663b57ec7154c | b54045d3fb01b4a81f31e94c4731def4d1ee4a9e | /R/methods.r | a9b8260b0f8d6dd684b6dbaa8bfd3e300e12c6d7 | [] | no_license | orlinresearch/sdcMicro | f7db0fd5286a6310477039aecac50fb0acd01aa1 | 54d923bc86250cf0a75a8e95a0384bee96973a51 | refs/heads/master | 2021-01-17T18:20:17.180537 | 2014-07-18T12:55:35 | 2014-07-18T12:55:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,107 | r | methods.r | #' @rdname get.sdcMicroObj-method
#'
#' @note internal function
#' @author Bernhard Meindl \email{bernhard.meindl@@statistik.gv.at}
setGeneric('get.sdcMicroObj', function(object, type) {standardGeneric('get.sdcMicroObj')})
#' modify \code{sdcMicroObj}-objects depending on argument \code{type}
#'
#' @param object an o... |
64385d21b2f2a148aacbb82d8f599a8ce4b74a01 | 6b2d1646110a34df8d372aae7bbe56992f6e7485 | /README.rd | 2d359519283b7def025fd5ae1d7881b1fdb9d89c | [] | no_license | bearachute/bearachute.github.com | 5adbe36c0147b792b831243e5dc90d5350dc7ee6 | 279135512f3ea31b8455754159db6f093b1c48b0 | refs/heads/master | 2021-01-21T04:39:08.824736 | 2016-06-10T09:17:28 | 2016-06-10T09:17:28 | 607,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16 | rd | README.rd | # page of mine
|
0b726475611f2d8676576ba2a235992cc39e285c | 8438d199bb0b209533b3d444ec26414e410bb0ca | /measurement_stability/plots/plot-parallel-ratios.r | 8f631712e61342a204f33a7e41c8fc1eae3896de | [] | no_license | janbuchar/MT | 5144c454ff9d14799fe17851d16eb45ae39bffaa | 4a6bcb8d47aef30c527aa1172a09541fa8ce2c34 | refs/heads/master | 2023-08-04T08:21:21.482313 | 2020-05-28T08:16:57 | 2020-05-28T08:16:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 365 | r | plot-parallel-ratios.r | library("ggplot2")
library("tikzDevice")
source("../../plot_helpers/helpers.r")
ratios <- read.csv(filename.from.args())
tikz("parallel-run-ratios.tex", width=5.5, height=4)
ggplot(ratios, aes(x=parallel_ratio)) +
labs(x="Ratio of time spent with all processes running and the total time", y="Number of groups") +
... |
9b8ce4f2b73d72077048d81b1674fc0131e0520b | 38396a5ba18094b2e7e5bb53206d943f726f7bb7 | /R/coursera/jhu-data-science/02_r-programming/lessons/week2/add2.R | 96c92cc172f06a2313c5fd720ae62176e5904ac4 | [] | no_license | frauca/samples | a048d051304656757c33a4b5bc23830c52cd4db0 | cd5ba431fe343fae2f47aa7c3b956d60eddf8a78 | refs/heads/master | 2023-08-16T04:31:42.747222 | 2023-08-01T14:46:51 | 2023-08-01T14:46:51 | 3,519,641 | 0 | 0 | null | 2022-12-15T23:23:16 | 2012-02-22T22:07:03 | Python | UTF-8 | R | false | false | 265 | r | add2.R | add2<- function(x,y){
x+y
}
avobe10<- function(x){
avobe(x,10)
}
avobe <- function(x,y){
x[x>y]
}
columnsmean <-function(x,removeNA = TRUE){
nc <- ncol(x)
means <- numeric(nc)
for(i in 1:nc){
means[i] <- mean(x[,i],na.rm = removeNA)
}
means
} |
7023643ced00e00aa7dcd92c2655c54c3b5500da | 288b4b6998906714ab368e0ee14c70a4059be4ab | /man/dat.nakagawa2015.Rd | 2f2ae858c2327566f412989eba0721ae77150634 | [] | no_license | qsh7950/metadat | f6243a382c8c0e3f4c9a0e2cd657edb0ffa3e018 | 5c70fa63d7acfa1f315534fb292950513cb2281e | refs/heads/master | 2021-02-26T06:42:18.937872 | 2019-10-21T21:58:33 | 2019-10-21T21:58:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,193 | rd | dat.nakagawa2015.Rd | \name{dat.nakagawa2015}
\docType{data}
\alias{dat.nakagawa2015}
\alias{dat.nakagawa2015.1}
\alias{dat.nakagawa2015.2}
\alias{dat.nakagawa2015.3}
\alias{dat.nakagawa2015.phy1}
\alias{dat.nakagawa2015.phy2}
\title{Meta-analysis of variance: ecological and evolutionary applications and beyond.}
\description{Data from Naka... |
eabdd4dcdc2b4492d469eaf702a9f5481f261c71 | 5f894b67fff7b4833f5a1ff42ee64d0f43015f5a | /R/utils.R | 4d525d2b44f0d0ae2461ae98c7eed2ab7ac03d43 | [
"MIT"
] | permissive | crisprVerse/crisprScore | a56b885fae25da7656aa7af5a742e848caea4012 | 0bef9c4fce4e9d505bcbd847054dad1f02a0bc4f | refs/heads/master | 2023-04-13T12:59:40.867354 | 2023-04-10T16:45:08 | 2023-04-10T16:45:08 | 523,799,905 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 402 | r | utils.R | .checkSequenceInputs <- function(sequences,
return.output=TRUE
){
stopifnot(is.character(sequences))
len <- unique(nchar(sequences))
if (length(len)!=1){
stop("Provided sequences for must all have identical length.")
}
if (return.output){
return(seque... |
efb3efe632711d4ac0deaabe4076581312d17842 | 79328b5dd4560365d89fdffc5f0d8a402ff2b6c6 | /pkg/ternaryplot/man/ternary2xy-methods.Rd | f4aa9a3af1992d2a8fe7ecaa4c248c545ca99fe9 | [] | no_license | julienmoeys/ternaryplot | f1f97e2e409e164f8390acdaa677851a75ba1f2f | 50c9901ce03b8e857eb1990564c43e0e5e58e36e | refs/heads/master | 2021-01-21T04:47:19.042587 | 2016-06-17T16:52:13 | 2016-06-17T16:52:13 | 49,194,207 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 975 | rd | ternary2xy-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aa06-ternary2xy.R
\name{ternary2xy}
\alias{ternary2xy}
\alias{ternary2xy.character}
\alias{ternary2xy.ternarySystem}
\title{Converts ternary point-data into x-y coordinates}
\usage{
ternary2xy(s, ...)
\method{ternary2xy}{character}(s, ...)
... |
750f4c731bf4464dc83d194c39cc0a3689d8cfd7 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/bpcs/man/create_bpc_object.Rd | 61c2c9eae7e6db124ff919401bdbb80525d65bfa | [
"MIT"
] | permissive | 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 | true | 1,586 | rd | create_bpc_object.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bpc_object.R
\name{create_bpc_object}
\alias{create_bpc_object}
\title{Defines the class bpc and creates the bpc object.
To create we need to receive some defined parameters (the arguments from the bpc function), a lookup table and a the stan... |
885361f3a47494499676bf1c70f7abb449b85741 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /borrowr/inst/testfiles/matchesToCor/libFuzzer_matchesToCor/matchesToCor_valgrind_files/1609958706-test.R | c69bc565ad5a06cf5e00c8a67c440aba4b798c2d | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 355 | r | 1609958706-test.R | testlist <- list(x = structure(c(NaN, 2.54645670285165e+117, 4.42003930043543e-65, 1.16403863694468e+224, 5.77096118049826e+228, 9.88186273287392e-273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 9L)))
result <- do.call(borrowr::... |
4702e88d5ad6eb000d655061fcbf563bcc45a5eb | 0db41c671fbfe9c5ed923af94af7e5ecb521caeb | /tests/testthat/test-greedy_chi_sq_periodogram.R | 15a557fc8434a13eb878f02e67466913a61ff506 | [] | no_license | hugheylab/zeitgebr | f5512c339d26879b8da37ad1cd26e66ba77b0e16 | 3a8706638e76cef76d54970f6ef2fb72f9f46acc | refs/heads/master | 2022-12-16T18:08:28.743363 | 2020-09-01T19:28:44 | 2020-09-01T19:28:44 | 290,217,510 | 0 | 0 | null | 2020-08-25T13:06:26 | 2020-08-25T13:06:25 | null | UTF-8 | R | false | false | 233 | r | test-greedy_chi_sq_periodogram.R | context("greedy_chi_sq")
test_that("greedy-chi-sq periodogram works", {
data(dams_sample)
per <- dams_sample[,
greedy_chi_sq_periodogram(activity, sampling_rate = 1/60),
by = id]
})
|
2212e8248c313a57d0e4bf0b62a569f7872451a3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gcite/examples/gcite_citation_page.Rd.R | eff7cb8ca3b17598a8646f399f2a168722f66abb | [] | 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 | 832 | r | gcite_citation_page.Rd.R | library(gcite)
### Name: gcite_citation_page
### Title: Parse Google Citation Index
### Aliases: gcite_citation_page gcite_citation_page.xml_nodeset
### gcite_citation_page.xml_document gcite_citation_page.character
### gcite_citation_page.list gcite_citation_page.default
### ** Examples
if (!is_travis()) {
lib... |
6975837d51bcc3ddc6eb2fe2be01dfa7ae9c0479 | af3af1422679147816ef4fbb98992a86578be60a | /R/matchMulti-package.R | 568d7ac49c3db279b78cbf37489f6f0fa65695dd | [] | no_license | cran/matchMulti | d17dcb84d8ab549a8b6f2d877a02aa70d17ff6db | b3112005388feb375ab7f99116c5b06b7a0a8e29 | refs/heads/master | 2023-05-25T08:27:42.599051 | 2023-05-11T06:20:02 | 2023-05-11T06:20:02 | 54,420,939 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,601 | r | matchMulti-package.R |
#' 1980 and 1982 High School and Beyond Data
#'
#' These data are a subset of the data used in Raudenbush and Bryk (1999) for
#' multilevel modeling.
#'
#'
#' @name catholic_schools
#' @docType data
#' @format A \code{data.frame} with 1595 observations on the following
#' variables.
#'
#' school: unique school le... |
138a780479e71a19d14872e78838fb4a0bf51162 | 3d4fd9491344654eb6055930c6f407948c892fd4 | /man/FIFO.Rd | 815afa1ad7d9d63d6f11b866090efb4b09b2b6a9 | [] | no_license | vcerqueira/tsensembler | bb8542e81177e1c1da84ae53070840b1ade3d018 | b0f1c786440ed3d09160931d970df3eeab09eb5e | refs/heads/master | 2021-07-18T21:26:22.651558 | 2020-10-24T11:46:06 | 2020-10-24T11:46:06 | 82,293,256 | 34 | 14 | null | null | null | null | UTF-8 | R | false | true | 553 | rd | FIFO.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{FIFO}
\alias{FIFO}
\title{First-In First Out}
\usage{
FIFO(x, inval)
}
\arguments{
\item{x}{a vector;}
\item{inval}{new input value for vector x of the same
mode as \code{vector}}
}
\value{
A new vector \code{x}
}
\description{... |
75f510003175811a09cb9f95060a0c6e69e0dd7c | 285eaa3841ae93ed1636089c86002cd0f60e494a | /ML_TOOL/ui.R | da5d61a8ba4debf5a51f1529ac157d496a6ed8d2 | [] | no_license | Pratapdangeti/ML_Tool | 527901980a07ca506450fd5451399efcc35e8269 | e5b679cd8c7bd3b4083b6ea4cdd37ff4327c9864 | refs/heads/main | 2023-01-21T01:13:06.387505 | 2020-12-07T06:56:00 | 2020-12-07T06:56:00 | 319,230,213 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,822 | r | ui.R |
library(shiny)
library(shinydashboard)
library(DT)
library(plotly)
library(plyr)
library(rpart)
library(CORElearn)
library(randomForest)
library(gbm)
library(e1071)
library(pROC)
library(tree)
library(caret)
ui<- dashboardPage(
dashboardHeader(title = h4("Machine Learning Tool"),titleWidth = 300),
dashbo... |
4c5896a1139e17b128ac59cc6478b4fb5a0517de | 2bb5a15f6c9764756966d9db9c7742b5df003510 | /man/plotGeneModel.Rd | 1b1d1f2f4b4ea1cd23cf1606a9c1b0c12481f618 | [] | no_license | hsinyenwu/RiboPlotR | 2fe03501b6ab76c6d9b5a69cfa6d2a01e82c1976 | b03f1f6976f94a0a3a7cfc1c73efa431214e7ccb | refs/heads/master | 2023-08-04T04:40:31.707226 | 2020-09-15T15:34:41 | 2020-09-15T15:34:41 | 193,273,002 | 12 | 0 | null | null | null | null | UTF-8 | R | false | true | 575 | rd | plotGeneModel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/code.R
\name{plotGeneModel}
\alias{plotGeneModel}
\title{plot plotGeneModel}
\usage{
plotGeneModel(gene, uORF, Extend = Extend, p.isoform = isoform)
}
\arguments{
\item{gene}{gene ID}
\item{uORF}{uORF ID}
\item{Extend}{number of nucleotides... |
52227087452be17ab0e4235d669407b0b224d962 | 840c55a1b087be2e7d7d0750bcb66ec4415c686f | /Morgan/Restructure olddata.R | cf293fce853812bc133609d874c8efe69f786d66 | [] | no_license | DecisionNeurosciencePsychopathology/redcap_in_r | 70cdfe116d16774444ec0262e5619f11d5c8de2a | b1668e85454eefb113e29e57d172a2865ce47e53 | refs/heads/master | 2021-05-15T04:04:47.938822 | 2021-04-09T17:21:01 | 2021-04-09T17:21:01 | 119,751,789 | 3 | 4 | null | 2020-08-14T16:04:48 | 2018-01-31T22:29:27 | R | UTF-8 | R | false | false | 7,307 | r | Restructure olddata.R | library(tidyverse)
library(chron)
#Where to find data
rootdir="C:/Users/buerkem/Box/skinner/projects_analyses/suicide_trajectories/data/soloff_csv_new/"
#Jiazhou's functions
startup()
md<-bsrc.checkdatabase2(ptcs$masterdemo, batch_size=200L)
idmap<-md$data[c("registration_redcapid","registration_wpicid","regist... |
057ad133d8f3d745332ecb6d60188db782149b56 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gmailr/examples/id.Rd.R | 6ee97a72135339fa4f73c773c9fc1ef7a4782f29 | [] | 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 | 192 | r | id.Rd.R | library(gmailr)
### Name: id
### Title: Get the id of a gmailr object
### Aliases: id id.gmail_messages
### ** Examples
## Not run:
##D id(my_message)
##D id(my_draft)
## End(Not run)
|
61d9e1b60b696ebd95eff73ec8e0fd34adb302fb | 4ceaa85dee194e818f41bb4da47fe41fd7dbfcf9 | /R/sim_Nmix.R | c52716135580fbc1ed89746b6ed20b7f56a99e93 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | RushingLab/WILD6900 | 6ee242e491817f065f6374e908aced3bfb0ac3dc | 6543c0c4e4108becf65f6577b8d4b862afdadf49 | refs/heads/master | 2021-06-12T18:45:29.365473 | 2021-03-02T20:13:28 | 2021-03-02T20:13:28 | 156,604,120 | 13 | 3 | NOASSERTION | 2021-01-05T19:35:21 | 2018-11-07T20:27:52 | HTML | UTF-8 | R | false | false | 1,818 | r | sim_Nmix.R | #' sim_Nmix
#'
#' Simulate data for the N-mixture model with site-level covariats on lambda and occasion-level covariates on p
#' @param J: number of sites at which counts were made
#' @param K: number of times that counts were made at each site
#' @param alpha: vector containing the intercept and slopes of log-linear... |
08d743bf1ba9ace7eb66414b147f0069d9cc67f6 | e51a6d9a10841b41b8f90cbc7eb4cc8d10de3a74 | /NFL Officials.R | 781c6c4dce84de4e61e5d038ae60a370bd487c74 | [] | no_license | dbrait/NFL | 7a93309bece30f3fb3f3f9958c9957e636a729ee | 7a6bff67636ddc2e85960c7ac32189d958dd532c | refs/heads/master | 2020-12-13T10:35:02.141547 | 2016-08-11T05:35:52 | 2016-08-11T05:35:52 | 65,441,374 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,761 | r | NFL Officials.R | library(rvest)
library(stringr)
library(readr)
library(ggplot2)
library(dplyr)
library(tidyr)
library(broom)
library(lubridate)
base.url <- "http://www.pro-football-reference.com/"
officials.url <- "http://www.pro-football-reference.com/officials"
officials_urls <- read_html(officials.url) %>%
html_nodes("table a")... |
3a8ddc1334e2042b457af42fd4c12b4accf67a0c | 28b46cf9ea408c9ef4eea6a90b18322527dea4cb | /R/visualization.R | 165ccf2232646fe04947ef5f53a9da99e6cc1b33 | [
"MIT"
] | permissive | jenzopr/singlecellutils | 743a532a945aff4b9be661050314eaeebf1f2dcc | 316fe9f3b528de2b90641f86c5fc40bc5b7d23b2 | refs/heads/master | 2020-04-15T17:54:37.742798 | 2019-06-07T12:42:38 | 2019-06-07T12:42:38 | 164,892,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,125 | r | visualization.R | #' Plots a silhouette plot
#'
#' @param object A SinglecellExperiment object.
#' @param use_dimred A character string indicating which dimension reduction to use.
#' @param clusters A character string indicating which annotation to use as clusters.
#' @param na.rm Remove NA values from clusters.
#'
#' @return A ggplot ... |
a906abc7597458897f3e893148ed57a568b9ba54 | 1b16393b0b259bf9a0ca40d2f99599cf631f80ed | /app.R | c6a42e6bcc09c9e3bb59bc2df2e3d086063184a8 | [] | no_license | ClorisYue/dotplot | 957e6203d293eaa5c7aa7083e9f56336c953ae5f | 764485bc9fcc4f59203b1d5c5c845d7711437d1f | refs/heads/master | 2020-03-10T01:38:44.307945 | 2018-04-11T15:44:30 | 2018-04-11T15:44:30 | 129,115,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,463 | r | app.R | #
# play with dot plot
# Yue Wang
# April,2018
library(shiny)
library(ggplot2)
library(dplyr)
ui <- fluidPage(
titlePanel("Play with dot plot"),
tags$h4("Dotplot 1", class = "subtitle"),
fluidRow(
column(4,
verticalLayout(
plotOutput(outputId = "dotPlot11", width = ... |
00a8e6956a521eb5653edf38e8a210371ba875bf | c414a3d6d466ca68f9076d6cbe125e485485fea8 | /CIPinnipedAnalysis/man/get_attendance.Rd | f792338cfb588c7d1126196fa0aaf502af52bb1e | [] | no_license | jlaake/CIPinnipedAnalysis | 1b35cafa3865a8cacfbc1c68fe9bf1ce21debc72 | 0c0d8f28a45253e7227ebc902f06819a0ecdd437 | refs/heads/master | 2021-01-17T09:26:37.164597 | 2019-04-12T02:28:11 | 2019-04-12T02:28:11 | 2,009,438 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,217 | rd | get_attendance.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/attendance.R
\name{get_attendance}
\alias{get_attendance}
\title{Create daily attendance encounter history for female sea lions}
\usage{
get_attendance(resights, year = 2006, firstday = 20, lastday = 25,
areas = c("OCV", "EACS", "LNC... |
9da8e3cc21e10500179cc34b4470ca1cbac3e730 | 21ecc323387b8b12e996bc40f0a1e5ff69f97259 | /scripts/FoodProvisionEfficient.R | fea1cf2102c1f4e2059268cb303a80c0f98475dd | [] | no_license | DanOvando/FoodProvision2019-reply | a3950c8f08458cc742bf1fa4b267548576794b7c | 35d01932c93151533fc89bff02d0eb91f4202f42 | refs/heads/master | 2023-03-20T00:29:05.128872 | 2021-03-26T21:12:13 | 2021-03-26T21:12:13 | 308,357,107 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 129,579 | r | FoodProvisionEfficient.R | #Food provision code for the Nat Geo project
#Last checked: 5 May 2020
#Author: Reniel Cabral
#Extra notes:
#this is the equation I used for the derivative of delta h wrt R for assumption #2
#(1-(1-E)^(1/(1-x)))*((m*k*(1-x))/((1-(1-E)^(1/(1-x)))*x+m))*(1- (((1-(1-E)^(1/(1-x)))*(1-x)*m)/((((1-(1-E)^(1/(1-x)))*x)+m)*r))... |
3e280548ba3f2143078149b8a9e400f63a6f3f1d | 24db90382c28eba1b1e47754dd6d6cd92d60a566 | /01_TimetoHF.R | 915aa1c3da80cccfeceb25b4b82dcff52d648782 | [] | no_license | shk313/Madagascar | 939613f00c0266d7562d867c9da748180a753885 | 5fffe4e5de29544885a2cd3946df84ee28912d11 | refs/heads/master | 2021-06-24T02:51:23.318117 | 2020-11-18T07:15:58 | 2020-11-18T07:15:58 | 144,282,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,890 | r | 01_TimetoHF.R | ######################################################
####### Time to Health Facilities in Madagascar
####### Using Weiss et al Friction surface model
####################################################
###Time to each HF in madagascar ###
# clear workspace
rm(list = ls())
## Required Packages
require(gdistance)
... |
1433e6c46da1f6d99329ccfa4768bca9aa548356 | 943b81fb66e492d5e59632399d5194237f241b6c | /R/randomForest-internals.R | 74a6ed648d49a3f0bdb895f64e231507c14e9ec1 | [] | no_license | jasenfinch/metabolyseR | d95c750ddeae7b807431bf35ee086a31ac6c25db | 2f1312d3773b7595f039b1e853544cc90d3ccf66 | refs/heads/master | 2023-08-31T11:49:25.358681 | 2023-08-24T09:42:28 | 2023-08-24T09:42:28 | 88,983,134 | 5 | 0 | null | 2023-09-12T15:01:49 | 2017-04-21T12:48:23 | R | UTF-8 | R | false | false | 3,115 | r | randomForest-internals.R |
performRF <- function(x,cls,rf,type,returnModel){
params <- formals(randomForest::randomForest)
params$x <- x
params <- c(params,rf)
if (!is.null(cls)) params$y <- cls
model <- do.call(randomForest::randomForest,params)
model_results <- list(metrics = performanceMetrics(model,
... |
39589e6b79d2602feb48df694e24b926b704639e | c361f98049dcdbb490ac865f7c6d8a966f09ffe1 | /Tableau and R Projects/statistical analysis.R | ad9cefafe026ca1e8cc448fa9789c46d7d76a48b | [
"Unlicense"
] | permissive | Sinchen-Gundmi/Projects | 108e67bdf0dfdd1ddd9229f691f0b2aeb243bd6b | 99d0b5b57d520ed921d26b896f9178ac39700c8a | refs/heads/master | 2022-09-27T18:16:27.160648 | 2020-05-26T19:18:51 | 2020-05-26T19:18:51 | 258,614,893 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 806 | r | statistical analysis.R | trees
summary(trees)
hist(trees$Girth)
hist(trees$Height)
hist(trees$Volume)
boxplot(trees)
plot(trees$Girth, trees$Height)
x=(lm(Girth~Height,data=trees))
summary(x)
abline(x)
abline(trees$Girth, trees$Height)
plot(trees$Girth, trees$Volume)
plot(trees$Volume, trees$Height)
plot(trees$Girth~trees$Height, x... |
53023d04b41b7f3fd7a53f86a6774e8c12648cd3 | 556dbb845330d9d950238a66d4f15ce65edbcfc6 | /cachematrix.R | 7562e54e005e0c0563ef0a3922d5b6b881ae91ee | [] | no_license | ubik125/ProgrammingAssignment2 | 6d5ab244b04ac8d88521b80a72b853c310ebb27d | df115537c5c2ec70c2dafc5229e0480ef29f852e | refs/heads/master | 2020-12-06T20:03:28.707698 | 2020-01-08T12:14:11 | 2020-01-08T12:14:11 | 232,540,068 | 0 | 0 | null | 2020-01-08T10:40:07 | 2020-01-08T10:40:06 | null | UTF-8 | R | false | false | 1,162 | r | cachematrix.R | ## This script in going to compute the inverse of a given matrix
## but since matrix inversion is computationally intensive there is a
## benefit to caching the inverse of a
## matrix rather than compute it repeatedly.
## Below you will find a couple of functions that are used to create
## a "special" matrix that stor... |
426b405348ec5bdf34be043019a7fc22aeb70931 | 12b22ccaacdf625ab9456181c4c5997478bb85e2 | /R/utils.R | 711d7027982300cdfe82c06a0c252e53eaae840f | [
"MIT"
] | permissive | andyofsmeg/ggTag | 73f3accff9ef3307164b7bdfa11bd895b0ecea91 | 6b15bba62ac4f2a921fbcb86ce0f0b3dc7e8fa84 | refs/heads/master | 2020-06-12T18:43:37.598697 | 2019-07-05T10:44:36 | 2019-07-05T10:44:36 | 75,773,176 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,089 | r | utils.R | #' Add time to plot
#'
#' @param date_format Character. R date format to use for the date.
#'
addDateTime <- function(date_format = "%d%b%Y %H:%M"){
theTime <- Sys.time()
theTime <- toupper(format(theTime, date_format))
theTime
}
#' Count string lines
#'
#' Count string lines based on character ret... |
cd6c64d93ae4e6b4f436d7b5c0257bcf472b1147 | 7999c9b45958805c0bbd80f2c5903e55428d33bc | /code/expired/expr.tsne.plot.R | b23cad36f512d8283f9d1e50c7da1995bf7a6884 | [] | no_license | dreamfishes/CancerToCellLine | bac53cf45a8e7a365a8390d872199e0c41c50f52 | b44285c9f907b54ad64f8330a500b17f0639c081 | refs/heads/main | 2023-06-17T14:29:11.651886 | 2021-07-11T18:56:39 | 2021-07-11T18:56:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,920 | r | expr.tsne.plot.R | load('client-side/output/combine.expression.R.output/combined.expr.matrix.RData')
load('client-side/output/combine.expression.R.output/normalized.combined.expr.matrix.RData')
load('client-side/output/CCLE.breast.cancer.cell.line.meta.R.output/CCLE.breast.cancer.cell.line.meta.RData')
load('client-side/output/correlatio... |
3a4f3352f06b9c1aa144f66057e3c7070b2f7155 | 51e0499ab36fc15bb99c1a3fd3b02874485f0c6a | /test.R | 55457cfdaba73c7cf4c5d0cedf06985837c74ff4 | [] | no_license | Yongxin8888/GIS | 2618a8d393adca7c1d6eb7202832a3fc7ae11a3b | 763e20eabc4788a8ae1a27a21faeb0ccd0aab526 | refs/heads/master | 2020-08-26T17:14:52.699451 | 2019-10-23T15:15:14 | 2019-10-23T15:15:14 | 217,085,254 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10 | r | test.R | x=3+4+5+6
|
4263f5d41e627ffbc26f30b3580e99f07ba7b2af | 1ed761a15da505c2286a0f374c8e81b074e1eb27 | /ref_cls.R | a3dd5beaac81768c1810bde66a86441651eae70f | [] | no_license | Rphillips1995/SRAFunctions2015 | 9f6a77370e4b3e3b4f82e013f015e3a3501da3ba | d1e9d8033793c9979ce52a839a28201ea76cbba4 | refs/heads/master | 2021-01-10T15:32:13.619891 | 2015-07-28T14:17:59 | 2015-07-28T14:17:59 | 36,888,021 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,588 | r | ref_cls.R | #' This function builds a reference dataframe for cell_lines.
#'
#' This function uses the XML package to read the tables that exist on different URLS.
#' To build the reference dataframe of cell lines, we used tables from the Sigma
#' Aldrich table that contained over 900 different cell lines and their correspon... |
957bcd4452338ca9563ebfb3947ea1f26531a002 | 63d50cbf64469abd6d4729ba0266496ced3433cf | /harsha1/character-vector.R | 9109df8cf8322484bc6312d44729ee495952bc2f | [] | no_license | tactlabs/r-samples | a391a9a07022ecd66f29e04d15b3d7abeca7ea7c | a5d7985fe815a87b31e4eeee739bc2b7c600c9dc | refs/heads/master | 2023-07-08T09:00:59.805757 | 2021-07-25T15:16:20 | 2021-07-25T15:16:20 | 381,659,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 190 | r | character-vector.R | # Created on : 29-06-2021
# Course work:
# @author: Harsha Vardhan
# Source:
#Using character vector as index
x <- c("first"=3, "second"=0, "third"=9)
x
x["second"]
x[c("first", "third")] |
64ef563baf5352ddafa4125da4e84aa6aa1b879d | 2ec6726b083ec743e7f221bbb8e2a397c8d6b152 | /ExDataFiles/Project2/plot1.R | 1c5e8904d6f7f86c26755b4f6f926ec0d6791b27 | [] | no_license | salma-rodriguez/DataScienceTraining | bc697a23d21762bf13baf5113b0a53bee8253dc1 | a5297d975380e860c46c73f9230e0e7c9dc3f5cd | refs/heads/master | 2020-12-31T05:10:34.942826 | 2020-04-23T03:38:51 | 2020-04-23T03:38:51 | 58,333,024 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 914 | r | plot1.R | ## This function makes a plot of the total fine particulate matter
## emission by year and aggregated from all sources.
# Assumption: we are pointing to the directory containing
# household_power_consumption.txt
genplot1 <- function() {
data <- readRDS("summarySCC_PM25.rds")
## cumulate val... |
e847f36f3efc0715cffcce5f5d82e87628f4563b | 0e3a15d53df9dca2633f8aa89633a8da7d54c8b4 | /plot2.R | 485bb53c511ddf75ff68f07eb1bf9b0b39cee6de | [] | no_license | LauraVelikonja/ExData_Plotting1 | fa57ac2ca3535558f1e051225b51af1b5b36c501 | e6722d4722999ef48aec0e946cec98939e70e9d3 | refs/heads/master | 2021-01-23T03:16:44.715372 | 2016-08-08T10:45:14 | 2016-08-08T10:45:14 | 65,195,663 | 0 | 0 | null | 2016-08-08T10:33:11 | 2016-08-08T10:33:10 | null | UTF-8 | R | false | false | 961 | r | plot2.R | # Set directory
setwd("...")
# Read in data
library(data.table)
data <- fread("household_power_consumption.txt")
# Replace ? with NA values
data[data=="?"] <- NA
data <- data.frame(data)
# Convert data and time to Data/Time classes
data$Timestamp = strptime(paste(data$Date, data$Time),
... |
2a3cb622546de8abf6832a4b469e3ca29469077a | 9798caa0d5f3a2d21425471af6a091735a962002 | /man/normalizeTumorBoost.Rd | 6b07049e19365df4f6ba51c72a80ed359495a503 | [] | no_license | HenrikBengtsson/aroma.light | a77bb7dbfcaa358ccd55a476671695a4ee41ad8a | 55e6e27a7bb4fec2c70598de30e5b0e3ff711e1f | refs/heads/master | 2023-07-07T12:38:48.144371 | 2023-04-26T19:57:50 | 2023-04-26T19:57:50 | 24,348,041 | 0 | 5 | null | 2017-12-20T00:27:27 | 2014-09-22T22:32:24 | R | UTF-8 | R | false | false | 5,815 | rd | normalizeTumorBoost.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% normalizeTumorBoost.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{normalizeTumor... |
2c3bcc39c18f0d9f60bc5f2ffde9a8b2922eb631 | bfb86d79b0815b04e197d612a7911323891b1aa0 | /man/gx_get_import_directory.Rd | 735e73c3a7538ec9bb329536b73213839d6d9a9b | [
"MIT"
] | permissive | scholtalbers/r-galaxy-connector | 758027adfeddb08e673eb852cf127da7f82c069f | 413d3eb3514ba33ae6ad2c1cd00ad52cab3a05d1 | refs/heads/master | 2021-07-13T01:22:05.381973 | 2021-03-19T11:07:35 | 2021-03-19T11:07:35 | 43,147,160 | 1 | 2 | null | null | null | null | UTF-8 | R | false | true | 398 | rd | gx_get_import_directory.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GalaxyConnector.R
\name{gx_get_import_directory}
\alias{gx_get_import_directory}
\title{gx_get_import_directory}
\usage{
gx_get_import_directory(create = FALSE)
}
\arguments{
\item{create, }{if TRUE, create import directory if it does not exi... |
ebeeb87d00c80c01b8895501c1605603175037c7 | 4ce21e0843601675734a877bf0885e5cb4c5dca0 | /Code/NHANES_continuous/create_race_sex_dummies.R | d253e88ea31fefd0a14b2cffa87a1a5756b1be4b | [] | no_license | bryansashakim/Framingham-Risk-Scores | 9b9b03ffb4791ffee32eaaeedc7cf3ef7b147d9a | 50e7a9ed82762a8a4ca4dcbd0c8bc3a1b396c8db | refs/heads/master | 2023-02-28T15:12:07.134012 | 2021-02-02T21:26:44 | 2021-02-02T21:26:44 | 296,344,224 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,834 | r | create_race_sex_dummies.R | nhanes1999_2000 = nhanes1999_2000 %>% mutate(MW = ifelse(race == 1 & sex == 1, 1, 0))
nhanes1999_2000 = nhanes1999_2000 %>% mutate(FW = ifelse(race == 1 & sex == 2, 1, 0))
nhanes1999_2000 = nhanes1999_2000 %>% mutate(MB = ifelse(race == 2 & sex == 1, 1, 0))
nhanes1999_2000 = nhanes1999_2000 %>% mutate(FB = ifelse(race ... |
52e2550205d8d187025777c4052373f92d2cadc9 | ede4e46674393f223e70a4b558b70d2eb8d765d1 | /R/Experiment/Durations/in/inComplex.R | 44e0578c23c39dfd210db4087e8678f289d81fe1 | [] | no_license | SoniaBenHedia/HHU_scripts | a159cba13fd13105d3c986739a0b577b825e356e | 34b2bc9dd8c523894c1110a8c4c1be18fed6c889 | refs/heads/master | 2022-04-11T11:04:55.779158 | 2020-03-02T20:53:19 | 2020-03-02T20:53:19 | 242,042,851 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 147,524 | r | inComplex.R | #Loading libraries
#library(ascii)
library(xtable)
library(languageR)
library(lme4)
library (MASS)
#library (betareg)
#library(plotrix)
library(LMERConvenienceFunctions)
library(nlme)
library(rms)
library(visreg)
#library(ggplot2)
#library(stargazer)
#library(texreg)
library(mlmRev)
library(lmerTest)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.